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

Comments

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

Why Twilio Segment moved from microservices back to a monolith

https://www.twilio.com/en-us/blog/developers/best-practices/goodbye-microservices
77•birdculture•2h ago•56 comments

Multiple shootings by active shooter at Brown University

https://www.brown.edu/
14•867-5309•8m ago•0 comments

Recovering Anthony Bourdain's (really) lost Li.st's

https://sandyuraz.com/blogs/bourdain/
49•thecsw•1h ago•5 comments

VPN location claims don't match real traffic exits

https://ipinfo.io/blog/vpn-location-mismatch-report
179•mmaia•3h ago•100 comments

I fed 24 years of my blog posts to a Markov model

https://susam.net/fed-24-years-of-posts-to-markov-model.html
48•zdw•2h ago•17 comments

I tried Gleam for Advent of Code

https://blog.tymscar.com/posts/gleamaoc2025/
202•tymscar•6h ago•117 comments

The Rise of Computer Games, Part I: Adventure

https://technicshistory.com/2025/12/13/the-rise-of-computer-games-part-i-adventure/
23•cfmcdonald•2h ago•3 comments

Want to sway an election? Here’s how much fake online accounts cost

https://www.science.org/content/article/want-sway-election-here-s-how-much-fake-online-accounts-cost
87•rbanffy•2h ago•37 comments

Useful patterns for building HTML tools

https://simonwillison.net/2025/Dec/10/html-tools/
214•simonw•3d ago•61 comments

Cryptids

https://wiki.bbchallenge.org/wiki/Cryptids
78•frozenseven•1w ago•12 comments

Ask HN: How can I get better at using AI for programming?

153•lemonlime227•7h ago•195 comments

From Azure Functions to FreeBSD

https://jmmv.dev/2025/12/from-azure-functions-to-freebsd.html
52•todsacerdoti•5d ago•3 comments

Go Proposal: Secret Mode

https://antonz.org/accepted/runtime-secret/
135•enz•4d ago•60 comments

Flat-pack washing machine spins a fairer future

https://www.positive.news/society/flat-pack-washing-machine-spins-a-fairer-future/
6•ohjeez•36m ago•0 comments

What is the nicest thing a stranger has ever done for you?

https://louplummer.lol/nice-stranger/
262•speckx•2d ago•203 comments

EasyPost (YC S13) Is Hiring

https://www.easypost.com/careers
1•jstreebin•6h ago

Are we stuck with the same Desktop UX forever? [video]

https://www.youtube.com/watch?v=1fZTOjd_bOQ
69•joelkesler•4h ago•83 comments

Researchers seeking better measures of cognitive fatigue

https://www.nature.com/articles/d41586-025-03974-w
95•bikenaga•3d ago•26 comments

Photographer built a medium-format rangefinder

https://petapixel.com/2025/12/06/this-photographer-built-an-awesome-medium-format-rangefinder-and...
156•shinryuu•1w ago•35 comments

A Giant Ball Will Help This Man Survive a Year on an Iceberg

https://www.outsideonline.com/outdoor-adventure/exploration-survival/how-giant-ball-will-help-man...
22•areoform•7h ago•27 comments

Will West Coast Jazz Get Some Respect?

https://www.honest-broker.com/p/will-west-coast-jazz-finally-get
62•paulpauper•1w ago•39 comments

Pig Video Arcades Critique Life in the Pen (1997)

https://www.wired.com/1997/06/pig-video-arcades-critique-life-in-the-pen/
4•naryJane•5d ago•1 comments

TigerBeetle as a File Storage

https://aivarsk.com/2025/12/07/tigerbeetle-blob-storage/
5•aivarsk•6d ago•1 comments

Purdue University Approves New AI Requirement for All Undergrads

https://www.forbes.com/sites/michaeltnietzel/2025/12/13/purdue-university-approves-new-ai-require...
34•rmason•2h ago•26 comments

Using Python for Scripting

https://hypirion.com/musings/use-python-for-scripting
74•birdculture•5d ago•64 comments

A Lisp Interpreter Implemented in Conway's Game of Life (2021)

https://woodrush.github.io/blog/posts/2022-01-12-lisp-in-life.html
84•pabs3•20h ago•3 comments

Java FFM zero-copy transport using io_uring

https://www.mvp.express/
94•mands•6d ago•42 comments

GNU Unifont

https://unifoundry.com/unifont/index.html
316•remywang•1d ago•72 comments

Beautiful Abelian Sandpiles

https://eavan.blog/posts/beautiful-sandpiles.html
132•eavan0•4d ago•22 comments

A 'toaster with a lens': The story behind the first handheld digital camera

https://www.bbc.com/future/article/20251205-how-the-handheld-digital-camera-was-born
74•selvan•5d ago•42 comments