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?

When did Google get so weird?

https://sancho.bearblog.dev/google-weird/
350•sancho-panza•1h ago•180 comments

Ember-1

https://fireworks.ai/blog/ember-1
256•gmays•4h ago•144 comments

Lunar Terminator Paradox

https://notes.secretsauce.net/notes/2026/09/27_lunar-terminator-paradox.html
19•dima55•55m ago•4 comments

Alan Kay's answer to "Did the ENIAC have a BIOS"?

https://www.quora.com/Did-the-ENIAC-have-a-BIOS/answer/Alan-Kay-11
44•midnightfish•2h ago•17 comments

Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi

https://loficities.com/
105•safaelmali•3h ago•38 comments

The state of SIMD in Rust in 2026

https://shnatsel.github.io/state-of-simd-rust-2026/
50•verdagon•2d ago•16 comments

Imp is a full port of DSPy to the BEAM

https://github.com/deepfates/imp
27•mpweiher•2h ago•4 comments

Don't couple your Go code to GitHub

https://iain.rocks/blog/dont-couple-your-go-code-to-github
84•birdculture•5h ago•42 comments

In an $80 motel room, a discovery to shed light on the origins of life

https://www.nytimes.com/2026/09/26/science/motel-science-discovery.html
180•danso•7h ago•68 comments

There is more to code review than (automatable) detection

https://www.adaptivecapacitylabs.com/2026/08/24/there-is-more-to-code-review-than-automatable-det...
15•utiiiD•1d ago•6 comments

Oral history of John Chowning, inventor of FM synthesis [video]

https://www.youtube.com/watch?v=e1Xn3030IvM
31•Rochus•3h ago•6 comments

What I did at Recurse Center

https://thill.me/2026/09/11/what-i-did-at-rc.html
28•bingden•2h ago•10 comments

Writing Efficient C++ Code (2013)

https://asawicki.info/articles/writing_efficient_cpp_code.php
122•ibobev•2d ago•73 comments

Replacing the old battery on rechargeable bike lights

https://jvns.ca/blog/2026/09/27/replacing-the-old-battery-on-rechargeable-bike-lights/
117•surprisetalk•8h ago•63 comments

Show HN: TinyAIArena watch AI agents battle it out

https://tinyaiarena.com/
84•hp6•6h ago•37 comments

Fragment of oldest known peace treaty found in Turkey

https://www.livescience.com/archaeology/ancient-egyptians/we-have-found-traces-of-peace-thousands...
41•gmays•7h ago•7 comments

The Cartesian Hand: In-Hand Manipulation with All-Linear Fingers

https://generalroboticslab.com/cartesian_handv1
37•AareyBaba•1d ago•8 comments

Previously unheard recordings of John Coltrane, captured by Frank Tiberi

https://www.jazzwise.com/content/news/john-coltrane-centenary-celebrations-see-impulse-records-re...
35•gregsadetsky•2d ago•11 comments

Flip Fluid on Flip Dots

https://mitxela.com/projects/flipflip
341•blutack•1d ago•23 comments

The Normalization of Inexplicable Failures

https://www.ihatethefuture.com/2026/09/the-normalization-of-inexplicable.html
224•pxx•6h ago•88 comments

Faster prompt lookup drafting in llama.cpp

https://jadidbourbaki.github.io/blog/prompt-lookup-llama-cpp/
58•pptadversary•1d ago•9 comments

Fakecloud: Local AWS cloud emulator for integration tests

https://fakecloud.dev/
91•theanonymousone•1d ago•48 comments

On caring for user data: NeoVim caused Vim undo files to be deleted

https://unsung.aresluna.org/they-had-no-concept-of-a-duty-of-care-to-their-users/
328•jandeboevrie•7h ago•288 comments

Video CDs Break Windows Explorer

https://clydesnotes.blogspot.com/2026/08/video-cds-break-windows-explorer.html
70•ClydeN•1d ago•27 comments

KICKI: a DECsystem1060

https://icm.museum/blog/?p=207
14•rbanffy•1d ago•2 comments

Improving site performance by shipping more CSS

https://github.blog/engineering/architecture-optimization/improving-site-performance-by-shipping-...
75•torutofu•1d ago•61 comments

Allegations of US interference in Quebec election

https://globalnews.ca/news/12073854/quebec-election-u-s-interference/
44•Teever•1h ago•9 comments

C's Flexible Integer Sizes Were Not a Design Mistake

https://pikuma.com/blog/c-integer-sizes-not-a-mistake
64•ibobev•2d ago•108 comments

Go Concurrency Distilled

https://antonz.org/go-concurrency-distilled/
367•chmaynard•1d ago•166 comments

PipePipe: NewPipe hard fork implementing SponsorBlock

https://github.com/InfinityLoop1308/PipePipe
486•Qision•2d ago•270 comments