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?

Dolphin Emulator Progress Release 2606

https://dolphin-emu.org/blog/2026/06/25/dolphin-progress-report-release-2606/
38•exploraz•1h ago•2 comments

Half-Life 2 in a Browser

https://hl2.slqnt.dev/
300•panza•5h ago•108 comments

Anthropic says Alibaba illicitly extracted Claude AI model capabilities

https://www.reuters.com/world/china/anthropic-says-alibaba-illicitly-extracted-claude-ai-model-ca...
465•htrp•15h ago•809 comments

OpenAI unveils its first custom chip, built by Broadcom

https://techcrunch.com/2026/06/24/openai-unveils-its-first-custom-chip-built-by-broadcom/
715•jamdesk•17h ago•405 comments

Cloudflare launched self-managed OAuth for all

https://blog.cloudflare.com/oauth-for-all/
187•terryds•9h ago•85 comments

Bohemia Interactive: Cold War Assault Remastered Source Code on GitHub

https://github.com/BohemiaInteractive/CWR
92•dewey•2d ago•16 comments

Blogging can just be stating the obvious

https://blog.jim-nielsen.com/2026/blogging-stating-the-obvious/
254•Curiositry•11h ago•88 comments

LuaJIT 3.0 proposed syntax extensions

https://github.com/LuaJIT/LuaJIT/issues/1475
167•phreddypharkus•10h ago•100 comments

Markdy: Like Mermaid Diagrams, but for Motion

https://markdy.com
77•surprisetalk•1d ago•36 comments

Words, Words, Words

https://aeon.co/essays/literature-fans-should-welcome-ai-as-a-fellow-wordsmith
6•benbreen•2d ago•1 comments

45°C cooling design cuts data center water use to near zero

https://blogs.nvidia.com/blog/liquid-cooling-ai-factories/
353•nitin_flanker•21h ago•250 comments

Wikipedia Workers in Britain set global first by seeking union recognition

https://utaw.tech/news/wikipedia-recognition
96•chobeat•4h ago•105 comments

Dostoyevsky isn't difficult

https://www.autodidacts.io/dostoyevsky-isnt-difficult/
160•surprisetalk•2d ago•188 comments

Medical students are using popular research tool to pump out misleading studies

https://www.science.org/content/article/medical-students-are-using-popular-research-tool-pump-out...
61•rndsignals•8h ago•34 comments

GLM-5.2 is a step change for open agents

https://www.interconnects.ai/p/glm-52-is-the-step-change-for-open
248•vantareed•2d ago•146 comments

RubyLLM: A Ruby framework for all major AI providers

https://rubyllm.com/
394•doener•20h ago•68 comments

Qualcomm to Acquire Modular

https://www.reuters.com/business/qualcomm-buy-ai-startup-modular-2026-06-24/
204•timmyd•21h ago•76 comments

Lies, Damn Lies and Database Benchmarks

https://questdb.com/blog/lies-damn-lies-and-database-benchmarks/
9•eigenBasis•2d ago•1 comments

Show HN: Nimic – Pure Python as a systems language with AOT compilation

https://github.com/dima-quant/nimic
20•dima-quant•1d ago•15 comments

PR spam today looks like email spam in the early 2000s

https://www.greptile.com/blog/prs-on-openclaw
230•dakshgupta•20h ago•135 comments

Zombie unicorns are haunting Silicon Valley

https://www.economist.com/business/2026/06/21/zombie-unicorns-are-haunting-silicon-valley
113•andsoitis•9h ago•62 comments

The Xteink X4 E-Ink Reader

https://blog.omgmog.net/post/xteink-x4-e-ink-reader/
262•felixdoerp•18h ago•150 comments

Computer use in Gemini 3.5 Flash

https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-computer-use-...
225•swolpers•18h ago•146 comments

Mixing Visual and Textual Code

https://arxiv.org/abs/2603.15855
52•doppioandante•10h ago•21 comments

Matt's Script Archive: The Scripts That Reshaped the Web

https://tedium.co/2026/06/22/matts-script-archive-retrospective/
57•1317•2d ago•17 comments

Show HN: Write SaaS apps where users control where their data is stored

https://github.com/wolfoo2931/linkedrecords/
52•WolfOliver•6d ago•28 comments

Aisle Discovers 6 New CVEs in Curl, Including the Oldest Issue Ever Reported

https://aisle.com/blog/aisle-discovers-6-new-cves-in-curl-including-the-oldest-issue-ever-reported
19•ragebol•3h ago•16 comments

A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding

https://labs.iximiuz.com/tutorials/ssh-tunnels
345•signa11•5d ago•64 comments

Show HN: Nub – A Bun-like all-in-one toolkit for Node.js

https://github.com/nubjs/nub
247•colinmcd•21h ago•68 comments

Krea 2: SOTA open-weights 12B image model

https://www.krea.ai/blog/krea-2-technical-report
387•mattnewton•1d ago•43 comments