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?

The time the x86 emulator team found code so bad they fixed it during emulation

https://devblogs.microsoft.com/oldnewthing/20260615-00/?p=112419
241•paulmooreparks•5h ago•76 comments

A backdoor in a LinkedIn job offer

https://roman.pt/posts/linkedin-backdoor/
1166•lwhsiao•13h ago•216 comments

John Carmack on Fabrice Bellard

https://twitter.com/ID_AA_Carmack/status/2064095424420487226
257•apitman•4h ago•154 comments

Iroh 1.0

https://www.iroh.computer/blog/v1
1180•chadfowler•18h ago•358 comments

New way of making espresso with ultrasound

https://www.unsw.edu.au/newsroom/news/2026/06/New-way-making-espresso
17•darktoto•1h ago•31 comments

Banned Book Library in a Wi-Fi Smart Light Bulb

https://www.richardosgood.com/posts/banned-book-library/
379•sohkamyung•11h ago•200 comments

Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding?

984•cloudking•19h ago•442 comments

TinyWind: A pixel pirate sailing game with real wind physics (380k+ kms sailed)

https://tinywind.io
831•tinywind•17h ago•154 comments

Understanding the rationale behind a rule when trying to circumvent it

https://devblogs.microsoft.com/oldnewthing/20260611-00/?p=112415
24•tosh•2h ago•3 comments

Show HN: Garden of Flowers – an archive of pictorial typography before ASCII art

https://garden-of-flowers.heikkilotvonen.com/
72•california-og•5h ago•14 comments

Getting Creative with Perlin Noise Fields

https://sighack.com/post/getting-creative-with-perlin-noise-fields
9•0x000xca0xfe•2d ago•0 comments

I Love the Computer

https://michaelenger.com/blog/i-love-the-computer/
227•speckx•13h ago•134 comments

I hacked into the worst e-bike and fixed it [video]

https://www.youtube.com/watch?v=hPrtVGimBYs
95•alexis-d•5d ago•37 comments

Hetzner Price Adjustment

https://docs.hetzner.com/general/infrastructure-and-availability/price-adjustment/#cloud-servers
436•tuhtah•20h ago•599 comments

Why I email complete strangers

https://www.goodinternetmagazine.com/why-i-email-complete-strangers/
150•karakoram•11h ago•67 comments

My Homelab AI Dev Platform

https://rsgm.dev/post/ai-dev-platform/
309•rsgm•18h ago•55 comments

Cohere's First Model for Developers

https://cohere.com/blog/north-mini-code
89•hmokiguess•4d ago•20 comments

Peopleless economy? Not technically impossible

https://gmalandrakis.com/writings/ad-economicum.html
182•l0new0lf-G•12h ago•331 comments

Show HN: SharkClean MCP

https://github.com/a-funk/sharkclean-mcp
7•afunk•3d ago•2 comments

Humanity isn't ready for the coming intelligence explosion

https://www.economist.com/by-invitation/2026/06/15/humanity-isnt-ready-for-the-coming-intelligenc...
92•andsoitis•7h ago•266 comments

Fox to buy Roku

https://www.wsj.com/business/deals/fox-roku-deal-f6e564f9
319•thm•21h ago•391 comments

What job interviews taught me about Kubernetes

https://notnotp.com/notes/what-job-interviews-taught-me-about-kubernetes/
185•chmaynard•13h ago•132 comments

Copper transport drug restores memory and clears toxic Alzheimer's proteins

https://www.monash.edu/news/articles/copper-drug-restores-memory-and-clears-toxic-alzheimers-prot...
304•bookofjoe•19h ago•108 comments

Salesforce to Acquire Fin (formerly Intercom) for $3.6B

https://www.salesforce.com/news/press-releases/2026/06/15/salesforce-signs-definitive-agreement-t...
309•colesantiago•21h ago•227 comments

What every coder should know about gamma (2016)

https://blog.johnnovak.net/2016/09/21/what-every-coder-should-know-about-gamma/
98•sph•2d ago•28 comments

Game Engine White Papers: Commander Keen

https://forgottenbytes.net/commander_keen.html
207•mfiguiere•16h ago•69 comments

Amazon Announces Multibillion-Dollar Data Center in Missouri

https://www.narracomm.com/amazon-announces-multibillion-dollar-data-center-in-missouri/
110•thelonelyborg•9h ago•103 comments

How TimescaleDB compresses time-series data

https://roszigit.com/en/blog/timescaledb-compression-hypercore
152•lkanwoqwp•16h ago•18 comments

Claude Corps

https://www.anthropic.com/news/claude-corps
130•Mustan•16h ago•88 comments

Launch HN: Drafted (YC P26) – Models for residential architecture

54•PrimalNick•17h ago•59 comments