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?

Critical CVE issued for hallucinated SQLite vulnerability

https://research.jfrog.com/post/sqlite-critical-cves-or-llm-slops/
238•ymir_e•1h ago•75 comments

Don't be a meat proxy

https://gruhn.me/blog/2026-08-03/
983•ngruhn•7h ago•418 comments

Qwen3.8-Max: A New Bar for Coding and Cowork

https://qwen.ai/blog?id=qwen3.8
762•ai2027•11h ago•375 comments

AirLLM 70B inference with single 4GB GPU

https://github.com/lyogavin/airllm
27•Anon84•2h ago•9 comments

Bonsai: Janestreet's UI Library

https://github.com/janestreet/bonsai
116•KolmogorovComp•4h ago•43 comments

Show HN: Nightcrawler – A local AI pentesting agent running on a smartphone

https://github.com/garagehq/nightcrawler/
31•NickySlicks•2h ago•11 comments

Prevent cognitive debt by manually retyping LLM-generated code

https://ankursethi.com/blog/prevent-cognitive-debt-by-manually-retyping-llm-generated-code/
160•mpweiher•3h ago•128 comments

The Abandoned Fish Sauce Terrorizing a Small Canadian Town

https://defector.com/abandoned-fish-sauce-canada-interview
29•ohjeez•2d ago•13 comments

Rust project goals: Immobile types and guaranteed destructors

https://github.com/rust-lang/rust-project-goals/blob/main/src/2026/move-trait.md
129•paavohtl•6h ago•44 comments

What DMARC Protects You From, and What It Does Not

https://senderledger.com/articles/what-dmarc-actually-protects-you-from
51•adulion•3h ago•13 comments

The true power of regular expressions (2012)

https://www.npopov.com/2012/06/15/The-true-power-of-regular-expressions.html
34•uneven9434•4h ago•24 comments

ICE Collected Nearly 1M People's DNA Last Year–Including Young Children

https://www.wired.com/story/ice-dna-collection-fbi-codis/
118•BlueBerry2001•2h ago•29 comments

Octane – React's programming model, compiled

https://octanejs.dev
58•nnx•5h ago•21 comments

Show HN: Isopolis – Isometric pixel map of SF

https://sf.isopolis.city/
261•nuwandavek•12h ago•59 comments

PISIGuard: Protect your personal and sensitive info when you chat with AI

https://github.com/mohamed--abdel-maksoud/pisiguard
14•mohamed_am83•4h ago•10 comments

Train Simulator Controller

https://z80.me/blog/tsc-2026-july/
32•austinallegro•3d ago•1 comments

Situational Awareness and the Impending Stock Market Volatility

https://www.emergingtrajectories.com/lh/situational-awareness-bigger-picture/
35•cl42•7h ago•24 comments

Why we write our own C and C++ inference engines

https://localai.io/blog/why-we-write-our-own-engines/
83•eatonphil•2d ago•33 comments

9front "This Was Supposed to Be Fun" Released

https://9front.org/releases/2026/08/02/0/
36•birdculture•2h ago•10 comments

Show HN: ssh ssh.place

https://ssh.place
141•jeninh•13h ago•79 comments

Show HN: We Fixed UniFi's Slow PPPoE Performance with PPPoE Half-Bridge

https://arcbox.dev/blog/unifi-pppoe-half-bridge-acceleration
35•uneven9434•4h ago•12 comments

Characterizing Warp Divergence from Pascal to Blackwell

https://arxiv.org/abs/2607.23402
9•matt_d•3d ago•0 comments

CP/M-386 – CP/M for 386 protected mode, derived from CP/M‑68K

https://github.com/johnsonjh/cpm386
81•TMWNN•12h ago•33 comments

Show HN: Kakehashi – Experimental userspace to run macOS binaries on Linux ARM

https://github.com/wie-project/kakehashi
235•vlad_kalinkin•21h ago•59 comments

Note-Taking and Personal Knowledge Management

https://unattributed.cc/note-taking-and-personal-knowledge-management
221•surprisetalk•5d ago•77 comments

SwiftUI After 7 Years

https://ykvm.com/2026/07/swiftui-a-story-of-mediocrity/
222•mpweiher•18h ago•212 comments

Autoregressive Language Model on the 6502 Processor

https://mattbeton.com/blog/bitnet-6502.html
122•nmstoker•3d ago•12 comments

Why Book Corners won't sync contributions back to OpenStreetMap

https://www.andreagrandi.it/posts/why-book-corners-wont-sync-contributions-back-to-openstreetmap/
122•pizzaiolo•13h ago•78 comments

Developers are attached to tools because tools encode trust

https://stackoverflow.blog/2026/07/29/developers-are-attached-to-tools-because-tools-encode-trust/
229•HieronymusBosch•4d ago•126 comments

Show HN: A Handwritten Blogging Platform

https://handwritten.blog/
138•emilesilvis•3d ago•67 comments