frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Precomputing Transparency Order in 3D

https://jacobdoescode.com/2025/05/18/precomputing-transparency-order-in-3d
14•jacobp100•1y ago

Comments

bschwindHN•1y ago
> Today, getting the correct order for translucent faces typically involves sorting the faces by their distance to the camera on the CPU, then sending the sorted faces to the GPU. This means every time the camera moves, you need to re-sort the translucent faces.

Don't most games and rendering engines these days use order-independent transparency if they care about these problems?

https://osor.io/OIT

How does the method in the OP article work if you're rendering meshes instead of planar objects? Sure, a mesh is just composed of planar triangles, but that's a _lot_ of triangles to sort, and with an O(n^2) algorithm, it's going to be painful.

user____name•1y ago
A big problem with OIT techniques is that it presumes all see-trough surfaces use alpha blending. In reality other blending modes can be used, most notably additive blending. Additive blending is very useful because it ensures the surface will always be brighter than the background, which is important for things like fire, which look strange when the background is actually brighter than the blended surface, this is quite common.

Another issue is that OIT techniques usually have a breaking point where drawing too many layers will start showing artefacts.

So in order for OIT to work correctly you have to enforce all surfaces to be either opaque or use alpha blending and also avoid drawing too many layers. This is more limiting than sorting based approaches for the average usecase, even if it does end up fixing cases that aren't easily fixed via sorting. Besides that, people working in games and realtime rendering have simply gotten accustomed to designing around alpha blending issues.

bschwindHN•1y ago
What's the granularity of sorting, for most modern games? I'm guessing just sorting by an object or mesh center, instead of sorting each triangle, but are there are methods I'm unaware of?

No Signs of AI Payoff Outside the Tech Sector

https://www.apollo.com/wealth/insights-news/insights/daily-spark/no-signs-of-ai-payoff-outside-th...
267•the-mitr•1h ago•228 comments

Steal My Bitcoin

https://stealmybitcoin.com/
96•cloudlandsdev•56m ago•19 comments

The Goose Programming Language

https://aardappel.github.io/goose/
111•andsoitis•1h ago•46 comments

Listen and read USA nuclear forces Emergency Action Messages, heard on 11175 kHz

https://missileer.watch
57•liotier•1h ago•24 comments

John Carmack on the Goose Language: multiple data stacks and relative references

https://twitter.com/ID_AA_Carmack/status/2113704269274636568
94•bobbydigitales•2h ago•43 comments

Roku developer repositories moved from GitHub to GitLab

https://blog.roku.com/developer/gitlab-move
210•cxr•5h ago•140 comments

Dream-1

https://dreamlabs.ai/research/dream-1/
113•GaggiX•3h ago•58 comments

The St. Helena 5 pence coin shows Jonathan, a roughly 190 year old tortoise

https://de.numista.com/9866
72•schleck8•4h ago•15 comments

Danish Government silently drops plan to dump MS Office

https://www.computerworld.dk/art/297226/digitaliseringsministeriet-har-i-al-stilhed-droppet-stort...
142•lowkeyokay•2h ago•84 comments

FreeDNS

https://freedns.afraid.org/
211•esher•6h ago•56 comments

Neural chip decodes interactions between brain regions

https://actu.epfl.ch/news/neural-chip-decodes-interactions-between-brain-r-2/
72•giuliomagnifico•5h ago•19 comments

I don't understand quantum physics (2018)

https://www.southampton.ac.uk/~doug/quantum_physics/index.html
246•rramadass•11h ago•182 comments

Rails Is a JIT Compiler

https://railsatscale.com/2026-10-21-rails-is-a-jit-compiler/
9•fbuilesv•2d ago•4 comments

OBS Studio 33

https://github.com/obsproject/obs-studio/releases/tag/33.0.0
423•pentagrama•16h ago•151 comments

Node2Shell evolves to HTTP2Shell, blast radius affects many HTTP libs and apps

https://www.aikido.dev/blog/python-packages-vulnerable-node2shell-brotli-cve-2026-111497
246•theanonymousone•13h ago•124 comments

Symbolic Learning in Python and Julia

https://github.com/astroautomata/PySR
37•alex_hirner•4d ago•4 comments

Physicists trap a single antimatter particle for a month

https://www.scientificamerican.com/article/physicists-trap-a-single-antimatter-particle-for-a-month/
256•mooreds•3d ago•77 comments

Zac-OS-9: The classic Platinum desktop, reborn for modern PCs

https://sourceforge.net/projects/zac-os-9/
30•felixding•2d ago•20 comments

SpeedCrunch 1.1

https://www.speedcrunch.org/
8•LordNibbler•2h ago•1 comments

GPU-unlock: FP/BF16 instruction issue rate on Nvidia 3000's cards

https://github.com/Zagitta/gpu-unlock
143•fragebogen•11h ago•54 comments

TornadoVM 7 Enables GPU-Native Workloads from Java Applications

https://www.infoq.com/news/2026/10/tornadovm-7-gpu/
80•pjmlp•2d ago•13 comments

Local Wikipedia: Wikipedia, but only for things a half hour walk from you

https://edjefferson.com/localwiki/
1520•sohkamyung•1d ago•240 comments

Why is AI generated language so hard to understand?

https://arxiv.org/abs/2610.29162
108•canjobear•3h ago•98 comments

Twelve years of distributed SQLite

https://philipotoole.com/twelve-years-of-distributed-sqlite/
348•otoolep•20h ago•56 comments

PHP Foundation 'under-funded' with one full-time staff member, director says

https://www.reuters.com/technology/php-foundation-under-funded-with-one-full-time-staff-member-di...
86•firesteelrain•2h ago•43 comments

Cecilia Berdichevsky, Clementina expert (1961)

https://en.wikipedia.org/wiki/Cecilia_Berdichevsky
26•fedecaccia•3d ago•2 comments

Oai-math-revised: a community hub for revising OpenAI's math write-ups

https://terrytao.wordpress.com/2026/10/24/oai-math-revised-a-community-hub-for-revising-openais-m...
21•tokepi•5h ago•17 comments

Tiling Noise – Procedural GPU Patterns

https://catlikecoding.com/godot/procedural-gpu-patterns/09-tiling-noise/
57•ibobev•3d ago•2 comments

Bringing uv and ty together

https://astral.sh/blog/uv-ty-integration
281•Ravencentric•3d ago•92 comments

How close can pure functional programming get to C?

https://rtfeldman.com/fp-vs-c
241•stmonty•17h ago•79 comments