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?

How to feed a dictator

https://www.theguardian.com/film/2026/jun/09/how-to-feed-a-dictator-film
35•Michelangelo11•35m ago•1 comments

Think of the children: How to force real ID for all internet traffic (2023)

https://nochan.net/b/Internet-Crap/20230829-Think-Of-The-Children/
105•Bender•5h ago•45 comments

There are no instances in ATProto

https://overreacted.io/there-are-no-instances-in-atproto/
346•danabramov•10h ago•194 comments

Norway imposes near ban on AI in elementary school

https://www.reuters.com/technology/norway-imposes-near-ban-ai-elementary-school-2026-06-19/
445•ilreb•9h ago•291 comments

Aikido Code Audit

https://www.aikido.dev/blog/introducing-code-audit-find-complex-vulnerabilities-hidden-in-your-co...
14•ilreb•1h ago•7 comments

I used sound waves to make espresso. It could cut coffee‑brewing energy use by ¾

https://theconversation.com/i-used-sound-waves-to-make-espresso-it-could-cut-coffee-brewing-energ...
192•zeristor•6d ago•131 comments

Hyundai buys Boston Dynamics

https://startupfortune.com/hyundai-takes-full-control-of-boston-dynamics-as-softbank-exits-for-32...
657•ck2•9h ago•310 comments

Surprising Economics of Load-Balanced Systems

https://brooker.co.za/blog/2020/08/06/erlang.html
41•KraftyOne•5h ago•14 comments

Hey, n00b, we didn't hire you to complete tasks

https://newsletter.kentbeck.com/p/hey-n00b-we-didnt-hire-you-to-complete
63•rrvsh•1h ago•34 comments

A Love Story

https://pudding.cool/2026/06/love-story/
8•surprisetalk•3d ago•0 comments

Bobby Prince, composer for Doom, Wolfenstein 3D, and Duke Nukem 3D, has died

https://www.legacy.com/legacy/robert-bobby-prince-lll
202•pgrote•6h ago•24 comments

Americans express unease over SpaceX's influence on retirement savings

https://www.theguardian.com/science/2026/jun/19/spacex-retirement-savings-elon-musk
154•ValentineC•3h ago•85 comments

Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28

https://www.jvm-weekly.com/p/project-valhalla-explained-how-a
541•philonoist•19h ago•334 comments

A record 242 US cities now have starter homes that cost $1M

https://investors.zillowgroup.com/news-and-events/news/news-details/2026/A-record-242-US-cities-n...
32•littlexsparkee•50m ago•21 comments

How many of the 170k English words do you know?

https://vocabowl-870366514258.us-west1.run.app/
230•abnry•12h ago•353 comments

Egyptian Fractions

https://blog.plover.com/math/egyptian-fractions.html
63•luu•4d ago•1 comments

Digital Printing of Arabic: explaining the problem

https://digitalorientalist.com/2017/08/21/digital-printing-of-arabic-explaining-the-problem/
16•a_t48•3d ago•0 comments

RhinoCollab a plugin for real-time editing for Rhino 3D

https://rhinocollab.com
20•Ashxius•5d ago•3 comments

A Perceptron in Age of Empires II

https://adewynter.github.io/notes/aoe2-circuits
24•EvgeniyZh•1d ago•10 comments

Zenzizenzizenzic

https://en.wikipedia.org/wiki/Zenzizenzizenzic
68•gyosifov•4h ago•20 comments

DuckDB Internals Part 1

https://www.greybeam.ai/blog/duckdb-internals-part-1
433•marklit•3d ago•128 comments

Telescope Ranchers

https://kottke.org/26/06/telescope-ranchers
101•bookofjoe•3d ago•41 comments

Court Records Should Be Free

https://www.eff.org/deeplinks/2026/06/court-records-should-be-free
243•hn_acker•8h ago•42 comments

Google workspace threatening to block Firefox access

https://tales.fromprod.com/2026/169/google-workspace-threatening-to-block-firefox.html
433•birdculture•9h ago•144 comments

A 1976 university experiment spun up the U.S. wind industry

https://spectrum.ieee.org/william-heronemus-wind-energy
71•pseudolus•4d ago•5 comments

Show HN: Metiq: a real time 3D globe for 100 public datasets

https://metiq.space
91•rakeda•3d ago•26 comments

Zen and the Art of Machine Learning Research

https://blog.jxmo.io/p/zen-and-the-art-of-machine-learning
236•jxmorris12•4d ago•80 comments

AURpocalypse now: a look at the recent AUR attacks

https://lwn.net/SubscriberLink/1077619/f7b07c5489fdd43a/
34•jwilk•8h ago•21 comments

Building a robotics research setup that lives next to my desk

https://dfdxlabs.com/research/2026/robotics-setup/
115•mplappert•1d ago•40 comments

Ten years of ClickHouse in open source

https://clickhouse.com/blog/open-source-10
278•saisrirampur•4d ago•70 comments