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?

A Preview of DuckDB v2.0

https://duckdb.org/2026/08/17/duckdb-20-highlights
311•ibotty•4h ago•48 comments

AI-Generated GitHub Copilot “Autofix” Allowed Compromise of Snowflake's Jira

https://www.wiz.io/blog/red-agent-snowflake-copilot-cicd-bug
174•galnagli•3h ago•83 comments

Launch HN: Speko (YC S26) – OpenRouter for Voice AI

https://speko.ai/
55•abdik•2h ago•23 comments

How to disable or avoid intrusive AI

https://www.librarian.net/notoai/
133•ColinWright•3h ago•55 comments

Incident with Github.com

https://www.githubstatus.com/incidents/zkxwbgr0cnmx
234•SpyCoder77•4h ago•711 comments

GPT 5.6 Sol is the best "vision" model OpenAI ever released

https://blog.roboflow.com/openai-gpt-5-6/
218•plurby•5h ago•109 comments

Olo (Color)

https://en.wikipedia.org/wiki/Olo_(color)
121•inigyou•5d ago•27 comments

How to put 170 atoms in an atom

https://signoregalilei.com/2026/08/02/how-to-put-170-atoms-in-an-atom/
59•surprisetalk•3h ago•5 comments

Ask HN: Alternatives to GitHub

298•dhruv3006•4h ago•189 comments

Buy Your Friends Batteries

https://domenkozar.com/2026/08/17/buy-your-friends-batteries/
62•domenkozar•1h ago•66 comments

Show HN: Sokoban AI Solver

https://mkornreich.me/projects/sokoban/
49•enjoyyourlife•4h ago•31 comments

How I developed an Am29000 C compiler and web browser

https://nanochess.org/am29000_c_compiler_web_browser.html
51•nanochess•21h ago•5 comments

Anthropic's ‘watermark’ text adulteration in Claude is a perversion of writing

https://daringfireball.net/2026/08/anthropics_watermark_text_adulteration_in_claude_is_a_perversi...
674•ropbear•20h ago•581 comments

Qwen3.8 27B scores 52 on Artificial Analysis

https://artificialanalysis.ai/models/qwen3-8-27b
7•anana_•39m ago•2 comments

Show HN: Saggar, a Mac terminal that keeps sessions and your attention organized

https://saggar.marginalutility.dev/
23•mcclowes•3h ago•18 comments

Apple's App Tracking Transparency treated its own apps better than rivals

https://www.bundeskartellamt.de/SharedDocs/Meldung/EN/Pressemitteilungen/2026/08_17_2026_Apple_AT...
196•nyku•3h ago•70 comments

How to ship a database every day

https://turbopuffer.com/blog/control-plane
46•tarunnnp•4h ago•6 comments

Sun Clock

https://sunclock.net/
12•Gecko4072•1h ago•5 comments

A particle made of force: physicists say they've found mysterious 'glueball'

https://www.nature.com/articles/d41586-026-02498-1
10•Brajeshwar•5d ago•0 comments

On AI regulation and messaging

https://twitter.com/DarioAmodei/status/2088758816376807762
208•jacquesm•16h ago•418 comments

Show HN: Learn Flags Quiz

https://flagquizzes.com/
27•artiomyak•3h ago•13 comments

Show HN: Desktopcolors.com – A museum for solid background colors of classic OS

https://desktopcolors.com
105•vlowrian•10h ago•42 comments

Anthropic's War on open source AI

https://twitter.com/TheAhmadOsman/status/2065307070044234186
66•bilsbie•2h ago•22 comments

Mexico crackdown on coastal development

https://yucatanmagazine.com/mexico-crackdown-on-coastal-development/
92•untiledsource•5h ago•23 comments

Cross-Validation From Scratch and a Surprise at n=100

https://www.kenkoonwong.com/blog/crossvalidation/
4•sebg•3d ago•0 comments

How Go detects struct copies with sync.noCopy

https://func25.dev/posts/go-sync-nocopy/
55•func25•4d ago•51 comments

Linear algebra done right

https://linear.axler.net/
210•the-mitr•12h ago•80 comments

Reticulum – Decentralized Mesh Network

https://reticulum.network/
205•sudo_cowsay•18h ago•65 comments

Qwen 3.8 27B is excellent, but it defaults to overthinking things

https://simonwillison.net/2026/Aug/16/qwen-38-27b/
732•bilsbie•18h ago•344 comments

Judge sets framework for Nine PBS to retrieve archival data

https://current.org/2026/08/judge-sets-framework-for-nine-pbs-to-retrieve-archival-data/
5•qingcharles•1h ago•0 comments