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?

How's Linear so fast? A technical breakdown

https://performance.dev/how-is-linear-so-fast-a-technical-breakdown
178•howToTestFE•2h ago•96 comments

Building from zero after addiction, prison, and a felony

https://gavinray97.github.io/blog/building-from-zero-after-addiction-prison-felony
198•gavinray•3h ago•82 comments

Making peace with your unlived dreams (2023)

https://nik.art/making-peace-with-your-unlived-dreams/
81•herbertl•3h ago•32 comments

Flock license plate reader wrongly linked a San Diego man to a violent crime

https://timesofsandiego.com/crime/2026/06/07/a-flock-license-plate-reader-linked-a-san-diego-man-...
49•loteck•55m ago•13 comments

Silurus/ooxml: Pixel-faithful Office documents, rendered in the browser

https://github.com/yukiyokotani/office-open-xml-viewer
88•maxloh•4h ago•30 comments

Powering up a module from the IBM 604: an electronic calculator from 1948

https://www.righto.com/2026/06/ibm-604-thyraton-tube-module.html
57•elpocko•4h ago•18 comments

If LLMs Have Human-Like Attributes, Then So Does Age of Empires II

https://arxiv.org/abs/2605.31514
30•ketchup32613•2h ago•19 comments

What is the purpose of the lost+found folder in Linux and Unix? (2014)

https://unix.stackexchange.com/questions/18154/what-is-the-purpose-of-the-lostfound-folder-in-lin...
92•tosh•2d ago•37 comments

My automated doubt development process

https://www.alexself.dev/blog/automated-doubt
28•aself101•3h ago•12 comments

The architecture of the internet creates risks for democracy

https://www.science.org/doi/10.1126/science.aei2409
47•Anon84•1h ago•49 comments

Cloning a Sennheiser BA2015 battery pack

https://blog.brixit.nl/cloning-a-sennheiser-ba2015-accu-pack/
89•zdw•1d ago•14 comments

Do we fear the serializable isolation level more than we fear subtle bugs?

https://blog.ydb.tech/do-we-fear-the-serializable-isolation-level-more-than-we-fear-subtle-bugs-5...
15•b-man•4d ago•2 comments

The 29th International Obfuscated C Code Contest (IOCCC) 2025 Winners

https://www.ioccc.org/2025/
348•matt_d•15h ago•82 comments

Show HN: Lathe – Use LLMs to learn a new domain, not skip past it

https://github.com/devenjarvis/lathe
200•devenjarvis•10h ago•41 comments

Backrest – a web UI and orchestrator for restic backup

https://github.com/garethgeorge/backrest
63•flexagoon•5d ago•5 comments

Proliferate (YC S25) is hiring to building open source Codex

https://www.ycombinator.com/companies/proliferate/jobs/L3copvK-founding-engineer
1•pablo24602•4h ago

The complete IPv4 address space, mapped

https://worldip.io/
19•theanonymousone•3h ago•7 comments

A visual introduction to kernel functions

https://kelvinpaschal.com/blog/kernel-functions/
17•Kelvinidan•2d ago•0 comments

Anthropic, please ship an official Claude Desktop for Linux

https://github.com/anthropics/claude-code/issues/65697
396•predkambrij•8h ago•227 comments

Podman 6: machine usability improvements (2025)

https://blog.podman.io/2025/10/podman-6-machine-usability-improvements/
81•daesorin•7h ago•5 comments

Win16 Memory Management

http://www.os2museum.com/wp/win16-memory-management/
125•supermatou•2d ago•62 comments

Public Domain Image Archive

https://pdimagearchive.org/
234•davidbarker•21h ago•32 comments

sqlite: A CGo-free port of SQLite/SQLite3

https://gitlab.com/cznic/sqlite
34•tosh•7h ago•23 comments

The curious case of low-protein diets

https://knowablemagazine.org/content/article/living-world/2026/low-protein-diet-animals-live-longer
37•curmudgeon22•3h ago•13 comments

The Secret Life of Circuits with lcamtuf / Michał Zalewski (Audio Interview)

https://theamphour.com/725-the-secret-life-of-circuits-with-lcamtuf-michal-zalewski/
58•ChrisGammell•3d ago•5 comments

Speculative KV coding: losslessly compressing KV cache by up to ~4×

https://fergusfinn.com/blog/kv-entropy-coder/
137•kkm•3d ago•28 comments

There's no escaping it: an exploration of ANSI codes

https://blog.safia.rocks/2025/12/22/ansi-codes/
26•ankitg12•2d ago•9 comments

Symbolica 2.0: Programmable Symbols for Python and Rust

https://symbolica.io/posts/symbolica_2_0_release/
142•mmastrac•2d ago•15 comments

Show HN: Kyushu – A self-hostable WASM sandbox for JavaScript workers

https://kyushu.dev/
68•le_chuck•14h ago•28 comments

Google just made you a search quality rater. You won't get paid

https://mojodojo.io/blog/google-just-made-you-a-search-quality-rater-you-won-t-get-paid
31•zenincognito•9h ago•9 comments