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

Comments

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

Lessons from 14 years at Google

https://addyosmani.com/blog/21-lessons/
1059•cdrnsf•15h ago•460 comments

Show HN: Terminal UI for AWS

https://github.com/huseyinbabal/taws
261•huseyinbabal•10h ago•121 comments

Logos Language Guide: Compile English to Rust

https://logicaffeine.com/guide
14•tristenharr•3d ago•4 comments

Building a Rust-Style Static Analyzer for C++ with AI

http://mpaxos.com/blog/rusty-cpp.html
8•shuaimu•1h ago•0 comments

Why does a least squares fit appear to have a bias when applied to simple data?

https://stats.stackexchange.com/questions/674129/why-does-a-linear-least-squares-fit-appear-to-ha...
206•azeemba•10h ago•50 comments

During Helene, I just wanted a plain text website

https://sparkbox.com/foundry/helene_and_mobile_web_performance
110•CqtGLRGcukpy•3h ago•69 comments

The unbearable joy of sitting alone in a café

https://candost.blog/the-unbearable-joy-of-sitting-alone-in-a-cafe/
536•mooreds•15h ago•318 comments

The baffling purple honey found only in North Carolina

https://www.bbc.com/travel/article/20250417-the-baffling-purple-honey-found-only-in-north-carolina
51•rmason•4d ago•13 comments

Street Fighter II, the World Warrier (2021)

https://fabiensanglard.net/sf2_warrier/
346•birdculture•16h ago•58 comments

The year of the 3D printed miniature and other lies we tell ourselves

https://matduggan.com/the-year-of-the-3d-printed-miniature-and-other-lies-we-tell-ourselves/
161•sagacity•6d ago•105 comments

I charged $18k for a Static HTML Page (2019)

https://idiallo.com/blog/18000-dollars-static-web-page
229•caminanteblanco•2d ago•54 comments

California residents can now request all data brokers delete personal info

https://consumer.drop.privacy.ca.gov/
173•memalign•2h ago•44 comments

Linear Address Spaces: Unsafe at any speed (2022)

https://queue.acm.org/detail.cfm?id=3534854
140•nithssh•4d ago•102 comments

Show HN: An interactive guide to how browsers work

https://howbrowserswork.com/
210•krasun•15h ago•31 comments

Web development is fun again

https://ma.ttias.be/web-development-is-fun-again/
354•Mojah•15h ago•420 comments

Six Harmless Bugs Lead to Remote Code Execution

https://mehmetince.net/the-story-of-a-perfect-exploit-chain-six-bugs-that-looked-harmless-until-t...
46•ozirus•3d ago•3 comments

Ripple, a puzzle game about 2nd and 3rd order effects

https://ripplegame.app/
107•mooreds•12h ago•25 comments

Claude Code On-the-Go

https://granda.org/en/2026/01/02/claude-code-on-the-go/
275•todsacerdoti•10h ago•182 comments

Eurostar AI vulnerability: When a chatbot goes off the rails

https://www.pentestpartners.com/security-blog/eurostar-ai-vulnerability-when-a-chatbot-goes-off-t...
115•speckx•9h ago•31 comments

What changes when AI memory stops being ephemeral?

https://ryjoxdemo.com/architecture
3•JosephjackJR•5d ago•1 comments

Millennium Challenge: A corrupted military exercise and its legacy (2015)

https://warontherocks.com/2015/11/millennium-challenge-the-real-story-of-a-corrupted-military-exe...
30•lifeisstillgood•6h ago•25 comments

The Showa Hundred Year Problem

https://www.dampfkraft.com/showa-100.html
38•polm23•5d ago•15 comments

Agentic Patterns

https://github.com/nibzard/awesome-agentic-patterns
103•PretzelFisch•11h ago•13 comments

Moiré Explorer

https://play.ertdfgcvb.xyz/#/src/demos/moire_explorer
151•Luc•17h ago•18 comments

ICE Is Using Facial-Recognition Technology to Quickly Arrest People

https://www.wsj.com/politics/policy/ice-facial-recognition-app-mobile-fortify-dfdd00bf
25•KnuthIsGod•1h ago•5 comments

Bison return to Illinois' Kane County after 200 years

https://phys.org/news/2025-12-bison-illinois-kane-county-years.html
142•bikenaga•5d ago•44 comments

Anti-aging injection regrows knee cartilage and prevents arthritis

https://scitechdaily.com/anti-aging-injection-regrows-knee-cartilage-and-prevents-arthritis/
267•nis0s•15h ago•100 comments

The great shift of English prose

https://www.worksinprogress.news/p/english-prose-has-become-much-easier
48•dsubburam•4d ago•37 comments

How to translate a ROM: The mysteries of the game cartridge [video]

https://www.youtube.com/watch?v=XDg73E1n5-g
7•zdw•5d ago•0 comments

Show HN: An LLM-Powered PCB Schematic Checker (Major Update)

https://traceformer.io/
42•wafflesfreak•8h ago•17 comments