frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•10mo ago

Comments

bschwindHN•10mo 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•10mo 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•10mo 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?

Have a Fucking Website

https://www.otherstrangeness.com/2026/03/14/have-a-fucking-website/
187•asukachikaru•3h ago•87 comments

JPEG Compression

https://www.sophielwang.com/blog/jpeg
19•vinhnx•4d ago•0 comments

SSH has no Host header

https://blog.exe.dev/ssh-host-header
68•apitman•1h ago•46 comments

A Decade of Slug

https://terathon.com/blog/decade-slug.html
538•mwkaufma•11h ago•47 comments

Microsoft's 'unhackable' Xbox One has been hacked by 'Bliss'

https://www.tomshardware.com/video-games/console-gaming/microsofts-unhackable-xbox-one-has-been-h...
626•crtasm•15h ago•220 comments

More than 135 open hardware devices flashable with your own firmware

https://openhardware.directory
160•iosifnicolae2•4d ago•12 comments

Mistral AI Releases Forge

https://mistral.ai/news/forge
284•pember•9h ago•49 comments

Python 3.15's JIT is now back on track

https://fidget-spinner.github.io/posts/jit-on-track.html
342•guidoiaquinti•12h ago•164 comments

Get Shit Done: A meta-prompting, context engineering and spec-driven dev system

https://github.com/gsd-build/get-shit-done
292•stefankuehnel•10h ago•143 comments

The pleasures of poor product design

https://www.inconspicuous.info/p/the-pleasures-of-poor-product-design
74•NaOH•5h ago•24 comments

Show HN: Sub-millisecond VM sandboxes using CoW memory forking

https://github.com/adammiribyan/zeroboot
120•adammiribyan•17h ago•24 comments

A tale about fixing eBPF spinlock issues in the Linux kernel

https://rovarma.com/articles/a-tale-about-fixing-ebpf-spinlock-issues-in-the-linux-kernel/
69•y1n0•6h ago•2 comments

Why AI systems don't learn – On autonomous learning from cognitive science

https://arxiv.org/abs/2603.15381
84•aanet•9h ago•26 comments

Unsloth Studio

https://unsloth.ai/docs/new/studio
247•brainless•15h ago•50 comments

It Took Me 30 Years to Solve This VFX Problem – Green Screen Problem [video]

https://www.youtube.com/watch?v=3Ploi723hg4
217•yincrash•4d ago•92 comments

Electron microscopy shows ‘mouse bite’ defects in semiconductors

https://news.cornell.edu/stories/2026/03/electron-microscopy-shows-mouse-bite-defects-semiconductors
53•hhs•4d ago•10 comments

Launch HN: Kita (YC W26) – Automate credit review in emerging markets

37•rheamalhotra1•11h ago•5 comments

Honda is killing its EVs

https://techcrunch.com/2026/03/14/honda-is-killing-its-evs-and-any-chance-of-competing-in-the-fut...
288•sylvainkalache•2d ago•602 comments

Launch an autonomous AI agent with sandboxed execution in 2 lines of code

https://amaiya.github.io/onprem/examples_agent.html
26•wiseprobe•5h ago•4 comments

I Simulated 38,612 Countryle Games to Find the Best Strategy

https://stoffregen.io/posts/countryle/
12•st0ffregen•1d ago•2 comments

Switzerland Built an Alternative to BGP

https://www.theregister.com/2026/03/17/switzerland_bgp_alternative/
20•jonbaer•1h ago•2 comments

Ryugu asteroid samples contain all DNA and RNA building blocks

https://phys.org/news/2026-03-ryugu-asteroid-samples-dna-rna.html
220•bookofjoe•18h ago•122 comments

Forget Flags and Scripts: Just Rename the File

https://robertsdotpm.github.io/software_engineering/program_names_as_input.html
15•Uptrenda•2h ago•14 comments

Leviathan (1651)

https://www.gutenberg.org/files/3207/3207-h/3207-h.htm
38•mrwh•3d ago•12 comments

Edge.js: Run Node apps inside a WebAssembly sandbox

https://wasmer.io/posts/edgejs-safe-nodejs-using-wasm-sandbox
126•syrusakbary•12h ago•36 comments

Show HN: Fatal Core Dump – A debugging murder mystery played with GDB

https://www.robopenguins.com/fatal_core_dump/
51•axlan•4d ago•1 comments

Robotocore · a Digital Twin of AWS

https://github.com/robotocore/robotocore
14•pkaeding•5h ago•1 comments

Kagi Small Web

https://kagi.com/smallweb/
735•trueduke•21h ago•198 comments

Show HN: I built an interactive 3D three-body problem simulator in the browser

https://structuredlabs.github.io/threebodyproblem/
45•amrutha_•4d ago•16 comments

Spice Data (YC S19) Is Hiring a Product Specialist

https://www.ycombinator.com/companies/spice-data/jobs/P0e9MKz-product-specialist-new-grad
1•richard_pepper•13h ago