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?

Rio de Janeiro's "homegrown" LLM appears to be a merge of an existing model

https://github.com/nex-agi/Nex-N2/issues/4
65•unrvl22•1h ago•37 comments

Firewood Splitting Simulator

https://screen.toys/firewood/
315•memalign•4d ago•105 comments

The Birth and Death of JavaScript (2014)

https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
150•subset•4h ago•82 comments

Swiss voters reject proposal to cap population at ten million

https://www.swissinfo.ch/eng/swiss-politics/swiss-voters-reject-proposal-to-cap-population-at-ten...
55•FabCH•51m ago•11 comments

Perlisisms

https://www.cs.yale.edu/homes/perlis-alan/quotes.html
39•tosh•2h ago•9 comments

Lisp's Influence on Ruby

https://blog.tacoda.dev/lisps-influence-on-ruby-6a54f1a7740e
148•tacoda•3d ago•19 comments

Caddy compatibility for zeroserve: 3x throughput and 70% lower latency

https://su3.io/posts/zeroserve-caddy-compat
72•losfair•3h ago•20 comments

FarOutCompany

https://faroutcompany.com/
59•bookofjoe•3h ago•5 comments

No, everyone is not using AI for everything

https://gabrielweinberg.com/p/people-are-consuming-ai-like-they
227•yegg•2h ago•221 comments

I indexed 669 GB of my GoPro videos using my M1 Max computer and local ML models

78•iliashad•2h ago•10 comments

The only scalable delete in Postgres is DROP TABLE

https://planetscale.com/blog/the-only-scalable-delete
61•hollylawly•3d ago•28 comments

Ask HN: What are you working on? (June 2026)

17•david927•1h ago•20 comments

Global density and biomass of arbuscular mycorrhizal fungal networks

https://www.science.org/doi/10.1126/science.adu4373
23•zdw•1d ago•1 comments

Rio de Janeiro's city government model Rio3.5 beats Qwen3.7 in recent benchmarks

https://twitter.com/zenmagnets/status/2065796012820848699
97•lucasfcosta•2h ago•28 comments

Show HN: Dual YOLOv8n UAV Detection on RK3588S at 42 FPS Using NPU

https://github.com/alebal123bal/khadas_yolov8n_multithread
23•alebal123bal•2h ago•4 comments

Formal Methods and the Future of Programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/?from_theconsensus=1
62•eatonphil•4h ago•16 comments

Quivers: A year of linear algebra by drawing arrows

https://lisyarus.github.io/blog/posts/quivers-a-year-of-linear-algebra-by-drawing-arrows.html
8•ibobev•4d ago•0 comments

How did Atari apply side art to Arcade Cabinets?

https://arcadeblogger.com/2026/06/14/how-did-atari-apply-side-art-to-arcade-cabinets/
45•msephton•4h ago•8 comments

How to Earn a Billion Dollars

https://paulgraham.com/earn.html
235•kingstoned•5h ago•644 comments

Show HN: 3D print Z reinforcement via injected loops

https://mgunlogson.github.io/magma/
16•mgunlogson•5d ago•6 comments

Linux 7.1

https://lore.kernel.org/lkml/CAHk-=wi4BF4bMhZNZ1tqs+FFV4OuZRe3ZqdWB+LxRLmRweUzQw@mail.gmail.com/T/#u
40•berlianta•1h ago•1 comments

Free SQL→ER diagram tool, runs in the browser, nothing uploaded

https://sqltoerdiagram.com/
309•robhati•13h ago•59 comments

A 'cold blob' in the Atlantic could be a sign of AMOC shutdown

https://www.cnn.com/2026/06/12/climate/cold-blob-atlantic-amoc-ocean-circulation
95•tambourine_man•2h ago•116 comments

Honda Civics and the Evil Valet

https://juniperspring.org/posts/honda-evil-valet/
361•librick•16h ago•86 comments

Extinction-Level Capitalism

https://matthewbutterick.com/extinction-level-capitalism.html
84•laurex•2h ago•31 comments

KPMG pulls report on AI usage due to apparent hallucinations

https://techcrunch.com/2026/06/13/kpmg-pulls-report-on-ai-usage-due-to-apparent-hallucinations/
71•Brajeshwar•3h ago•6 comments

Dangerous hormone-disrupting chemicals found in US breast milk samples

https://www.theguardian.com/us-news/2026/jun/14/breast-milk-research-chemicals
50•andsoitis•2h ago•18 comments

FTX's former Anthropic stake would be worth about $75B at today's valuation

5•adam_rida•49m ago•2 comments

Don't trust large context windows

https://garrit.xyz/posts/2026-05-06-dont-trust-large-context-windows
220•computersuck•11h ago•158 comments

AI is code and can't be prompted into being smarter

https://www.theregister.com/ai-and-ml/2026/06/14/ai-is-code-and-cant-be-prompted-into-being-smarter/
8•adam_rida•53m ago•2 comments