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?

Did my old job only exist because of fraud?

https://david.newgas.net/did-my-old-job-only-exist-because-of-fraud/
411•advisedwang•8h ago•185 comments

Help I accidentally a wigglegram

https://lmao.center/blog/wiggle-accidents/
105•gregsadetsky•2d ago•18 comments

Apertus – Open Foundation Model for Sovereign AI

https://apertvs.ai/
307•T-A•8h ago•110 comments

Danish privacy activist Lars Andersen raided by police

https://twitter.com/LarsAnders1620/status/2068208864747540516#m
88•I_am_tiberius•1h ago•54 comments

Sakana Fugu

https://sakana.ai/fugu/
87•Finbarr•4h ago•43 comments

There is minimal downside to switching to open models

https://www.marble.onl/posts/cancel_claude.html
148•amarble•9h ago•97 comments

Memory Safe Inline Assembly

https://fil-c.org/inlineasm
73•pizlonator•2d ago•15 comments

Everything is logarithms

https://alexkritchevsky.com/2026/05/25/everything-is-logarithms.html
180•E-Reverance•9h ago•38 comments

Good results fine tuning a local LLM like Qwen 3:0.6B to categorize questions

https://www.teachmecoolstuff.com/viewarticle/fine-tuning-a-local-llm-to-categorize-questions
87•dev-experiments•7h ago•17 comments

How I play video games with spinal muscular atrophy

https://www.openassistivetech.org/how-i-actually-play-video-games-with-sma-the-tools-i-use-every-...
85•dannyobrien•3d ago•13 comments

Identity verification on Claude

https://support.claude.com/en/articles/14328960-identity-verification-on-claude
675•bathory•17h ago•575 comments

1983 Northern Telecom Commodore Phone

https://www.oldtelephoneroom.ca/1983-northern-telecom-commodore-phone/
41•arexxbifs•5h ago•12 comments

JSON-LD explained for personal websites

https://hawksley.dev/blog/json-ld-explained-for-personal-websites/
191•ethanhawksley•11h ago•57 comments

Beyond All Reason (Free Total Annihilation Inspired RTS)

https://www.beyondallreason.info
465•mosiuerbarso•18h ago•273 comments

PowerFox Browser

https://powerfox.jazzzny.me/
108•thisislife2•8h ago•32 comments

Japanese verb conjugation the simple hard way

https://underreacted.leaflet.pub/3mmevu6woys27
66•valzevul•7h ago•86 comments

Minecraft: Java Edition 26.2, the first version with Vulkan 1.2

https://www.minecraft.net/en-us/article/minecraft-java-edition-26-2
115•ObviouslyFlamer•4d ago•33 comments

Show HN: Teach your kids perfect pitch

https://github.com/paytonjjones/bsharp
98•paytonjjones•17h ago•62 comments

Efficient C++ Programming for Modern C++ CPUs, Chapter 4/part 2

https://6it.dev/blog/infographics-operation-costs-in-cpu-clock-cycles-take-2-80736
31•birdculture•2d ago•3 comments

Prefer duplication over the wrong abstraction (2016)

https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction
456•rafaepta•14h ago•309 comments

Rent collections are down in New York

https://www.politico.com/news/2026/06/21/rent-collections-are-down-in-new-york-and-no-ones-sure-w...
65•JumpCrisscross•8h ago•238 comments

The minimum viable unit of saleable software

https://brandur.org/minimum-viable-unit
148•brandur•13h ago•56 comments

Show HN: Recall – Local project memory for Claude Code

https://github.com/raiyanyahya/recall
96•mateenah•9h ago•64 comments

Show HN: Criterion Closet as a website – pull any of 1,247 films off the shelf

https://the-criterion-closet.vercel.app
76•olievans•1d ago•15 comments

Shape Suffixes – Good Coding Style

https://medium.com/@NoamShazeer/shape-suffixes-good-coding-style-f836e72e24fd
4•sebg•3d ago•0 comments

FDA advisors unanimously vote to approve Moderna's mRNA after agency drama

https://arstechnica.com/health/2026/06/fda-advisors-unanimously-vote-to-approve-modernas-mrna-aft...
165•worik•8h ago•87 comments

Architecting a Conversion Engine in Swift

https://blog.minimal.app/conversion-engine/
21•arthurofbabylon•4d ago•4 comments

(How to Write a (Lisp) Interpreter (In Python)) (2010)

https://norvig.com/lispy.html
176•tosh•14h ago•57 comments

An Embedded Linux on a Single Floppy

https://github.com/w84death/floppinux
71•modinfo•3d ago•42 comments

Wildcard (YC W25) is hiring an applied ML engineer

https://www.ycombinator.com/companies/wildcard/jobs/SEmo4di-founding-applied-ml-engineer
1•kaushikmahorker•13h ago