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•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?

Cloudflare Flagship

https://developers.cloudflare.com/flagship/
166•tjek•7h ago•76 comments

That Methyl Methacrylate Tank

https://www.science.org/content/blog-post/methyl-methacrylate-tank
300•nooks•11h ago•112 comments

I built a Git-tracked book production pipeline

https://www.djspeckhals.com/posts/2026-05-22-how-i-bypassed-adobe-and-microsoft-to-build-a-git-tr...
210•dustin1114•4d ago•58 comments

A few interesting modern pixel fonts

https://unsung.aresluna.org/a-few-interesting-modern-pixel-fonts/
314•zdw•1d ago•67 comments

A history of obituaries in American newspapers

https://blogs.loc.gov/headlinesandheroes/2026/05/mourn-not-a-history-of-obituaries-in-american-ne...
12•NaOH•2d ago•0 comments

From Rust to Ruby

https://xlii.space/eng/from-rust-to-ruby/
95•xlii•8h ago•59 comments

Tunecat: Simple Internet Radio

https://codeberg.org/lindenii/tunecat/
38•croottree•5h ago•1 comments

IBM Confidential: System/360 File Organization [video]

https://www.youtube.com/watch?v=zokKqP0plrM
25•DaiPlusPlus•2d ago•4 comments

The worst job interview I ever had

https://www.oliverio.dev/blog/the-worst-job-interview-i-had
181•oliverio•10h ago•151 comments

Splinter Cell veteran says realistic modern lighting has screwed up stealth game

https://www.rockpapershotgun.com/splinter-cell-veteran-says-realistic-modern-lighting-has-screwed...
51•Tomte•2d ago•16 comments

A portentous reunion

https://bcantrill.dtrace.org/2026/05/25/a-portentous-reunion/
83•cafkafk•1d ago•24 comments

Launch HN: Minicor (YC P26) – Windows desktop automations at scale

https://www.minicor.com/
85•fchishtie•15h ago•53 comments

Rosalind: A genomics toolkit in Rust running whole-genome pipelines on a laptop

https://github.com/logannye/rosalind
148•samuell•5d ago•37 comments

Big tech's anti-labor playbook has come for Wikipedia

https://medium.com/@jakeorlowitz/wikipedia-is-doing-the-capitalist-thing-56a393232943
443•cdrnsf•10h ago•261 comments

Spain blocks prediction markets Polymarket, Kalshi over lack of gambling licence

https://www.reuters.com/business/spain-blocks-prediction-markets-polymarket-kalshi-over-lack-gamb...
862•thm•17h ago•398 comments

Where does next-token prediction leave us?

https://pop.rdi.sh/where-does-next-token-prediction-leave-us/
156•0x5FC3•5h ago•98 comments

C array types are weird

https://anselmschueler.com/blogposts/2025-c-pointers/
70•signa11•2d ago•58 comments

Stripe is friendly to “friendly fraud”

https://www.gingerlime.com/2026/stripe-seem-friendly-to-friendly-fraud/
222•gingerlime•5h ago•146 comments

What I've Learned (So Far) Building Online Mini Games with Elixir and Swift

https://calvinflegal.com/2026/05/24/what-ive-learned-so-far-building-online-mini-games-with-elixi...
31•calflegal•2d ago•15 comments

The Forgotten Art of the LAN Party (2023)

https://www.superjumpmagazine.com/the-forgotten-art-of-the-lan-party/
109•susam•3d ago•31 comments

Dropbox CEO Drew Houston to step down

https://www.cnbc.com/2026/05/26/dropbox-ceo-drew-houston-ashraf-alkarmi.html
332•aghuang•17h ago•355 comments

The Steinwinter Supercargo

https://www.thedrive.com/article/12603/the-forgotten-steinwinter-supercargo-is-unlike-anything-on...
61•itronitron•3d ago•16 comments

Sonny Rollins, jazz saxophonist, has died

https://www.rollingstone.com/music/music-news/sonny-rollins-jazz-legend-saxophone-colossus-dead-o...
96•boarsofcanada•6h ago•13 comments

Erin Brockovich made a map to track data centers around the country

https://www.niemanlab.org/2026/05/erin-brockovich-made-a-map-to-track-data-centers-around-the-cou...
194•cratermoon•6h ago•189 comments

What color is your function? (2015)

https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/
116•tosh•14h ago•143 comments

The just-say-no engineer was a ZIRP phenomenon

https://www.seangoedecke.com/the-just-say-no-engineer-was-a-zirp-phenomenon/
122•jxmorris12•2h ago•102 comments

The real cost of owning a home

https://ericturner.dev/posts/cost-of-home-ownership/
346•ggcr•14h ago•725 comments

Outsourcing plus local AI will soon become more economical vs. frontier labs

https://www.signalbloom.ai/posts/outsourcing-plus-localai-will-soon-become-more-economical-vs-fro...
272•GodelNumbering•18h ago•296 comments

C64 Basic: Game Map Overhead “Camera View”

https://retrogamecoders.com/overhead-camera-view/
85•ibobev•16h ago•11 comments

Are we self-sovereign PKI yet?

https://buffrr.dev/blog/are-we-self-sovereign-pki-yet/
88•ca98am79•5d ago•54 comments