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

Memory has grown to nearly two-thirds of AI chip component costs

https://epoch.ai/data-insights/ai-chip-component-cost-shares
50•intelkishan•1h ago•40 comments

Usborne 1980s Computer Books

https://usborne.com/us/books/computer-and-coding-books
79•ngram•2h ago•26 comments

Ruby for Good

https://ti.to/codeforgood/rubyforgood
45•mooreds•1h ago•14 comments

DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost

https://esengine.github.io/DeepSeek-Reasonix/
184•Alifatisk•4h ago•100 comments

Constraint Decay: The Fragility of LLM Agents in Back End Code Generation

https://arxiv.org/abs/2605.06445
75•wek•4h ago•41 comments

Mastering Dyalog APL

https://mastering.dyalog.com/README.html
87•tosh•6h ago•18 comments

I spent 50 hours drawing a line graph

https://www.dougmacdowell.com/50-hours-to-draw-some-lines.html
295•dougdude3339•3d ago•56 comments

Flick (YC F25) Is Hiring Front End Engineer to Build Figma for AI Filmmaking

https://www.ycombinator.com/companies/flick/jobs/Tdu6FH6-senior-frontend-engineer
1•rayruiwang•47m ago

I keep bouncing off the Scheme language

https://www.sicpers.info/2026/05/i-keep-bouncing-off-the-scheme-language/
83•ingve•2d ago•30 comments

Childhood Computing

https://susam.net/childhood-computing.html
108•blenderob•5h ago•54 comments

'AI washing': firms are scrambling to rebrand themselves as tech-focused

https://www.theguardian.com/technology/2026/may/24/ai-washing-pr-firms-scrambling-rebrand
74•Brajeshwar•2h ago•48 comments

Microsoft open-sources "the earliest DOS source code discovered to date"

https://arstechnica.com/gadgets/2026/04/microsoft-open-sources-the-earliest-dos-source-code-disco...
373•DamnInteresting•16h ago•119 comments

Perceptual Image Codec: What Matters in Practical Learned Image Compression

https://apple.github.io/ml-pico/
46•ksec•5h ago•14 comments

FreeBSD Foundation Executive Director Tries Daily Driving FreeBSD on Laptop

https://www.phoronix.com/news/FreeBSD-On-Laptop-Driver
25•Bender•1h ago•27 comments

Build Adafruit projects right from Firefox

https://www.firefox.com/en-US/landing/adafruit/
22•mch82•2d ago•3 comments

Wake up! 16b

https://hellmood.111mb.de/wake_up_16b_writeup.html
357•MaximilianEmel•17h ago•25 comments

Curly braces: An evolution of Unix and C

https://thalia.dev/blog/unix-braces/
24•thaliaarchi•3d ago•4 comments

Scammers are abusing an internal Microsoft account to send spam links

https://techcrunch.com/2026/05/21/scammers-are-abusing-an-internal-microsoft-account-to-send-spam/
223•spike021•16h ago•128 comments

The C64 Dead Test Font

https://www.masswerk.at/nowgobang/2026/c64-dead-test-font
108•masswerk•13h ago•18 comments

Swap tables, flash-friendly swap, swap_ops, and more

https://lwn.net/SubscriberLink/1072657/394b87abd7cc215e/
55•mkesper•4d ago•1 comments

Predicting the 2026 Bristol Bay and Kodiak Salmon Runs

https://www.salmonfinder.com/2026/05/13/bristol-bay-kodiak-predictions-2026
8•mooreds•2d ago•4 comments

Silk: Open-source cooperative fiber scheduler

https://github.com/ClickHouse/silk
88•animetyan•4d ago•12 comments

Alexander Grothendieck Revolutionized 20th-Century Mathematics

https://www.quantamagazine.org/how-alexander-grothendieck-revolutionized-20th-century-mathematics...
107•anujbans•14h ago•23 comments

Time to talk about my writerdeck

https://veronicaexplains.net/my-first-writerdeck/
432•hggh•23h ago•260 comments

When (if ever) it's appropriate to make jokes before the US Supreme Court

https://www.scotusblog.com/2026/05/when-if-ever-its-appropriate-to-make-jokes-take-selfies-or-cur...
51•mooreds•2h ago•25 comments

Converting an Integer to a Decimal String in Under Two Nanoseconds

https://onlinelibrary.wiley.com/doi/10.1002/spe.70079
94•mpweiher•5d ago•49 comments

On The <dl> (2021)

https://benmyers.dev/blog/on-the-dl/
423•ravenical•1d ago•124 comments

Omarchy Is Not A Distro

https://abyss.fish/your_dotfiles_are_not_a_distro
112•j3s•3h ago•89 comments

Artificial egg hatched 26 healthy chickens

https://www.nationalgeographic.com/science/article/artificial-egg-colossal-chickens-moa-dodo
55•BaudouinVH•3d ago•78 comments

Greg Brockman interview [video]

https://fs.blog/knowledge-project-podcast/greg-brockman/
140•prakashqwerty•9h ago•114 comments