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

Comments

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

Leaving Google has actively improved my life

https://pseudosingleton.com/leaving-google-improved-my-life/
270•speckx•3h ago•144 comments

OpenAI raises $110B on $730B pre-money valuation

https://techcrunch.com/2026/02/27/openai-raises-110b-in-one-of-the-largest-private-funding-rounds...
230•zlatkov•7h ago•354 comments

NASA announces overhaul of Artemis program amid safety concerns, delays

https://www.cbsnews.com/news/nasa-artemis-moon-program-overhaul/
147•voxadam•5h ago•163 comments

A better streams API is possible for JavaScript

https://blog.cloudflare.com/a-better-web-streams-api/
329•nnx•8h ago•110 comments

Dan Simmons, author of Hyperion, has died

https://www.dignitymemorial.com/obituaries/longmont-co/daniel-simmons-12758871
366•throw0101a•4h ago•152 comments

Let's discuss sandbox isolation

https://www.shayon.dev/post/2026/52/lets-discuss-sandbox-isolation/
64•shayonj•3h ago•18 comments

A new California law says all operating systems need to have age verification

https://www.pcgamer.com/software/operating-systems/a-new-california-law-says-all-operating-system...
168•WalterSobchak•7h ago•176 comments

Writing a Guide to SDF Fonts

https://www.redblobgames.com/blog/2026-02-26-writing-a-guide-to-sdf-fonts/
47•chunkles•3h ago•4 comments

Show HN: Claude-File-Recovery, recover files from your ~/.claude sessions

https://github.com/hjtenklooster/claude-file-recovery
16•rikk3rt•5h ago•5 comments

The Robotic Dexterity Deadlock

https://www.origami-robotics.com/blog/dexterity-deadlocks.html
58•shmublu•2h ago•36 comments

Open source calculator firmware DB48X forbids CA/CO use due to age verification

https://github.com/c3d/db48x/commit/7819972b641ac808d46c54d3f5d1df70d706d286
98•iamnothere•6h ago•41 comments

Allocating on the Stack

https://go.dev/blog/allocation-optimizations
98•spacey•5h ago•43 comments

Kyber (YC W23) Is Hiring an Enterprise Account Executive

https://www.ycombinator.com/companies/kyber/jobs/59yPaCs-enterprise-account-executive-ae
1•asontha•3h ago

PCB Tracer

https://pcbtracer.com
17•Luc•3d ago•5 comments

Modeling cycles of grift with evolutionary game theory

https://www.oranlooney.com/post/grifters-skeptics-marks/
69•ibobev•3d ago•28 comments

Building secure, scalable agent sandbox infrastructure

https://browser-use.com/posts/two-ways-to-sandbox-agents
37•gregpr07•7h ago•9 comments

Get free Claude max 20x for open-source maintainers

https://claude.com/contact-sales/claude-for-oss
353•zhisme•13h ago•171 comments

Court finds Fourth Amendment doesn’t support broad search of protesters’ devices

https://www.eff.org/deeplinks/2026/02/victory-tenth-circuit-finds-fourth-amendment-doesnt-support...
420•hn_acker•7h ago•73 comments

A Chinese official’s use of ChatGPT revealed an intimidation operation

https://www.cnn.com/2026/02/25/politics/chatgpt-china-intimidation-operation
72•cwwc•6h ago•50 comments

Reading English from 1000 AD

https://lewiscampbell.tech/blog/260224.html
91•LAC-Tech•3d ago•31 comments

Implementing a Z80 / ZX Spectrum emulator with Claude Code

https://antirez.com/news/160
109•antirez•2d ago•55 comments

"Just a little detail that wouldn't sell anything"

https://unsung.aresluna.org/just-a-little-detail-that-wouldnt-sell-anything/
76•bobbiechen•3d ago•16 comments

Can you reverse engineer our neural network?

https://blog.janestreet.com/can-you-reverse-engineer-our-neural-network/
243•jsomers•2d ago•175 comments

We gave terabytes of CI logs to an LLM

https://www.mendral.com/blog/llms-are-good-at-sql
141•shad42•6h ago•83 comments

Tell HN: MitID, Denmark's digital ID, was down

109•mousepad12•11h ago•152 comments

Show HN: RetroTick – Run classic Windows EXEs in the browser

https://retrotick.com/
160•lqs_•9h ago•46 comments

Trump orders US Government to cut ties with Anthropic

https://abcnews.com/Politics/anthropic-latest-pentagon-contract-bar-ai-autonomous-weapons/story?i...
65•SunshineTheCat•30m ago•19 comments

Statement from Dario Amodei on our discussions with the Department of War

https://www.anthropic.com/news/statement-department-of-war
2818•qwertox•23h ago•1497 comments

Sprites on the Web

https://www.joshwcomeau.com/animation/sprites/
91•vinhnx•3d ago•17 comments

Rob Grant, creator of Red Dwarf, has died

https://www.beyondthejoke.co.uk/content/17193/red-dwarf-rob-grant
160•nephihaha•2h ago•41 comments