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?

Sleep regularity is a stronger predictor of mortality risk than sleep duration

https://academic.oup.com/sleep/article/47/1/zsad253/7280269
185•bilsbie•1h ago•72 comments

Prioritize mental health, and why communication is so important

https://ramones.dev/posts/mental-health/
58•ramon156•2h ago•35 comments

Jurassic Park computers in excruciating detail

https://fabiensanglard.net/jurrasic_park_computers/index.html
633•vinhnx•10h ago•151 comments

Show HN: For 10 World Cups, my model's 2 favorites had the champion every time

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7013338
25•fabioricardo7•2h ago•28 comments

Privacy Incidents – Real-world examples of why your photos need protection

https://snapsafe.org/incidents.html
4•Cider9986•16m ago•0 comments

The Three-Second Theft: Why AI Voice Fraud Outruns Every Defence

https://smarterarticles.co.uk/the-three-second-theft-why-ai-voice-fraud-outruns-every-defence
5•dxs•17m ago•0 comments

Telegram Serverless

https://core.telegram.org/bots/serverless
54•soheilpro•3h ago•37 comments

DSLs Enable Reliable Use of LLMs

https://martinfowler.com/articles/llm-and-dsls.html
59•SirOibaf•3h ago•30 comments

Jiga (YC W21) is hiring the best people to make manufacturing great again

https://jiga.io/about-us/
1•grmmph•1h ago

Weathergotchi – an open-source climate Tamagotchi

https://github.com/Michael-Manning/E-Paper-Climate-Logger
33•luanmuniz•2h ago•11 comments

Mysteries of Telegram Data Centers

https://dev.moe/en/3025
4•theanonymousone•13m ago•0 comments

Societal Impacts: Claude's values across models and languages

https://www.anthropic.com/research/claude-values-models-languages
25•taubek•2h ago•19 comments

SpaceX bond worth 10% less than issue price – heading for junk bond status

https://www.ft.com/content/3a023b95-66c3-41e1-b0ce-df752a499541
46•youngtaff•36m ago•6 comments

A Trip to 90s Kansai: Exploring the XD FirstClass Network BBS

https://cdrom.ca/games/2026/05/30/xd.html
27•zetamax•1d ago•0 comments

Bonsai 27B: A 27B-Class model that runs on a phone

https://prismml.com/news/bonsai-27b
647•xenova•19h ago•229 comments

Vancouver PD website features Quick Escape button that wipes itself from history

https://vpd.ca/
315•LookAtThatBacon•13h ago•126 comments

What `for x in y` hides from you – From Scratch Code

https://fromscratchcode.com/blog/what-for-x-in-y-hides-from-you/
4•rbanffy•38m ago•0 comments

Neverclick: Desktop application for performing mouse actions with your keyboard

https://github.com/LazoVelko/neverclick
33•thunderbong•3d ago•35 comments

TS-2026-009: Insecure argument handling in Tailscale SSH permitted root access

https://tailscale.com/security-bulletins
185•jervant•12h ago•107 comments

Latent Space as a New Medium

https://kevinkelly.substack.com/p/latent-space-as-a-new-medium
18•thm•1d ago•2 comments

What's the most popular number in Hacker News titles?

https://blog.omgmog.net/post/most-popular-numbers-in-hn-post-titles/
3•omgmog•54m ago•0 comments

Germany maybe found a new source of renewable energy

https://www.schweizerbart.de/papers/zdgg/detail/prepub/108503/Geological_and_geophysical_characte...
3•janandonly•1h ago•0 comments

Briar Is in Maintenance Mode

https://briarproject.org/news/2026-maintenance-mode/
3•ristello•1h ago•0 comments

Bootstrapping GDC with DMD

https://briancallahan.net/blog/20260713.html
3•LorenDB•1d ago•0 comments

The Tower Keeps Rising

https://lucumr.pocoo.org/2026/7/13/the-tower-keeps-rising/
514•cdrnsf•20h ago•239 comments

Using Go for Mobile Apps

https://www.davidsobsessions.com/p/one-year-of-gomobile/
13•theHocineSaad•4h ago•4 comments

Cursor 0day: When Full Disclosure Becomes the Only Protection Left

https://mindgard.ai/blog/cursor-0day-when-full-disclosure-becomes-the-only-protection-left
410•Synthetic7346•19h ago•191 comments

Richard Feynman and the Connection Machine

https://longnow.org/ideas/richard-feynman-and-the-connection-machine/
3•yankcrime•1h ago•1 comments

Who's running all those tiny RPKI servers?

https://blog.apnic.net/2026/07/15/whos-running-all-those-tiny-rpki-servers/
56•enz•6h ago•8 comments

How I use HTMX with Go

https://www.alexedwards.net/blog/how-i-use-htmx-with-go
288•gnabgib•17h ago•89 comments