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

Comments

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

Phoenix: A modern X server written from scratch in Zig

https://git.dec05eba.com/phoenix/about/
174•snvzz•2h ago•66 comments

Tell HN: Merry Christmas

392•basilikum•2h ago•126 comments

Microsoft please get your tab to autocomplete shit together

https://ivanca.github.io/programming/2025/11/26/microsoft-pls-get-your-tab-to-autocomplete-shit-t...
81•AmbroseBierce•1h ago•36 comments

Who Watches the Waymos? I do [video]

https://www.youtube.com/watch?v=oYU2hAbx_Fc
28•notgloating•1h ago•5 comments

Show HN: Minimalist editor that lives in browser, stores everything in the URL

https://github.com/antonmedv/textarea
230•medv•5h ago•82 comments

Asterisk AI Voice Agent

https://github.com/hkjarral/Asterisk-AI-Voice-Agent
25•akrulino•1h ago•3 comments

Fabrice Bellard: Biography (2009) [pdf]

https://www.ipaidia.gr/wp-content/uploads/2020/12/117-2020-fabrice-bellard.pdf
189•lioeters•7h ago•53 comments

CSRF protection without tokens or hidden form fields

https://blog.miguelgrinberg.com/post/csrf-protection-without-tokens-or-hidden-form-fields
81•adevilinyc•2d ago•15 comments

Research team digitizes more than 100 years of Canadian infectious disease data

https://news.mcmaster.ca/mcmaster-research-team-digitizes-more-than-100-years-of-canadian-infecti...
45•XzetaU8•5d ago•1 comments

Show HN: Vibium – Browser automation for AI and humans, by Selenium's creator

https://github.com/VibiumDev/vibium
215•hugs•7h ago•76 comments

Comptime – C# meta-programming with compile-time code generation and evaluation

https://github.com/sebastienros/comptime
36•bj-rn•4d ago•5 comments

Online Book: Exploring Mathematics with Python

https://coe.psu.ac.th/ad/explore/
22•Andrew2565•5d ago•0 comments

Nvidia buying AI chip startup Groq for about $20B in cash

https://www.cnbc.com/2025/12/24/nvidia-buying-ai-chip-startup-groq-for-about-20-billion-biggest-d...
325•nickrubin•4h ago•206 comments

Qntm's Power Tower Toy

https://qntm.org/files/knuth/knuth.html
51•ravenical•4d ago•15 comments

Keystone (YC S25) is hiring engineer #1 to automate coding

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

When Compilers Surprise You

https://xania.org/202512/24-cunning-clang
201•brewmarche•11h ago•94 comments

Fabrice Bellard Releases MicroQuickJS

https://github.com/bellard/mquickjs/blob/main/README.md
1355•Aissen•1d ago•514 comments

How I Left YouTube

https://zhach.news/how-i-left-youtube/
54•dhashe•3h ago•76 comments

The dawn of a world simulator

https://odyssey.ml/the-dawn-of-a-world-simulator
31•olivercameron•4d ago•7 comments

A faster path to container images in Bazel

https://www.tweag.io/blog/2025-12-18-rules_img/
61•malt3•6d ago•29 comments

Spaced repetition for efficient learning (2019)

https://gwern.net/spaced-repetition
88•tsenturk•4h ago•30 comments

Jingle Bells (Batman Smells): An incomplete festive folk-rhyme taxonomy

https://loreandordure.com/2025/12/16/jingle-bells/
58•helsinkiandrew•3d ago•19 comments

The port I couldn't ship

https://ammil.industries/the-port-i-couldnt-ship/
89•cjlm•6d ago•48 comments

I'm returning my Framework 16

https://yorickpeterse.com/articles/im-returning-my-framework-16/
150•YorickPeterse•12h ago•262 comments

How GNU Guile is 10x better (2021)

https://www.draketo.de/software/guile-10x
81•Tomte•3d ago•4 comments

Show HN: A local-first, reversible PII scrubber for AI workflows

https://medium.com/@tj.ruesch/a-local-first-reversible-pii-scrubber-for-ai-workflows-using-onnx-a...
17•tjruesch•8h ago•0 comments

My 2026 Open Social Web Predictions

https://www.timothychambers.net/2025/12/23/my-open-social-web-predictions.html
78•todsacerdoti•9h ago•73 comments

Quake's Player Speed (2017)

https://rome.ro/quakes-player-speed-1
57•klaussilveira•1d ago•17 comments

The e-scooter isn't new – London was zooming around on Autopeds a century ago

https://www.ianvisits.co.uk/articles/the-e-scooter-isnt-new-london-was-zooming-around-on-autopeds...
148•zeristor•16h ago•111 comments

Avoid Mini-Frameworks

https://laike9m.com/blog/avoid-mini-frameworks,171/
117•laike9m•13h ago•90 comments