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

Comments

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

Is Rust faster than C?

https://steveklabnik.com/writing/is-rust-faster-than-c/
63•vincentchau•3d ago•36 comments

There's a ridiculous amount of tech in a disposable vape

https://blog.jgc.org/2026/01/theres-ridiculous-amount-of-tech-in.html
513•abnercoimbre•1d ago•448 comments

I’m leaving Redis for SolidQueue

https://www.simplethread.com/redis-solidqueue/
147•amalinovic•4h ago•55 comments

Why NUKEMAP isn't on Google Maps anymore (2019)

https://blog.nuclearsecrecy.com/2019/12/13/why-nukemap-isnt-on-google-maps-anymore/
47•fanf2•1h ago•3 comments

Show HN: Tiny FOSS Compass and Navigation App (<2MB)

https://github.com/CompassMB/MBCompass
50•nativeforks•2h ago•18 comments

1000 Blank White Cards

https://en.wikipedia.org/wiki/1000_Blank_White_Cards
236•eieio•10h ago•43 comments

ASCII Clouds

https://caidan.dev/portfolio/ascii_clouds/
243•majkinetor•11h ago•45 comments

Every GitHub object has two IDs

https://www.greptile.com/blog/github-ids
272•dakshgupta•22h ago•64 comments

Lago (Open-Source Billing) is hiring across teams and geos

1•Rafsark•1h ago

Putting the "You" in CPU (2023)

https://cpu.land/
68•vinhnx•4d ago•10 comments

A 40-line fix eliminated a 400x performance gap

https://questdb.com/blog/jvm-current-thread-user-time/
298•bluestreak•14h ago•63 comments

Servo 2025 Stats

https://blogs.igalia.com/mrego/servo-2025-stats/
102•todsacerdoti•1h ago•26 comments

Systematically generating tests that would have caught Anthropic's top‑K bug

https://theorem.dev/blog/anthropic-bug-test/
28•jasongross•2d ago•6 comments

Show HN: OSS AI agent that indexes and searches the Epstein files

https://epstein.trynia.ai/
125•jellyotsiro•11h ago•57 comments

The Gleam Programming Language

https://gleam.run/
175•Alupis•11h ago•97 comments

System Programming in Linux: A Hands-On Introduction "Demo" Programs

https://github.com/stewartweiss/intro-linux-sys-prog
15•teleforce•3h ago•0 comments

I Hate GitHub Actions with Passion

https://xlii.space/eng/i-hate-github-actions-with-passion/
60•xlii•3h ago•48 comments

No management needed: anti-patterns in early-stage engineering teams

https://www.ablg.io/blog/no-management-needed
238•tonioab•18h ago•241 comments

vLLM large scale serving: DeepSeek 2.2k tok/s/h200 with wide-ep

https://blog.vllm.ai/2025/12/17/large-scale-serving.html
122•robertnishihara•21h ago•40 comments

The truth behind the 2026 J.P. Morgan Healthcare Conference

https://www.owlposting.com/p/the-truth-behind-the-2026-jp-morgan
263•abhishaike•19h ago•54 comments

The $LANG Programming Language

229•dang•13h ago•44 comments

Show HN: 1D-Pong Game at 39C3

https://github.com/ogermer/1d-pong
48•oger•2d ago•10 comments

Are two heads better than one?

https://eieio.games/blog/two-heads-arent-better-than-one/
179•evakhoury•21h ago•56 comments

The Emacs Widget Library: A Critique and Case Study

https://www.d12frosted.io/posts/2025-11-26-emacs-widget-library
88•whacked_new•2d ago•29 comments

Show HN: The Tsonic Programming Language

https://tsonic.org
42•jeswin•20h ago•9 comments

April 9, 1940 a Dish Best Served Cold (2021)

https://todayinhistory.blog/2021/04/09/april-9-1940-a-dish-best-served-cold/
66•vinnyglennon•4d ago•11 comments

The Tulip Creative Computer

https://github.com/shorepine/tulipcc
229•apitman•20h ago•54 comments

AI generated music barred from Bandcamp

https://old.reddit.com/r/BandCamp/comments/1qbw8ba/ai_generated_music_on_bandcamp/
854•cdrnsf•19h ago•624 comments

How to make a damn website (2024)

https://lmnt.me/blog/how-to-make-a-damn-website.html
218•birdculture•20h ago•72 comments

Scott Adams has died

https://www.youtube.com/watch?v=Rs_JrOIo3SE
1003•ekianjo•22h ago•1534 comments