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

Using AI to write better code more slowly

https://nolanlawson.com/2026/05/25/using-ai-to-write-better-code-more-slowly/
423•signa11•6h ago•164 comments

The User Is Visibly Frustrated

https://pscanf.com/s/354/
33•croes•1h ago•11 comments

Taking a walk may lead to more creativity than sitting, study finds (2014)

https://www.apa.org/news/press/releases/2014/04/creativity-walk
204•bilsbie•7h ago•72 comments

Earthion: A New Mega Drive-Style Shoot-Em-Up

https://earthiongame.com/
30•MrBuddyCasino•2h ago•6 comments

How Shamir's Secret Sharing Works

https://ente.com/blog/how-shamirs-secret-sharing-works/
146•subract•7h ago•16 comments

Norway's 2 petabytes of Huawei flash storage and LLM training

https://www.blocksandfiles.com/flash/2026/05/22/norways-2-petabytes-of-huawei-flash-storage-and-l...
228•rbanffy•10h ago•121 comments

A successful Japanese trial of a ramjet engine designed for Mach‑5 aircraft

https://www.bgr.com/2178211/japan-hypersonic-engine-ramjet-2-hour-flights-to-us/
117•rmason•10h ago•97 comments

Ferrari Luce

https://www.ferrari.com/en-EN/auto/ferrari-luce
169•jumploops•9h ago•343 comments

Exit IP VPN servers mitigation rollout

https://mullvad.net/en/help/exit-ip-vpn-servers-mitigation-rollout
325•Cider9986•12h ago•61 comments

Motorola phones have started hijacking the Amazon app to insert affiliate codes

https://9to5google.com/2026/05/25/motorola-amazon-app-hijacking-behavior/
62•Cider9986•2h ago•22 comments

Dehydration's role in learning and memory

https://www.cshl.edu/dehydrations-role-in-learning-and-memory/
28•hhs•3d ago•11 comments

Does anybody like React?

https://jsx.lol
133•brazukadev•4h ago•147 comments

California moves to exempt Linux from its age-verification law after backlash

https://www.tomshardware.com/software/linux/california-moves-to-exempt-linux-from-its-upcoming-ag...
797•rbanffy•11h ago•336 comments

Toshifumi Suzuki, founder of Seven-Eleven Japan, has died

https://www.referenceforbusiness.com/biography/S-Z/Suzuki-Toshifumi-1932.html
174•L_Rahman•13h ago•72 comments

Squares in Squares

https://kingbird.myphotos.cc/packing/squares_in_squares.html
58•carlos-menezes•1d ago•4 comments

Performance of Rust Language [pdf]

https://github.com/yugr/rust-slides/
52•tanelpoder•6h ago•24 comments

What we lost when we stopped letting kids leave the front yard

https://stevemagness.substack.com/p/the-cost-of-safetyism
144•obscurette•15h ago•132 comments

Hacker News front page as a site

https://thefrontpage.dev/
198•thatxliner•10h ago•63 comments

What it takes to transpose a matrix

https://gudok.xyz/transpose/
33•tosh•1d ago•0 comments

Show HN: Write your BPF programs in Go, not C

https://github.com/boratanrikulu/gobee
75•boratanrikulu•4d ago•32 comments

Designing for and against the manufactured normalcy field (2012)

https://www.urbanhonking.com/ideasfordozens/2012/06/24/designing-for-and-against-the-manufactured...
17•nvader•5h ago•6 comments

Nobody cracks open a programming book anymore

https://unix.foo/posts/nobody-cracks-open-a-programming-book/
154•zdw•6h ago•176 comments

The Lottery – Shirley Jackson (1948)

https://www.newyorker.com/magazine/1948/06/26/the-lottery
32•jxmorris12•3d ago•15 comments

Jensen–Shannon Divergence

https://en.wikipedia.org/wiki/Jensen%E2%80%93Shannon_divergence
96•teleforce•3d ago•15 comments

CVE-2026-28952: Apple macOS 26.5 Kernel Vuln found by Claude

https://support.apple.com/en-us/127115
120•dragonsenseiguy•6h ago•53 comments

Ask HN: Is anyone working at least 4 hours daily on an Apple Vision Pro?

5•widenrun•25m ago•0 comments

C extensions, portability, and alternative compilers

https://lemon.rip/w/6-c-extensions-compilers/
149•xngbuilds•15h ago•51 comments

Weave (YC W25) is hiring ML, AI, product, & design engineers

https://jobs.ashbyhq.com/workweave
1•adchurch•11h ago

Show HN: OpenBrief – Local-first video downloader/summarizer

https://github.com/tantara/openbrief
44•tantara•8h ago•6 comments

Mathematical Patterns in African American HAIRSTYLEs

https://math.buffalo.edu/mad/special/gilmer-gloria_HAIRSTYLES.html
28•marysminefnuf•1d ago•1 comments