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?

Let your AI agents paint big arrows, boxes and text on your screen

https://github.com/franzenzenhofer/big-arrow-on-the-screen
141•franze•2h ago•48 comments

Nobel Peace Prize for 2026 to Navanethem "NAVI" Pillay

https://www.nobelprize.org/prizes/peace/2026/press-release/
161•Anon84•3h ago•78 comments

I'm in a Meeting

https://iminafleeting.com/
142•splintersio•3h ago•48 comments

Why isn't the industry freaking out about DeepSeek 4.1 Flash?

https://www.dgt.is/blog/2026-10-07-deepseek-freek-out/
868•jonotime•1d ago•776 comments

Whistle: Speech to Text in 16.9 MB

https://cactuscompute.com/blog/whistle
816•gmays•20h ago•165 comments

Once: Cache CLI Commands

https://github.com/alex0ptr/once
25•baquero•3h ago•8 comments

MXC - a sandboxed code execution system

https://github.com/microsoft/mxc
75•nreece•7h ago•42 comments

Man discovers his parents' coffee machine used 1TB of data in 10 days

https://www.dexerto.com/entertainment/man-discovers-his-parents-coffee-machine-used-1tb-of-data-i...
776•ck2•1d ago•476 comments

Keyboard differences between Windows and Macs

https://unsung.aresluna.org/deeper-dive-keyboard-differences-between-windows-and-macs/
198•sohkamyung•10h ago•176 comments

I hired an illustrator to draw my house. Now it's my Home Assistant dashboard

https://antonfrolov.substack.com/p/i-hired-an-illustrator-to-draw-my
724•soheilpro•2d ago•148 comments

Yes, and

https://htmx.org/essays/yes-and/
533•Michelangelo11•1d ago•188 comments

The Hetzner Cloud network stack – history and technical overview

https://www.hetzner.com/blog/the-hetzner-cloud-network-stack-history-and-technical-overview/
20•cnkk•53m ago•2 comments

Theranos.world

https://www.theranos.world/
483•kbyatnal•19h ago•172 comments

OpenAI fires three safety researchers for "mishandling research information"

https://techcrunch.com/2026/10/08/fired-openai-safety-researchers-dispute-misconduct-claims-warn-...
76•trakkstar•3h ago•39 comments

The value of not getting to the point (2015)

https://ken.arneson.name/2015/11/the-value-of-not-getting-to-the-point/
188•NaOH•18h ago•65 comments

Ask HN: What do you run on a $5 VPS that's worth keeping online 24/7?

279•mariocesar•2d ago•454 comments

OpenAI, the Partition Principle, and Mathematics

https://karagila.org/2026/openai-pp/
142•md224•13h ago•225 comments

ETH-68: Ethernet Audio Interface for Linux

https://naturalsystems.io/eth68
177•chabad360•1d ago•104 comments

AI-ready biological data: $1.8B global commitment

https://biohub.org/news/virtual-biology-initiative-expansion/
133•ray__•16h ago•19 comments

Beauty in DVD Menus

https://vale.rocks/posts/dvd-menus
319•speckx•23h ago•167 comments

DuckDB Ducklake

https://github.com/duckdb/ducklake
198•saikatsg•1d ago•23 comments

Show HN: Quake ported to safe Rust, playable in browser

https://quake-srp.pages.dev/
192•ilreb•7h ago•153 comments

A Terminal Protocol for Program Status (OSC 7501)

https://mitchellh.com/writing/program-status-osc7501
164•mfiguiere•2d ago•50 comments

Show HN: Making a flexible "neon" t-shirt with LED filaments

http://scottbezek.blogspot.com/2026/10/making-flexible-neon-t-shirt-with-leds.html
189•scottbez1•20h ago•33 comments

OpenAI withdraws three mathematical results

https://twitter.com/danintheory/status/2108065033070789090
339•sashank_1509•1d ago•584 comments

I think I found a planet nobody knew existed. I used Claude Code to find it

https://www.reddit.com/r/ClaudeAI/s/mbe5IY2LF9
218•pyduan•1d ago•105 comments

US proposes $100k charge for international students to do post-graduate work

https://www.nature.com/articles/d41586-026-02921-7
44•bluenose69•1h ago•48 comments

ADHD as a circadian rhythm disorder: evidence and implications for chronotherapy (2025)

https://www.frontiersin.org/journals/psychiatry/articles/10.3389/fpsyt.2025.1697900/full
346•bookofjoe•16h ago•222 comments

Step 5 Preview, a 1M-context MoE from StepFun, shows up on OpenRouter

https://openrouter.ai/stepfun/step-5-preview
133•AnneWodell•20h ago•33 comments

Iranian campaign planted fake articles in real U.S. publications using ChatGPT

https://www.washingtonpost.com/technology/2026/10/09/chatgpt-users-iran-planted-ai-generated-arti...
6•cainxinth•52m ago•0 comments