frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo ago

Comments

bschwindHN•11mo 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•11mo 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•11mo 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?

Google broke reCAPTCHA for de-googled Android users

https://reclaimthenet.org/google-broke-recaptcha-for-de-googled-android-users
408•anonymousiam•4h ago•144 comments

You gave me a u32. I gave you root. (io_uring ZCRX freelist LPE)

https://ze3tar.github.io/post-zcrx.html
100•MrBruh•3h ago•62 comments

AI is breaking two vulnerability cultures

https://www.jefftk.com/p/ai-is-breaking-two-vulnerability-cultures
189•speckx•5h ago•79 comments

AWS data center outage hits trading on Fanduel, Coinbase

https://www.cnbc.com/2026/05/08/aws-outage-data-center-fanduel-coinbase.html
25•bigflern•2h ago•7 comments

Cartoon Network Flash Games

https://www.webdesignmuseum.org/flash-game-exhibitions/cartoon-network-flash-games
256•willmeyers•7h ago•85 comments

Amazon cloud outage at North Virginia data center largely resolved

https://www.reuters.com/business/retail-consumer/amazon-cloud-unit-says-data-center-overheating-n...
76•christhecaribou•20h ago•36 comments

Non-determinism is an issue with patching CVEs

https://flox.dev/blog/achieving-rapid-cve-remediation-in-an-era-of-escalating-vulnerabilities/
26•mathewpregasen•2h ago•8 comments

Looking at the data behind prediction markets

https://asteriskmag.com/issues/14/are-prediction-markets-good-for-anything
39•kqr•1d ago•14 comments

David Attenborough's 100th Birthday

https://www.bbc.com/news/articles/cp3pww9g0p5o
389•defrost•11h ago•74 comments

Wi is Fi: Understanding Wi-Fi 4/5/6/6E/7/8 (802.11 n/AC/ax/be/bn)

https://www.wiisfi.com/
23•homebrewer•2d ago•2 comments

Mux (YC W16) Is Hiring

https://www.mux.com/jobs
1•mmcclure•2h ago

Serving a website on a Raspberry Pi Zero running in RAM

https://btxx.org/posts/memory/
182•xngbuilds•8h ago•74 comments

An Introduction to Meshtastic

https://meshtastic.org/docs/introduction/
361•ColinWright•12h ago•135 comments

Compound drivers of Antarctic sea ice loss and Southern Ocean destratification

https://www.science.org/doi/10.1126/sciadv.aeb0166
14•littlexsparkee•1h ago•0 comments

Meta Shuts Down End-to-End Encryption for Instagram Messaging

https://www.pcmag.com/news/meta-shuts-down-end-to-end-encryption-for-instagram-dms-messaging
68•tcp_handshaker•1h ago•44 comments

All means are fair except solving the problem

https://yosefk.com/blog/all-means-are-fair-except-solving-the-problem.html
25•akkartik•2d ago•26 comments

Teaching Claude Why

https://www.anthropic.com/research/teaching-claude-why
53•pretext•5h ago•10 comments

Rumors of my death are slightly exaggerated

1466•CliffStoll•2d ago•228 comments

Mojo 1.0 Beta

https://mojolang.org/
262•sbt567•20h ago•170 comments

US Government releases first batch of UAP documents and videos

https://www.war.gov/UFO/
209•david-gpu•11h ago•324 comments

Poland is now among the 20 largest economies

https://apnews.com/article/poland-economy-growth-g20-gdp-26fe06e120398410f8d773ba5661e7aa
874•surprisetalk•11h ago•722 comments

PC Engine CPU

https://jsgroth.dev/blog/posts/pc-engine-cpu/
115•ibobev•9h ago•50 comments

Maybe you shouldn't install new software for a bit

https://xeiaso.net/blog/2026/abstain-from-install/
812•psxuaw•1d ago•427 comments

Man finds $1M worth of Yu-Gi-Oh cards in a dumpster

https://www.404media.co/man-finds-1-million-worth-of-yu-gi-oh-cards-in-a-dumpster/
95•danso•2d ago•32 comments

Roadside Attraction

https://theoffingmag.com/essay/roadside-attraction/
16•aways•3h ago•3 comments

Show HN: GETadb.com – every GET request creates a DB

https://www.getadb.com/
22•nezaj•7h ago•29 comments

Ask HN: We just had an actual UUID v4 collision...

280•mittermayr•15h ago•238 comments

Podman rootless containers and the Copy Fail exploit

https://garrido.io/notes/podman-rootless-containers-copy-fail/
111•ggpsv•10h ago•23 comments

My first in-prod corrupted hard drive problem

https://blog.pavementlink.ch/2026/05/07/my-first-corrupted-hard-drive-problem/
33•r1chk1t•4h ago•26 comments

GeoJSON

https://geojson.org/
144•tosh•13h ago•68 comments