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?

Exploit brokers pay $500k for WordPress RCEs. I found one with GPT5.6 and $25

https://slcyber.io/research-center/exploit-brokers-pay-500000-for-a-wordpress-rce-i-found-one-wit...
92•infosecau•2h ago•50 comments

Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s

2356•section33•19h ago•254 comments

Moonshine: Lets you stream games from your PC to any device running Moonlight

https://github.com/hgaiser/moonshine
191•wertyk•10h ago•83 comments

LoRA Speedrun – a public wall-clock leaderboard for fine-tuning techniques

https://github.com/Saivineeth147/lora-speedrun
83•Vineeth147•6h ago•11 comments

Sealed tomb filled with paintings and inscriptions discovered in Egypt

https://www.labrujulaverde.com/en/2026/07/sealed-tomb-of-a-high-official-or-priest-filled-with-pa...
44•isaacfrond•5d ago•34 comments

Eliminating Go bounds checks with unsafe

https://blog.andr2i.com/posts/2026-07-06-eliminating-go-bound-checks-with-unsafe
14•abnercoimbre•5d ago•10 comments

Claude Code uses Bun written in Rust now

https://simonwillison.net/2026/Jul/19/claude-code-in-bun-in-rust/
528•tosh•1d ago•701 comments

Self-Powered Trailers Promise Leaner Freight Runs

https://spectrum.ieee.org/self-powered-trailers-freight-decarbonization
42•rbanffy•1w ago•20 comments

Orion Browser by Kagi

https://orionbrowser.com/
209•sebjones•15h ago•145 comments

What I learned selling 2,500 MIDI recorders: Hardware is not so hard

https://chipweinberger.com/articles/20260719-hardware-is-not-so-hard
495•chipweinberger•23h ago•230 comments

Minecraft: Java Edition now uses SDL3

https://www.minecraft.net/en-us/article/minecraft-26-3-snapshot-4
321•ObviouslyFlamer•22h ago•208 comments

Xiaomi-Robotics-1

https://robotics.xiaomi.com/xiaomi-robotics-1.html
230•ilreb•5h ago•164 comments

The Zen of Parallel Programming

https://smolnero.com/posts/the-zen-of-parallel-programming
165•edgar_ortega•5d ago•23 comments

1-Bit LLM in the Browser

https://huggingface.co/spaces/webml-community/bonsai-webgpu
45•simonebrunozzi•3d ago•14 comments

Bananas sprout in Rayleigh Garden UK after 15 years

https://www.bbc.com/news/articles/cvg8edqq5g5o
160•teleforce•21h ago•119 comments

HomeLab #1: MikroTik as a Home Router

https://justsomebody.dev/blog/mikrotik-home-router
127•rafal_opilowski•15h ago•103 comments

Qwen 3.8

https://twitter.com/Alibaba_Qwen/status/2078759124914098291
887•nh43215rgb•1d ago•618 comments

11,700 Free Photos from John Margolies' Archive of Americana Architecture

https://www.openculture.com/2026/07/free-photos-from-john-margolies-archive-of-americana-architec...
68•gslin•4d ago•2 comments

When can a power company take your land for data center infrastructure?

https://theconversation.com/when-can-a-power-company-take-your-land-for-data-center-infrastructur...
104•1vuio0pswjnm7•6h ago•63 comments

Claude Fable produced a counterexample to the Jacobian Conjecture

https://xcancel.com/__alpoge__/status/2079028340955197566
416•loubbrad•7h ago•252 comments

I joined the IndieWeb, here's what I learned

https://en.andros.dev/blog/0b8e451e/i-joined-the-indieweb-heres-what-i-learned/
208•andros•23h ago•108 comments

Who Is America's Homer?

https://www.plough.com/articles/who-is-americas-homer
82•samclemens•5d ago•171 comments

HMD Touch 4G

https://www.hmd.com/en_int/hmd-touch-4g
79•thisislife2•17h ago•84 comments

I burned all my tokens researching how to save tokens

https://quesma.com/blog/custom-deep-research-pipeline/
134•bkotrys•22h ago•178 comments

C64 Basic Dungeon Crawler: Goblin Attack (C64 Basic Part 8)

https://retrogamecoders.com/c64-basic-dungeon-part8/
76•ibobev•19h ago•6 comments

Talk: The Art of Braiding Algorithms

https://pgadey.ca/notes/talk-relatorium-2026/
44•surprisetalk•4d ago•1 comments

Dupes took over the world

https://www.vox.com/podcasts/493930/dupe-culture-fender-ugg-quince-tiktok-amazon-online-shopping
98•gumby•5d ago•91 comments

Cagire: Live Coding in Forth

https://cagire.raphaelforment.fr
98•surprisetalk•1w ago•14 comments

Korg PS-3300 is back

https://www.korg.co.uk/blogs/updates/ps3300
54•Lio•5d ago•50 comments

Biggest Probabilistic Computer Turns Noise into Answers

https://spectrum.ieee.org/biggest-probabilistic-computer
73•rbanffy•12h ago•13 comments