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?

Kimi K3.1 Pro and K3.1 Pro Highspeed

https://www.kimi.ai/blog/kimi-k3-1-pro
406•Jowsey•2h ago•221 comments

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

https://blog.calif.io/p/iphone
502•pavel_lishin•3h ago•324 comments

Apple Music 404 Not Found

https://music.apple.com/this-url-doesnt-exist
176•frizlab•7h ago•51 comments

Kimi K3.1 scores 55 on Artificial Analysis, placed on the Pareto line

https://artificialanalysis.ai/models/kimi-k3-1-pro
47•theanonymousone•1h ago•1 comments

UUIDv7 doesn't have the properties you think it does

https://alexsci.com/blog/uuidv7-is-weird/
60•ibobev•2h ago•40 comments

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

https://edjefferson.com/localwiki/
1048•sohkamyung•20h ago•206 comments

The Real Kevin Bacon

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

How Is Music Possible

https://www.henrikkarlsson.xyz/p/music
46•rafaelc•2h ago•31 comments

The Missed Opportunities of Sonic 06

https://isaacmarovitz.com/posts/sonic-06/
43•ibobev•2h ago•3 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...
156•hn_acker•20h ago•58 comments

I turned my TV into a Game Boy Color with a Pokemon town as my home screen

https://twitter.com/robbietilton/status/2111936458923851923
29•scrambled•1h ago•8 comments

Air Purifiers as White Noise Machines

https://www.jefftk.com/p/air-purifiers-as-white-noise-machines
20•luu•2h ago•22 comments

Show HN: Impossible Machines: declaratively program the physical world

https://www.impossiblemachines.xyz
36•bhaprayan•19h ago•7 comments

Time Nuts (2005)

http://leapsecond.com/time-nuts.htm
22•jacquesm•2h ago•16 comments

Docker is weird

https://codeandcake.dev/posts/2026-10-22-docker-is-weird
795•psxuaw•19h ago•328 comments

Total Historian

https://www.theideasletter.org/essay/total-historian/
16•benbreen•3h ago•3 comments

Reforming English Spelling

https://blog.oup.com/2026/10/reforming-english-spelling/
5•jruohonen•3h ago•3 comments

LISP Comes of Age (1980)

https://microship.com/lisp-comes-of-age/
37•so-cal-schemer•1d ago•13 comments

Show HN: Swurf – Swipe through the real web

https://swurf.org/
23•webtjb096•12h ago•7 comments

Animations for System Builders

https://brooker.co.za/blog/2026/10/23/animations.html
12•KraftyOne•2h ago•1 comments

Can we replace a $150k Looker with a bucket of HTML files?

https://david.lequin.dev/blog/bi-software-is-dead/
54•skadamat•2h ago•34 comments

Ask HN: If the models are so good, why doesn't OpenAI just start 100 companies?

500•ex-aws-dude•22h ago•549 comments

Gemma-4-26B-A4B with 39-69% less thinking at same accuracy

https://bottlecapai.com/post/thinkingcap-gemma-4-26b/
65•armcat•4h ago•8 comments

Job loss and cortisone mania

https://tilschuenemann.de/job-loss-cortisone-mania
141•speckx•9h ago•74 comments

The foolishness of "natural language programming" (1978)

https://www.cs.utexas.edu/~EWD/transcriptions/EWD06xx/EWD667.html
338•xiaoyu2006•18h ago•230 comments

Show HN: OnKey – I'm a bad singer, so I built an app to show where I'm off-key

https://github.com/dsmurrell/onkey
181•dsmurrell•1d ago•77 comments

Show HN: Searching for optimal strategies in a puzzle game with chance (Drop7)

https://drop7.dev
8•primitivesuave•2h ago•0 comments

We have traits at home

https://www.axelmagn.com/blog/202610-zig-traits/
34•Ygg2•20h ago•9 comments

The alien space of science: Coherent but cognitively unavailable directions

https://arxiv.org/abs/2603.01092
186•martincsweiss•1d ago•72 comments

How does Fable 5.1 hide messages in images?

https://www.lesswrong.com/posts/WHEQps5PK8LrrcTAb/how-does-fable-5-1-hide-messages-in-images
185•gmays•21h ago•64 comments