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

Comments

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

Corruption erodes social trust more in democracies than in autocracies

https://www.frontiersin.org/journals/political-science/articles/10.3389/fpos.2026.1779810/full
94•PaulHoule•4h ago•30 comments

Polymarket gamblers threaten to kill me over Iran missile story

https://www.timesofisrael.com/gamblers-trying-to-win-a-bet-on-polymarket-are-vowing-to-kill-me-if...
242•defly•3h ago•134 comments

Canada's bill C-22 mandates mass metadata surveillance

https://www.michaelgeist.ca/2026/03/a-tale-of-two-bills-lawful-access-returns-with-changes-to-war...
814•opengrass•18h ago•240 comments

The "are you sure?" Problem: Why AI keeps changing its mind

https://www.randalolson.com/2026/02/07/the-are-you-sure-problem-why-your-ai-keeps-changing-its-mind/
13•turoczy•20h ago•14 comments

How I write software with LLMs

https://www.stavros.io/posts/how-i-write-software-with-llms/
299•indigodaddy•14h ago•243 comments

The 49MB web page

https://thatshubham.com/blog/news-audit
647•kermatt•20h ago•290 comments

Chrome DevTools MCP (2025)

https://developer.chrome.com/blog/chrome-devtools-mcp-debug-your-browser-session
522•xnx•20h ago•209 comments

Nango (YC W23, API Access for Agents and Apps) Is Hiring

https://jobs.ashbyhq.com/Nango
1•bastienbeurier•3h ago

Home Assistant waters my plants

https://finnian.io/blog/home-assistant-waters-my-plants/
86•finniananderson•4d ago•34 comments

Electric motor scaling laws and inertia in robot actuators

https://robot-daycare.com/posts/actuation_series_1/
113•o4c•4d ago•20 comments

Six ingenious ways how Canon DSLRs used to illuminate their autofocus points

https://exclusivearchitecture.com/03-technical-articles-CSDS-00-table-of-contents.html
63•ExAr•1d ago•15 comments

Stop Sloppypasta

https://stopsloppypasta.ai/
444•namnnumbr•22h ago•181 comments

What every computer scientist should know about floating-point arithmetic (1991) [pdf]

https://www.itu.dk/~sestoft/bachelor/IEEE754_article.pdf
87•jbarrow•4d ago•16 comments

LLM Architecture Gallery

https://sebastianraschka.com/llm-architecture-gallery/
459•tzury•23h ago•34 comments

LLMs can be exhausting

https://tomjohnell.com/llms-can-be-absolutely-exhausting/
256•tjohnell•18h ago•171 comments

Kona EV Hacking

http://techno-fandom.org/~hobbit/cars/ev/
60•AnnikaL•4d ago•32 comments

Why Are Viral Capsids Icosahedral?

https://www.asimov.press/p/viral-capsids
19•surprisetalk•4d ago•0 comments

Scientists discover a surprising way to quiet the anxious mind (2025)

https://www.sciencedaily.com/releases/2025/10/251027023816.htm
32•carlos-menezes•4h ago•29 comments

Reviewing Large Changes with Jujutsu

https://ben.gesoff.uk/posts/reviewing-large-changes-with-jj/
35•bengesoff•4d ago•4 comments

Separating the Wayland compositor and window manager

https://isaacfreund.com/blog/river-window-management/
317•dpassens•1d ago•174 comments

The Accidental Room (2018)

https://99percentinvisible.org/episode/the-accidental-room/
44•blewboarwastake•2d ago•5 comments

The Linux Programming Interface as a university course text

https://man7.org/tlpi/academic/index.html
123•teleforce•16h ago•20 comments

The emergence of print-on-demand Amazon paperback books

https://www.alexerhardt.com/en/enshittification-amazon-paperback-books/
182•aerhardt•1d ago•143 comments

Glassworm is back: A new wave of invisible Unicode attacks hits repositories

https://www.aikido.dev/blog/glassworm-returns-unicode-attack-github-npm-vscode
283•robinhouston•1d ago•169 comments

//go:fix inline and the source-level inliner

https://go.dev/blog/inliner
173•commotionfever•4d ago•69 comments

How far can you go with IX Route Servers only?

https://blog.benjojo.co.uk/post/how-far-can-you-get-with-ix-route-servers
47•ingve•4d ago•3 comments

Bus travel from Lima to Rio de Janeiro

https://kenschutte.com/lima-to-rio-by-bus/
202•ks2048•4d ago•76 comments

Lies I was told about collaborative editing, Part 2: Why we don't use Yjs

https://www.moment.dev/blog/lies-i-was-told-pt-2
116•antics•3d ago•61 comments

What makes Intel Optane stand out (2023)

https://blog.zuthof.nl/2023/06/02/what-makes-intel-optane-stand-out/
213•walterbell•1d ago•149 comments

A Visual Introduction to Machine Learning (2015)

https://r2d3.us/visual-intro-to-machine-learning-part-1/
374•vismit2000•1d ago•31 comments