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?

WallHop – 12ft.io is gone, so I built a replacement

https://wallhop.io/
86•TheWaffleHax•1h ago•48 comments

Build your own decision model

https://nishtahir.com/build-your-own-decision-model/
120•softwaredoug•3h ago•26 comments

2D Vehicles

https://patkerr.co.uk/2d-vehicles/
366•Michelangelo11•3d ago•83 comments

A city-building game in which the city would prefer you didn't

https://housing.over.pizza/
180•JumpCrisscross•5h ago•71 comments

Generative AI scandal has come to one of Nikon's competitions

https://www.dpreview.com/news/generative-ai-scandal-has-come-to-one-of-nikons-competitions/
18•DASD•1h ago•1 comments

PSPi 6 – Raspberry Pi in a PSP

https://github.com/othermod/PSPi-Version-6
12•therepanic•1h ago•1 comments

The Lightbulb Computer

https://lightbulbcomputer.com/
262•oskarth•22h ago•44 comments

Nix wrote half of my debugger

https://fzakaria.com/2026/10/07/nix-wrote-half-of-my-debugger
138•ingve•1d ago•23 comments

Knuth reward check

https://www.thomas-huehn.com/knuth-reward-check/
149•Curiositry•10h ago•56 comments

Five months treating bugs like patients and coding agents like a medical team

https://www.cockroachlabs.com/blog/experiment-running-hospital-code/
67•rafiss•1d ago•29 comments

Why DuckDB 2.0 is faster

https://motherduck.com/blog/why-duckdb-20-is-faster/
147•tosh•8h ago•50 comments

Talorys – A self-hosted personal AI agent on Cloudflare's free tier

https://github.com/rociiu/talorys
256•rociiu•15h ago•123 comments

Veda: The First Agentic Hobby Operating System

https://github.com/vahmoh25/Veda
14•vahmohh•1h ago•1 comments

Mxc: Microsoft Execution Containers version 1.0.0

https://blogs.windows.com/windowsdeveloper/2026/10/07/microsoft-execution-containers-policy-drive...
162•smokel•1d ago•38 comments

Anthropic asks users to stop being mean to Claude

https://www.theregister.com/ai-and-ml/2026/10/09/anthropic-asks-users-to-stop-being-mean-to-claud...
17•alex_young•59m ago•5 comments

Unikernels were hard. key word: were

https://ghuntley.com/unikernels/
104•ghuntley•11h ago•44 comments

Getting old Macromedia Director Games to run on modern Hardware

https://werwolv.net/posts/macromedia_copy_protection/
44•speckx•1d ago•6 comments

OpenSCAD the Programmers Solid 3D CAD Modeller

https://openscad.org/
109•b-man•4d ago•90 comments

Grieving the loss of details

https://purplesyringa.moe/blog/grieving-the-loss-of-details/
353•signa11•4d ago•281 comments

Retrofitting language models to operate over bytes

https://www.nature.com/articles/s41586-026-11111-4
6•theanonymousone•3d ago•0 comments

Nvidia in talks to acquire US 'open' model startup Reflection AI

https://www.ft.com/content/052610c5-22b4-4dd4-932e-b7f9f0628b6a
125•arkj•7h ago•84 comments

Rampart: Browser native on-device PII radaction

https://ndstudio.gov/posts/say-hello-to-rampart
75•nateb2022•1d ago•30 comments

Show HN: Diffle, a keyboard-centric diff viewer with LSP support

https://github.com/moritzwilksch/diffle
12•mwil1000•2d ago•1 comments

Recent AI models struggled to match a human algorithmic innovation

https://epoch.ai/publications/innovationeval
77•merksittich•1d ago•61 comments

Food processing influences metabolism and brain activity

https://news.vt.edu/articles/2026/10/research_fralinbiomed_upfhutelin.html
109•gmays•20h ago•87 comments

C for Rust programmers

https://bd103.dev/blog/2026-10-07-c-for-rust-programmers/
102•xyproto•2d ago•103 comments

Eye of Sauron: Long-Range Hidden Spy Camera Detection (2024)

https://www.usenix.org/conference/usenixsecurity24/presentation/zhang-qibo
316•ortusdux•3d ago•75 comments

Telegram Desktop vulnerability allowed any user's file to be stolen

https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/
420•g-b-r•23h ago•271 comments

Bitwarden Dual License Model

https://community.bitwarden.com/t/published-version-update-in-app-stores/102750
354•Cider9986•11h ago•253 comments

I would like the value of my home to rise, while my property taxes fall

https://conversableeconomist.com/2026/09/28/i-would-like-the-value-of-my-home-to-rise-while-my-pr...
221•colinprince•12h ago•516 comments