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

Comments

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

Show HN: Context Mode – 315 KB of MCP output becomes 5.4 KB in Claude Code

https://github.com/mksglu/claude-context-mode
8•mksglu•19m ago•0 comments

I'm helping my dog vibe code games

https://www.calebleak.com/posts/dog-game/
798•cleak•13h ago•222 comments

Cl-kawa: Scheme on Java on Common Lisp

https://github.com/atgreen/cl-kawa
15•varjag•2d ago•0 comments

Show HN: Moonshine Open-Weights STT models – higher accuracy than WhisperLargev3

https://github.com/moonshine-ai/moonshine
206•petewarden•8h ago•38 comments

Mercury 2: The fastest reasoning LLM, powered by diffusion

https://www.inceptionlabs.ai/blog/introducing-mercury-2
168•fittingopposite•7h ago•82 comments

Pi – A minimal terminal coding harness

https://pi.dev
286•kristianpaul•8h ago•117 comments

Mac mini will be made at a new facility in Houston

https://www.apple.com/newsroom/2026/02/apple-accelerates-us-manufacturing-with-mac-mini-production/
459•haunter•9h ago•443 comments

Amazon accused of widespread scheme to inflate prices across the economy

https://www.thebignewsletter.com/p/amazon-busted-for-widespread-price
317•toomuchtodo•5h ago•96 comments

Hacking an old Kindle to display bus arrival times

https://www.mariannefeng.com/portfolio/kindle/
216•mengchengfeng•10h ago•49 comments

Justifying Text-Wrap: Pretty

https://matklad.github.io/2026/02/14/justifying-text-wrap-pretty.html
84•surprisetalk•5d ago•30 comments

Nearby Glasses

https://github.com/yjeanrenaud/yj_nearbyglasses
288•zingerlio•13h ago•112 comments

I pitched a roller coaster to Disneyland at age 10 in 1978

https://wordglyph.xyz/one-piece-at-a-time
431•wordglyph•17h ago•161 comments

Steel Bank Common Lisp

https://www.sbcl.org/
186•tosh•12h ago•70 comments

Georgian wine culture dates back, uninterrupted, approximately 8k years

https://www.wsetglobal.com/knowledge-centre/blog/2023/july/05/exploring-georgian-wine-history-gra...
31•Anon84•4d ago•14 comments

Anthropic Drops Flagship Safety Pledge

https://time.com/7380854/exclusive-anthropic-drops-flagship-safety-pledge/
193•cwwc•5h ago•77 comments

Corgi Labs (YC W23) Is Hiring

https://www.ycombinator.com/companies/corgi-labs/jobs/ZiEIf7a-founders-associate
1•leastsquares•5h ago

Hugging Face Skills

https://github.com/huggingface/skills
150•armcat•13h ago•43 comments

Aesthetics of single threading

https://ta.fo/aesthetics-of-single-threading/
57•todsacerdoti•3d ago•14 comments

Turing Completeness of GNU Find: From Mkdir-Assisted Loops to Standalone Comput

https://arxiv.org/abs/2602.20762
3•todsacerdoti•1h ago•0 comments

Show HN: Emdash – Open-source agentic development environment

https://github.com/generalaction/emdash
130•onecommit•12h ago•55 comments

Looks like it is happening

https://www.math.columbia.edu/~woit/wordpress/?p=15500
158•jjgreen•9h ago•103 comments

Stripe valued at $159B, 2025 annual letter

https://stripe.com/newsroom/news/stripe-2025-update
190•jez•16h ago•206 comments

We installed a single turnstile to feel secure

https://idiallo.com/blog/installed-single-turnstile-for-security-theater
317•firefoxd•2d ago•143 comments

Optophone

https://en.wikipedia.org/wiki/Optophone
64•Hooke•4d ago•10 comments

IRS Tactics Against Meta Open a New Front in the Corporate Tax Fight

https://www.nytimes.com/2026/02/24/business/irs-meta-corporate-taxes.html
201•mitchbob•17h ago•204 comments

Ask HN: Share your productive usage of OpenClaw

33•aavci•2h ago•11 comments

IDF killed Gaza aid workers at point blank range in 2025 massacre: Report

https://www.dropsitenews.com/p/israeli-soldiers-tel-sultan-gaza-red-crescent-civil-defense-massac...
1602•Qem•18h ago•602 comments

Show HN: Recursively apply patterns for pathfinding

https://pattern-pathfinder.vercel.app/?fixtureId=%7B%22path%22%3A%22site%2Fexamples%2F_intro.fixt...
20•seveibar•8h ago•5 comments

Why the KeePass format should be based on SQLite

https://mketab.org/blog/sqlite_kdbx/
110•wps•17h ago•81 comments

Build Your Own Forth Interpreter

https://codingchallenges.fyi/challenges/challenge-forth/
66•AlexeyBrin•3d ago•20 comments