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?

OBS Studio 33

https://github.com/obsproject/obs-studio/releases/tag/33.0.0
113•pentagrama•4h ago•30 comments

Kimi K3.1 Pro and K3.1 Pro Highspeed

https://www.kimi.ai/blog/kimi-k3-1-pro
896•Jowsey•15h ago•529 comments

Twelve years of distributed SQLite

https://philipotoole.com/twelve-years-of-distributed-sqlite/
185•otoolep•7h ago•23 comments

Today, we hacked what we'd set out to hack: the iPhone

https://blog.calif.io/p/iphone
866•pavel_lishin•16h ago•562 comments

How close can pure functional programming get to C?

https://rtfeldman.com/fp-vs-c
105•stmonty•5h ago•10 comments

Physicists trap a single antimatter particle for a month

https://www.scientificamerican.com/article/physicists-trap-a-single-antimatter-particle-for-a-month/
14•mooreds•2d ago•7 comments

Apple Music 404 Not Found

https://music.apple.com/this-url-doesnt-exist
746•frizlab•20h ago•230 comments

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

https://edjefferson.com/localwiki/
1371•sohkamyung•1d ago•233 comments

A practical guide to AI image generation, from diffusion to agents

https://danielball.com/notes/ai_image_generation.html
81•westsmith•3d ago•21 comments

Bringing uv and ty together

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

Dessa: Conversation Model trained only on speech

https://block.xyz/dessa
378•dsr12•13h ago•136 comments

Apple Security Research Device

https://security.apple.com/research-device/
51•neom•6h ago•14 comments

The Best Monopoly Strategy, Tested on 300M Games [video]

https://www.youtube.com/watch?v=S_2eVAaw1UM
22•zdw•3d ago•12 comments

CVE Tracker

https://cve.0xosprey.com/
167•Group_B•11h ago•61 comments

Canadians are running out of time to oppose Bill C-22

https://www.eff.org/deeplinks/2026/10/canadians-are-running-out-time-oppose-dangerous-c-22-survei...
409•hn_acker•1d ago•215 comments

Hacker reverses Samsung TV, finds on-board AI listening OpenAI account suspended

https://www.reddit.com/r/antiai/comments/1xdv3e5/hacker_reverse_engineers_his_samsung_tv_and_finds/
88•testing22321•3h ago•15 comments

How to run a city builder on 16 MHz

https://larstofus.com/2025/11/16/how-to-run-a-city-builder-on-12-5-mhz/
3•rex64•1d ago•0 comments

The Real Kevin Bacon

https://pudding.cool/2026/10/kevin-bacon/
300•xnx•3d ago•77 comments

The Quake Fan who built the map editor everybody uses

https://funcarena.com/articles/the-quake-fan-who-built-the-map-editor-everybody-uses
107•klaussilveira•1d ago•8 comments

One Man's Pan Am 747 Replica [video]

https://www.youtube.com/watch?v=vAFwHGGfPz4
33•Teever•11h ago•2 comments

Around a dozen banking apps began specifically permitting GrapheneOS

https://grapheneos.social/@GrapheneOS/117492375462459244
35•privacyishuman•7h ago•2 comments

How Block Blast harvests its players for ad money

https://ayoships.com/breakdowns/block-blast
44•motionlessveloc•6h ago•10 comments

C vs. C#: racing VLC's Gaussian blur

https://martinfinkel.com/blog/gaussian-blur-c-vs-csharp/
70•martz•3d ago•17 comments

Air Purifiers as White Noise Machines

https://www.jefftk.com/p/air-purifiers-as-white-noise-machines
126•luu•15h ago•114 comments

A Cocktail Party in the Street: An Interview with Alan Stillman (2010)

https://www.ediblegeography.com/a-cocktail-party-in-the-street-an-interview-with-alan-stillman/
5•NaOH•2d ago•0 comments

Show HN: Corgi, a helpful {agent, terminal} multiplexer

https://corgi.computer/
79•eiopa•13h ago•21 comments

The past, present, and future share a show floor at Pinball Expo 2026

https://arstechnica.com/gaming/2026/10/the-past-present-and-future-share-a-show-floor-at-pinball-...
31•civicpivot•2d ago•6 comments

UUIDv7: Timestamps aren’t time-ordered and other oddities

https://alexsci.com/blog/uuidv7-is-weird/
144•ibobev•16h ago•117 comments

Rise of collagen-eating microbes may help explain gaps in the fossil record

https://www.cam.ac.uk/research/news/rise-of-collagen-eating-microbes-may-help-explain-gaps-in-the...
41•gmays•3d ago•1 comments

How is music possible

https://www.henrikkarlsson.xyz/p/music
130•rafaelc•16h ago•79 comments