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?

Pokémon Go Scans Trained the Navigation Tech for Military Drones

https://dronexl.co/2026/06/09/pokemon-go-scans-niantic-vantor-military-drone-navigation/
129•vrganj•1h ago•48 comments

AI agent runs amok in Fedora and elsewhere

https://lwn.net/SubscriberLink/1077035/c7e7c14fbd60fae9/
366•tanelpoder•8h ago•126 comments

Cybersecurity researchers aren't happy about the guardrails on Anthropic's Fable

https://techcrunch.com/2026/06/10/cybersecurity-researchers-arent-happy-about-the-guardrails-on-a...
405•speckx•15h ago•359 comments

πFS

https://github.com/philipl/pifs
721•helterskelter•13h ago•170 comments

Macaroni – a single HTML file messenger

https://github.com/vanyapr/makaroshki
26•snowflaxxx•1h ago•27 comments

Anthropic requires 30 day data retention for Fable and Mythos

https://support.claude.com/en/articles/15425996-data-retention-practices-for-mythos-class-models
390•lebovic•1d ago•192 comments

Starfish by Peter Watts (1999)

https://www.rifters.com/real/STARFISH.htm#prelude
33•zetalyrae•2d ago•5 comments

Reverse engineering the Creative Katana soundbar to control it from Linux

https://blog.nns.ee/2026/02/20/katana-v2x-re/
50•theanonymousone•3d ago•2 comments

Sequoyah’s syllabary created a written language for the Cherokee

https://www.smithsonianmag.com/innovation/man-created-written-language-cherokee-did-efficiently-e...
148•grahambargeron•10h ago•91 comments

I'm Eric Ries, author of "The Lean Startup" and new book "Incorruptible" – AMA

642•eries•17h ago•482 comments

Vacuum-Form Signage

https://bethmathews.substack.com/p/the-history-behind-the-signs-lighting
61•benbreen•1d ago•11 comments

Linux latency measurements and compositor tuning

https://farnoy.dev/posts/linux-latency
6•GalaxySnail•1d ago•0 comments

PgDog is funded and coming to a database near you

https://pgdog.dev/blog/our-funding-announcement
446•levkk•18h ago•219 comments

Klondike Solitaire game for curses in 5k of C

https://nanochess.org/klondike_in_c.html
69•nanochess•2d ago•8 comments

How JPL keeps the 13-year-old Curiosity rover doing science

https://spectrum.ieee.org/curiosity-rover-jpl-mars-science
221•pseudolus•14h ago•61 comments

The Road to the WASM Component Model 1.0

https://bytecodealliance.org/articles/the-road-to-component-model-1-0
73•emschwartz•2d ago•47 comments

GeoLibre 1.0

https://geolibre.app/
229•jonbaer•14h ago•19 comments

L'Affaire Siloxane

https://mceglowski.substack.com/p/laffaire-siloxane
215•idlewords•2d ago•36 comments

Show HN: Extend UI – open-source UI kit for modern document apps

https://www.extend.ai/ui
203•kbyatnal•16h ago•47 comments

CSS: Unavoidable Bad Parts

https://matklad.github.io/2026/06/04/css-unavoidable-bad-parts.html
67•surprisetalk•1d ago•21 comments

Who's the smartest corvid?

https://thetyee.ca/Culture/2026/06/05/Whos-the-Smartest-Corvid/
100•NaOH•1d ago•87 comments

World Capitals Voronoi

https://www.jasondavies.com/maps/voronoi/capitals/
79•vincnetas•2d ago•37 comments

Are insecure code completions in PyCharm a vulnerability?

https://sethmlarson.dev/are-insecure-code-completions-a-vulnerability
29•12_throw_away•6h ago•13 comments

Building an HTML-first site doubled our users overnight

https://mohkohn.co.uk/writing/html-first/
1104•edent•19h ago•500 comments

Raspberry Pi 5 – 16GB RAM

https://www.adafruit.com/product/6125?src=raspberrypi
246•akman•12h ago•250 comments

What is it like to be a bat? (1974) [pdf]

https://www.sas.upenn.edu/~cavitch/pdf-library/Nagel_Bat.pdf
86•shadow28•11h ago•91 comments

Sweet Jeebus, macOS 27 Golden Gate Removes the Dumb Icons from Menu Items

https://daringfireball.net/2026/06/macos_27_golden_gate_removes_the_dumb_icons_from_menu_items
6•epaga•47m ago•1 comments

Show HN: HelixDB – A graph database built on object storage

https://github.com/HelixDB/helix-db/tree/main
119•GeorgeCurtis•16h ago•34 comments

Apache Burr: Build reliable AI agents and applications

https://burr.apache.org/
209•anhldbk•17h ago•102 comments

The Conductor Rewrite: What They Changed to Make It Fast

https://performance.dev/the-conductor-rewrite
7•Charlieholtz•1d ago•4 comments