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?

Shadcn/UI now defaults to Base UI instead of Radix

https://ui.shadcn.com/docs/changelog
48•dabinat•1h ago•4 comments

Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

https://github.com/ammaarreshi/Generals-Mac-iOS-iPad/tree/main
481•asronline•10h ago•189 comments

If you're a button, you have one job

https://unsung.aresluna.org/if-youre-a-button-you-have-one-job/
102•nozzlegear•4h ago•30 comments

Mouse: Precision Editing Tools for AI Coding Agents

https://hic-ai.com
10•handfuloflight•1h ago•11 comments

GPT-5.5 Codex reasoning-token clustering may be leading to degraded performance

https://github.com/openai/codex/issues/30364
220•maille•8h ago•77 comments

Artful Cats: Feline-Inspired Art and Artifacts

https://www.si.edu/spotlight/art-cats
21•jruohonen•3d ago•1 comments

Google Books (or similar) all book scans – $200k bounty (2025)

https://software.annas-archive.gl/AnnaArchivist/annas-archive/-/work_items/234
411•Cider9986•13h ago•223 comments

Jellyfish can heal wounds in minutes. Scientists want their secrets

https://www.mbl.edu/news/jellyfish-can-heal-wounds-minutes-scientists-want-their-secrets
85•hhs•7h ago•16 comments

Atomic Force Microscope high-speed video, stainless etching, bacteria, and more

https://www.youtube.com/watch?v=DyIQkqBXhS0
46•mhb•2d ago•4 comments

Leaking YouTube creators' private videos

https://javoriuski.com/post/youtube
558•javxfps•13h ago•314 comments

The Particle Box – Kinetic Molecular Theory Simulator

https://prepok.com/chemistry/particle-box/
7•vaibhav1312•3d ago•0 comments

My ASN Journey series (2024)

https://www.animmouse.com/p/my-asn-journey/
8•antonalekseev•1h ago•1 comments

Beeg float library, a Rust port of Fabrice Bellard's libbf

https://github.com/lifthrasiir/libbeef
4•serialx•52m ago•0 comments

Return of the Nigerian Prince Redux: Beware Book Club and Book Review Scams (2025)

https://writerbeware.blog/2025/09/19/return-of-the-nigerian-prince-redux-beware-book-club-and-boo...
37•Anon84•5h ago•8 comments

Better Models: Worse Tools

https://lucumr.pocoo.org/2026/7/4/better-models-worse-tools/
141•leemoore•9h ago•45 comments

The Log Is the Agent

https://arxiv.org/abs/2605.21997
16•iacguy•3h ago•0 comments

Meta's Un-Stable Signature

https://hackerfactor.com/blog/index.php?/archives/1098-Metas-Un-Stable-Signature.html
55•ementally•3d ago•2 comments

Record-breaking solo rower Kelsey Pfendler arrives in Hawaii

https://www.hawaiinewsnow.com/2026/07/04/record-breaking-solo-rower-kelsey-pfendler-arrives-hawaii/
28•MaysonL•4h ago•1 comments

Potential session/cache leakage between workspace instances or consumer accounts

https://github.com/anthropics/claude-code/issues/74066
285•chatmasta•16h ago•130 comments

Moby Dick Workout

https://www.hogbaysoftware.com/posts/moby-dick-workout/
11•helloplanets•1h ago•3 comments

Zig: All Package Management Functionality Moved from Compiler to Build System

https://ziglang.org/devlog/2026/#2026-06-30
171•tosh•13h ago•40 comments

"Beyond the limit": Satellites and mirrors in space pose threat to the night sky

https://www.eso.org/public/news/eso2607/
128•Breadmaker•12h ago•212 comments

President pardons 9 for Clean Air violations for 'fixing their car'

https://www.msn.com/en-us/news/crime/trump-pardons-9-for-clean-air-violations-for-fixing-their-ca...
50•OutOfHere•2h ago•20 comments

Drone Autonomy Crash Course

https://www.cggonzalez.com/blog/index.html
32•cgg1•6h ago•3 comments

Efficacy and Safety of Psilocybin in Treatment-Resistant Major Depression

https://jamanetwork.com/journals/jamapsychiatry/fullarticle/2846478
24•cpncrunch•4h ago•9 comments

Binary Coverage the Wrong Way

https://redvice.org/2026/coverage-the-wrong-way/
4•matt_d•1h ago•1 comments

The Preemptive Draw and Preemptive Grip in the Cash-in-Transit Sector

https://gutsgatesguards.wordpress.com/2026/06/23/the-preemptive-draw-and-preemptive-grip-in-the-c...
5•stmw•2h ago•0 comments

What ORMs have taught me: just learn SQL (2014)

https://wozniak.ca/blog/2014/08/03/1/index.html
153•ciconia•4d ago•189 comments

Backon – Python retry (zero deps, circuit breaker, async native)

https://github.com/Llucs/backon
7•Llucs•3h ago•1 comments

Reading Minds with Ultrasound: Less-Invasive Technique for Brain's Intentions (2021)

https://www.caltech.edu/about/news/reading-minds-with-ultrasound-a-less-invasive-technique-to-dec...
3•mgh2•1h ago•0 comments