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?

GLM-5.4: Toward Generalized Coding with Our First Loop Transformer

https://z.ai/blog/glm-5.4
377•foohis•3h ago•162 comments

The next circle of security hell

https://blogs.gentoo.org/mgorny/2026/10/27/the-next-circle-of-security-hell/
56•qtqtqt•2h ago•28 comments

XNU Linux: Full OS X GUI Userspace on Linux

https://github.com/AFK-surf/xnulinux
440•mmastrac•10h ago•195 comments

Free alternative TV network built from the Internet Archive's forgotten videos

https://spelunkr.tv
657•SockThief•12h ago•121 comments

MRAM Basics: How Magnetic Memory Is Replacing Embedded Flash

https://www.allaboutcircuits.com/technical-articles/mram-basics-how-magnetic-memory-is-replacing-...
33•giuliomagnifico•2d ago•7 comments

Win4wine – Run Windows Shell as the Linux Desktop on Wine

https://github.com/mikuta0407/win4wine
16•hard_times•1h ago•9 comments

Nospeaker ─ Make your MacBook's trackpad talk using its haptic motor

https://github.com/os6/nospeaker
39•yakkomajuri•2h ago•8 comments

Elixir HLS makes FPGA circuits from functions written in Elixir

https://github.com/elixir-hls/elixir-hls
64•kristianpaul•2d ago•0 comments

Yes, 17M lines of Lean is a lot

https://micjm.com/blog/yes-17m-lines-of-lean-is-a-lot/
159•seizethecheese•8h ago•199 comments

Show HN: News Blocklist – a DNS blocklist of 14k news and current-affairs sites

https://github.com/ruairidhflint/news-blocklist
10•mrroryflint•46m ago•1 comments

A Beginner's Guide to Local AI with Inkling, Qwen, and Unsloth

https://www.gpupartner.com/blog/beginners-guide-local-ai-inkling-qwen-unsloth
599•Retell15•16h ago•249 comments

The Birds of GTA 6: A Field Guide to Vice City and Leonida's Wildlife

https://www.audubon.org/magazine/birds-of-gta-6-field-guide-vice-city-wildlife
556•gaws•18h ago•301 comments

Perplexity and Intelligence

https://openai.com/index/perplexity-and-intelligence/
629•acossta•20h ago•411 comments

Cathedral floor emerges in Sudan, revealing one of the biggest medieval churches

https://apnews.com/article/sudan-antiquities-nubia-cathedral-1b16f67da881ee5592de4481ee55c527
290•graemep•4d ago•98 comments

Masullo on the Riemann Hypothesis

https://johncarlosbaez.wordpress.com/2026/11/22/masullo-on-the-riemann-hypothesis/
258•xiaoyu2006•1d ago•243 comments

Brake Check: Hijacking Trailer Brakes over Bluetooth

https://elementdigital.com.au/blog/brake-check-trailer-brakes-over-bluetooth/
46•DeepLogin•2d ago•34 comments

A Partial Evaluator for C

https://phoenix.labri.fr/software/tempo/
83•measurablefunc•8h ago•20 comments

CollectWise (YC F24) Is Hiring

https://www.ycombinator.com/companies/collectwise/jobs/lgobCse-founding-customer-success-manager
1•OBrien_1107•6h ago

Assume People Are Not Interested in Your Blog Post

https://danielsada.tech/blog/assume-people-are-not-interested-in-your-blog-post/
247•dshacker•18h ago•126 comments

Treemap of the Riemann Hypothesis Lean Proof

https://pengowray.github.io/riemann-zeta-proof-visualizer/
124•pengowray•11h ago•48 comments

A miniature San Francisco with live buses, planes and boats

https://smallsf.com/
306•dutilh•17h ago•99 comments

GL.iNet Security Notice 2026-11-20

https://www.gl-inet.com/en-us/blogs/blog/glinet-security-notice-2026-11-20
231•gregsadetsky•14h ago•107 comments

Reviving the Donkey Car with Erlang

https://underjord.io/reviving-the-donkey-car-with-erlang.html
4•lawik•2d ago•0 comments

The struggle for freedom: How BSD escaped AT&T licensing

https://fosscomics.com/posts/16.%20BSD%20Unix%20Part%206%20-%20The%20Struggle%20for%20Freedom/
136•joonehur•16h ago•51 comments

The Quartz Page

http://www.quartzpage.de/index.html
13•AdamH12113•3d ago•3 comments

The Usefulness of Useless Knowledge [pdf] (1939)

https://www.ias.edu/sites/default/files/library/UsefulnessHarpers.pdf
147•hectormauer•15h ago•30 comments

LittleBit: Ultra Low-Bit Quantization via Latent Factorization (2025)

https://arxiv.org/abs/2506.13771
60•kakadu•3d ago•9 comments

The New Docker: Built to Run on Trust

https://www.docker.com/blog/meet-the-new-docker-built-to-run-on-trust/
62•peer2pay•10h ago•133 comments

Nyx, the Oldest Internet Service Provider

https://nyx.net/
147•o_-_o•17h ago•25 comments

Show HN: I built a game where you are an LLM's subagent

https://github.com/gulivan/worker755
340•ivantgam•23h ago•80 comments