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?

OnePlus halts operations in USA and Europe

https://community.oneplus.com/thread/2170715118587871237
247•pilililo2•4h ago•137 comments

Goes-19 weather satellite enters Safe Hold mode

https://www.spaceweather.gov/news/goes-19-safe-hold
27•yabones•53m ago•7 comments

Let's Build PlanetScale from Scratch: Infrastructure

https://onatm.dev/2026/07/16/homescale-part-1/
58•onatm•2h ago•8 comments

Show HN: AI Law Tracker – one audited API for US, EU and global AI law

https://ai-law-tracker.com
11•asm28208•31m ago•4 comments

How to spend 15 years perfecting a product

https://refactoring.guru/email/gbb-rollout2
18•neochief•42m ago•2 comments

Show HN: I've built a words game based on binary search

https://hilogame.cc/
15•ludovicianul•1h ago•13 comments

Ente – Opening Our Books

https://ente.com/open/
85•Sherex•3h ago•26 comments

The lost joy of music piracy

https://www.pigeonsandplanes.com/read/music-piracy-what-cd-oink-nine-inch-nails-streaming
536•mcgin•9h ago•344 comments

Where are YC founders now? OpenAI and Anthropic, mostly

https://joinedanthropic.com
175•ohong•6h ago•85 comments

Sony Deletes a Bunch More Movies from the Accounts of People Who 'Bought' Them

https://www.techdirt.com/2026/07/15/sony-deletes-a-bunch-more-movies-from-the-accounts-of-people-...
93•nekusar•2h ago•39 comments

Inkling: Our Open-Weights Model

https://thinkingmachines.ai/news/introducing-inkling/
1100•vimarsh6739•20h ago•272 comments

Teen hackers who live streamed cyber-attack on TfL jailed

https://www.bbc.com/news/articles/c4gyg0y6yg2o
20•neversaydie•2h ago•7 comments

The Act and the Outcome of Creation

https://www.ssp.sh/blog/on-creation/
19•zazuke•2h ago•1 comments

A Beautiful Theory Falls to Ugly Data

https://marginalrevolution.com/marginalrevolution/2026/05/a-beautiful-theory-falls-to-ugly-data.html
56•paulpauper•3d ago•34 comments

The LLM Critics Are Right. I Use LLMs Anyway

https://www.theocharis.dev/blog/llm-critics-are-right-i-use-llms-anyway/
91•JeremyTheo•2h ago•95 comments

Track your workout from the iPhone Lock Screen

https://musklr.com/blog/2026/iphone-lock-screen-workout-tracking-live-activity/
22•badgag•3h ago•17 comments

1,300 Beautiful Wildlife Illustrations from the 19th Century Now Restored

https://www.openculture.com/2026/07/explore-1300-beautiful-wildlife-illustrations-from-the-19th-c...
160•gslin•11h ago•30 comments

Teardown: A Generic 7-Port USB 3.0 Hub That Wasn't

https://goughlui.com/2026/07/09/teardown-a-generic-7-port-usb-3-0-hub-that-wasnt/
132•speckx•3d ago•55 comments

Show HN: We hid a backdoor in an LLM – $51,200 on finding it

https://protora.vulcora.se/challenge
3•telaia396•49m ago•3 comments

Panel meter calculator with floating point

https://lcamtuf.substack.com/p/panel-meter-calculator-with-floating
16•surprisetalk•3d ago•0 comments

Let's build a simple interpreter for APL – part 1

https://mathspp.com/blog/lsbasi-apl-part1
21•mpweiher•6d ago•0 comments

Grok Build is open source

https://github.com/xai-org/grok-build
520•skp1995•17h ago•555 comments

Governments, companies, nonprofits should invest in free, open source AI [pdf]

https://www.siegelendowment.org/wp-content/uploads/2026/07/fortune-david-siegel-open-source-ai.pdf
243•bilsbie•17h ago•88 comments

If you want to create a button from scratch, you must first create the universe

https://madcampos.dev/blog/2026/07/accessibility-from-scratch/
191•treve•10h ago•92 comments

SQLite should have (Rust-style) editions

https://mort.coffee/home/sqlite-editions/
316•gnyeki•15h ago•146 comments

Introduction to KizunaShelf: A shelf for everything you love

https://mudkip.me/2026/07/16/Introduction-to-KizunaShelf/
9•mudkipme•1h ago•1 comments

World-War-Ⅱ-era telephone line still in use in Upper Tanana Valley Alaska (2021)

https://www.sketchesofalaska.com/2021/03/world-war-ii-era-telephone-line-still.html
8•Lammy•5d ago•1 comments

Bluesky Trademarks ATProto

https://atproto.com/blog/at-protocol-trademark
152•chaosharmonic•13h ago•92 comments

Reynard: A real Firefox web browser for iOS 13 or later

https://github.com/minh-ton/reynard-browser
106•AbuAssar•9h ago•27 comments

I also filed the corners off my MacBook

https://www.brt.fyi/posts/mac-book-filing/
258•maxbrt•1d ago•152 comments