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?

DSpark: Speculative decoding accelerates LLM inference [pdf]

https://github.com/deepseek-ai/DeepSpec/blob/main/DSpark_paper.pdf
568•aurenvale•5h ago•222 comments

OpenRA

https://www.openra.net/
170•tosh•3h ago•46 comments

Fintech Engineering Handbook

https://w.pitula.me/fintech-engineering-handbook/
244•signa11•4h ago•80 comments

Post-Mythos Cybersecurity: Keep calm and carry on

https://cephalosec.com/blog/cybersecurity-in-the-post-mythos-era-keep-calm-and-carry-on/
22•Versipelle•49m ago•5 comments

Underarm Bowling Incident of 1981

https://en.wikipedia.org/wiki/Underarm_bowling_incident_of_1981
20•EndXA•3d ago•0 comments

Suspicious Discontinuities

https://danluu.com/discontinuities/
21•tosh•1h ago•1 comments

How H-E-B Became Texas' Most Beloved Brand (2024)

https://texashighways.com/culture/how-heb-became-texas-most-beloved-brand/
28•NaOH•2d ago•23 comments

Previewing GPT‑5.6 Sol: a next-generation model

https://openai.com/index/previewing-gpt-5-6-sol/
1062•minimaxir•22h ago•670 comments

Long Wave radio era set to end with switch-off

https://www.economist.com/britain/2026/06/25/the-bbc-switches-off-its-oldest-service
104•edward•1d ago•107 comments

How Many Elementary Particles Are There, Really?

https://www.quantamagazine.org/how-many-elementary-particles-are-there-really-20260615/
32•rwmj•2h ago•13 comments

Beer CSS – Build material design in record time

https://www.beercss.com
85•Seb-C•6h ago•35 comments

Nox Metals (YC S25) Is Hiring SWE

https://www.ycombinator.com/companies/nox-metals/jobs/M1f1enD-software-engineer
1•zane_heng•3h ago

Streaming services' obnoxiously loud ads become illegal on July 1 in California

https://arstechnica.com/gadgets/2026/06/streaming-services-obnoxiously-loud-ads-become-illegal-on...
69•speckx•2h ago•12 comments

Zuckerberg's Increasingly Bizarre War on Whistleblowers

https://pluralistic.net/2026/06/27/zuckerstreisand-2/
21•HotGarbage•35m ago•2 comments

The US Army Issued Ocarinas to Soldiers in World War II

https://www.flutetunes.com/articles/my-flute-goes-to-war/
68•tomcam•2d ago•30 comments

Linux on Older Hardware: The Complete Revival Guide

https://www.fosslinux.com/158206/linux-on-older-hardware-revival-guide.htm
128•tapanjk•2d ago•70 comments

If you can't hold it, you don't own it

https://dervis.de/physical/
124•cemdervis•3h ago•87 comments

Why does kinetic energy increase quadratically, not linearly, with speed? (2011)

https://physics.stackexchange.com/questions/535/why-does-kinetic-energy-increase-quadratically-no...
301•ProxyTracer•16h ago•150 comments

Task Failed Successfully: Saturating NIC and Disk Bandwidth

https://blog.mrcroxx.com/posts/task-failed-successfully-saturating-nic-and-disk-bandwidth/
9•MrCroxx•4d ago•4 comments

WordStar: A Writer's Word Processor (1996)

https://www.sfwriter.com/wordstar.htm
132•droidjj•11h ago•65 comments

Faster KNN search in Manticore: 2-pass HNSW, batched distances, and AVX-512

https://medium.com/@s_nikolaev/faster-knn-search-in-manticore-2-pass-hnsw-batched-distances-and-a...
37•snikolaev•1d ago•2 comments

Cultures of Making and Relating

https://blog.khinsen.net/posts/2026/06/25/cultures.html
23•akkartik•1d ago•1 comments

Jest/Vitest interactive course (runs in the browser)

https://howtotestfrontend.com/courses/jest-vitest-fundamentals
29•howToTestFE•2d ago•10 comments

MicroVMs: Run isolated sandboxes with full lifecycle control

https://aws.amazon.com/blogs/aws/run-isolated-sandboxes-with-full-lifecycle-control-aws-lambda-in...
355•justincormack•4d ago•193 comments

Anatomy of a Failed (Nation-State?) Attack

https://grack.com/blog/2026/06/25/dissecting-a-failed-nation-state-attack/
99•signa11•12h ago•23 comments

U.S. allows Anthropic to release Mythos AI to ‘trusted’ US organizations

https://www.semafor.com/article/06/27/2026/us-releases-powerful-anthropic-model-mythos-to-some-us...
507•bobrenjc93•16h ago•671 comments

AI in mathematics is forcing big questions

https://spectrum.ieee.org/ai-in-mathematics
167•rbanffy•16h ago•142 comments

The gap between open weights LLMs and closed source LLMs

https://blog.doubleword.ai/frontier-os-llm
261•kkm•17h ago•199 comments

International investment and local rules push prices up faster than supply

https://news.mccombs.utexas.edu/research/foreign-funds-help-make-housing-unaffordable/
116•hhs•15h ago•44 comments

Hellishly Slow Level 13 Deflate Compression

https://kirill.korins.ky/articles/hellishly-slow-level-13-deflate-compression/
81•zX41ZdbW•4d ago•23 comments