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?

WorldTUI: I trained a 360M model to pretend to be a terminal

https://simedw.com/2026/10/21/world-model-terminal/
166•alphax314•6h ago•52 comments

The recently proposed o(n log n) integer multiplication algorithm [pdf]

https://web.maths.unsw.edu.au/~davidharvey/research/subnlogn.pdf
190•craigcitro•6h ago•124 comments

Security Disclosure

https://blog.railway.com/p/security-disclosure-wednesday-october-21st
448•passenger•11h ago•260 comments

OpenAI CLI

https://github.com/openai/openai-cli
102•armcat•3h ago•67 comments

Show HN: The fastest browser for AI agents to run browser automation

https://ego-lite.apposters.com
5•ehurynovich•54m ago•0 comments

Claude Duet

https://claude.com/product/claude-duet
357•kuberwastaken•13h ago•332 comments

Rust Style Guide

https://google.github.io/styleguide/rustguide.html
295•kaycebasques•13h ago•180 comments

GitLab critical patch release

https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-1-released/
345•artooro•14h ago•80 comments

Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor

https://safedep.io/litellm-pypi-compromise-credential-stealer-backdoor/
508•abhisek•19h ago•167 comments

No more icons in every menu by default

https://blog.jim-nielsen.com/2026/icons-in-every-menu/
299•riffraff•2d ago•185 comments

Using LLM for confidence scoring is a bad idea

https://rumple.github.io/blog/2026/10/20/asking-llm-for-confidence.html
83•jimauthors•1d ago•44 comments

PingCap TiDB Leaks

https://fulcrumsec.vg/pingcap/
333•swyx•1d ago•51 comments

Beyond the &

https://lwn.net/Articles/1096028/
61•PaulHoule•1d ago•3 comments

Meta ordered to pay $25B penalty in New Mexico Cambridge Analytica case

https://www.cnbc.com/2026/10/21/meta-new-mexico-cambridge-analytica-penalty.html
539•cbg0•15h ago•324 comments

Tiny possum and glider thought extinct for 6000 years found in remote West Papua

https://www.bbc.com/news/articles/cp814l80pw2o
210•bryanrasmussen•2d ago•45 comments

What Is the Karakoram Anomaly?

https://nsidc.org/learn/ask-scientist/karakoram-anomaly-it-real
24•thunderbong•2d ago•7 comments

mitmproxy adds --emudhra option

https://github.com/mitmproxy/mitmproxy/commit/169234499088fc2c414644a67efaed3d64ae2e3b
452•ahlCVA•9h ago•113 comments

OpenAI models are coming to Google Cloud

https://openai.com/index/openai-models-google-cloud/
287•armcat•20h ago•119 comments

Code is clay now

https://www.albertodenia.com/writing/code-is-clay-now
162•albertodenia•2d ago•108 comments

Chain of Thought for Humans

https://www.boristhebrave.com/2026/10/18/chain-of-thought-for-humans/
91•ibobev•2d ago•45 comments

DuckDB 2.0.0 LTS “Cinnamon Teal”

https://duckdb.org/2026/10/21/announcing-duckdb-200
408•nnx•19h ago•54 comments

ThinkPad I9990303 Error Catch-22

http://www.os2museum.com/wp/thinkpad-i9990303-error-catch-22/
20•userbinator•2d ago•2 comments

Today's PHP security release, and how we're strengthening security

https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-...
730•ejohnso49•17h ago•360 comments

Show HN: Omnara – Open-source alternative to Claude Managed Agents

https://github.com/omnara-ai/omnara
74•kmansm27•16h ago•24 comments

There isn't an easy exploit for this PHP vulnerability

https://eliastaylor.com/noexploit/
506•zkldi•9h ago•297 comments

I can't use generic lambdas at compile-time, now what?

https://blog.ganets.ky/ClangGenericLambdas/
9•ibobev•2d ago•0 comments

Claude Now Works with Google Docs, Sheets, and Slides

https://claude.com/resources/articles/claude-now-works-in-google-docs-sheets-and-slides
41•gmays•6h ago•5 comments

PHP 8.2.35

https://github.com/php/php-src/releases/tag/php-8.2.35
1026•tuyuri•19h ago•543 comments

Oregon lawmakers approve money to buy an iconic waterfall listed on Redfin

https://apnews.com/article/oregon-waterfall-for-sale-lawmakers-996de63462d49ec3ad9bee1629fb9488
186•surprisetalk•17h ago•96 comments

The compiler was supposed to end programming too

https://hrih.si/articles/the-compiler-was-supposed-to-end-programming/
100•theanonymousone•15h ago•151 comments