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

Comments

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

Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

https://github.com/ChartGPU/ChartGPU
470•huntergemmer•9h ago•142 comments

Claude's new constitution

https://www.anthropic.com/news/claude-new-constitution
260•meetpateltech•8h ago•235 comments

Golfing APL/K in 90 Lines of Python

https://aljamal.substack.com/p/golfing-aplk-in-90-lines-of-python
38•aburjg•5d ago•7 comments

Skip is now free and open source

https://skip.dev/blog/skip-is-free/
249•dayanruben•8h ago•93 comments

Show HN: RatatuiRuby wraps Rust Ratatui as a RubyGem – TUIs with the joy of Ruby

https://www.ratatui-ruby.dev/
33•Kerrick•4d ago•4 comments

Take potentially dangerous PDFs, and convert them to safe PDFs

https://github.com/freedomofpress/dangerzone
10•dp-hackernews•1h ago•2 comments

Letting Claude play text adventures

https://borretti.me/article/letting-claude-play-text-adventures
64•varjag•5d ago•23 comments

Challenges in join optimization

https://www.starrocks.io/blog/inside-starrocks-why-joins-are-faster-than-youd-expect
36•HermitX•7h ago•8 comments

The WebRacket language is a subset of Racket that compiles to WebAssembly

https://github.com/soegaard/webracket
82•mfru•4d ago•19 comments

Show HN: Rails UI

https://railsui.com/
93•justalever•5h ago•62 comments

Jerry (YC S17) Is Hiring

https://www.ycombinator.com/companies/jerry-inc/jobs/QaoK3rw-software-engineer-core-automation-ma...
1•linaz•2h ago

Mystery of the Head Activator

https://www.asimov.press/p/head-activator
11•mailyk•3d ago•0 comments

Three types of LLM workloads and how to serve them

https://modal.com/llm-almanac/workloads
26•charles_irl•7h ago•1 comments

Setting Up a Cluster of Tiny PCs for Parallel Computing

https://www.kenkoonwong.com/blog/parallel-computing/
23•speckx•4h ago•9 comments

Waiting for dawn in search: Search index, Google rulings and impact on Kagi

https://blog.kagi.com/waiting-dawn-search
199•josephwegner•6h ago•130 comments

TrustTunnel: AdGuard VPN protocol goes open-source

https://adguard-vpn.com/en/blog/adguard-vpn-protocol-goes-open-source-meet-trusttunnel.html
43•kumrayu•6h ago•10 comments

An explanation of cheating in Doom2 Deathmatch (1999)

https://www.doom2.net/doom2/cheating.html
14•Lammy•4d ago•1 comments

Show HN: TerabyteDeals – Compare storage prices by $/TB

https://terabytedeals.com
54•vektor888•2h ago•44 comments

SIMD programming in pure Rust

https://kerkour.com/introduction-rust-simd
36•randomint64•2d ago•14 comments

Stevey's Birthday Blog

https://steve-yegge.medium.com/steveys-birthday-blog-34f437139cb5
9•throwawayHMM19•1d ago•2 comments

Scientists find a way to regrow cartilage in mice and human tissue samples

https://www.sciencedaily.com/releases/2026/01/260120000333.htm
238•saikatsg•6h ago•65 comments

Can you slim macOS down?

https://eclecticlight.co/2026/01/21/can-you-slim-macos-down/
156•ingve•16h ago•199 comments

Slouching Towards Bethlehem – Joan Didion (1967)

https://www.saturdayeveningpost.com/2017/06/didion/
48•jxmorris12•6h ago•3 comments

Nested code fences in Markdown

https://susam.net/nested-code-fences.html
179•todsacerdoti•10h ago•60 comments

Tell HN: 2 years building a kids audio app as a solo dev – lessons learned

25•oliverjanssen•10h ago•20 comments

Open source server code for the BitCraft MMORPG

https://github.com/clockworklabs/BitCraftPublic
26•sfkgtbor•6h ago•9 comments

I finally got my sway layout to autostart the way I like it

https://hugues.betakappaphi.com/2026/01/19/sway-layout/
16•__hugues•15h ago•4 comments

Without benchmarking LLMs, you're likely overpaying

https://karllorey.com/posts/without-benchmarking-llms-youre-overpaying
129•lorey•1d ago•69 comments

JPEG XL Test Page

https://tildeweb.nl/~michiel/jxl/
154•roywashere•7h ago•108 comments

TeraWave Satellite Communications Network

https://www.blueorigin.com/news/blue-origin-introduces-terawave-space-based-network-for-global-co...
110•T-A•5h ago•80 comments