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?

Open Source Low Tech

https://opensourcelowtech.org/
222•grep_it•4d ago•42 comments

Qwen 3.6 27B is the sweet spot for local development

https://quesma.com/blog/qwen-36-is-awesome/
926•stared•16h ago•618 comments

.self: A new top-level domain designed to support self-hosting

https://hccf.onmy.cloud/2026/06/21/reclaiming-our-digital-selves-hccfs-vision-for-a-human-centere...
518•HumanCCF•14h ago•297 comments

Free the Icons

https://weblog.rogueamoeba.com/2026/06/26/free-the-icons/
469•zdw•2d ago•135 comments

Memory Safe Context Switching

https://fil-c.org/context_switches
130•modeless•9h ago•25 comments

The operating cost starts after the demo

https://twoheads.net/the-promise-is-unattended-work/
14•hellokfk•4d ago•3 comments

LongCat-2.0, a large-scale MoE model with 1.6T total and 48B Active

https://longcat.chat/blog/longcat-2.0/
147•benjiro29•9h ago•43 comments

Exploring PDP-1 Lisp (1960)

https://obsolescence.dev/pdp1-lisp-introduction.html
74•ozymandiax•9h ago•18 comments

The end of the AArch64 desktop experiment

https://marcin.juszkiewicz.com.pl/2026/06/26/the-end-of-the-aarch64-desktop-experiment/
46•signa11•5h ago•27 comments

Rocketlab acquires Iridium

https://investors.rocketlabcorp.com/news-releases/news-release-details/rocket-lab-acquire-iridium...
413•everfrustrated•19h ago•276 comments

Old Computer Challenge

http://occ.sdf.org/
63•wrxd•2d ago•24 comments

Linux for the Sega MegaDrive

https://github.com/LinuxMD/linuxmd
111•HardwareLust•19h ago•15 comments

Logical Physical Clocks and Consistent Snapshots in Globally Distributed DB [pdf]

https://cse.buffalo.edu/tech-reports/2014-04.pdf
7•teleforce•2d ago•1 comments

Ornith-1.0: self-improving open-source models for agentic coding

https://github.com/deepreinforce-ai/Ornith-1
212•danboarder•16h ago•39 comments

One million passports leaked online

https://www.theverge.com/tech/947157/passports-data-breach-cannabis-club-systems-nefos-puffpal
276•jruohonen•1d ago•164 comments

How to corrupt an SQLite database file

https://www.sqlite.org/howtocorrupt.html
84•tosh•3d ago•15 comments

US Supreme Court rules geofence warrants require constitutional protections

https://www.theguardian.com/us-news/2026/jun/29/supreme-court-geofence-warrants-case-decision
526•cdrnsf•18h ago•249 comments

Alan Kay on the meaning of "object-oriented programming" (2003)

https://notes.shixiangxi.com/en/docs/appendix/alan-kay-on-oop/
68•sxx0•2d ago•32 comments

Zig – SPIR-V Backend Progress

https://ziglang.org/devlog/2026/#2026-06-26
70•Retro_Dev•4d ago•32 comments

Apple Neural Engine: Architecture, Programming, and Performance

https://arxiv.org/abs/2606.22283
174•Jimmc414•2d ago•23 comments

30-year sentence for transporting zines is a five-alarm fire for free speech

https://theintercept.com/2026/06/26/daniel-sanchez-estrada-zines-prairieland-free-speech/
580•xrd•1d ago•338 comments

Dark Sky Lighting

https://www.savingourstars.org/darkskylighting#whatisdarkskylighting
210•alexandrehtrb•4d ago•38 comments

A native graphical shell for SSH

https://probablymarcus.com/blocks/2026/06/28/native-graphical-shell-for-SSH.html
309•mrcslws•18h ago•173 comments

WATaBoy: JIT-Ing Game Boy Instructions to WASM Beats a Native Interpreter

https://humphri.es/blog/WATaBoy/
205•energeticbark•19h ago•34 comments

What happens when you run a CUDA kernel?

https://fergusfinn.com/blog/what-happens-when-you-run-a-gpu-kernel/
256•mezark•20h ago•30 comments

British Origami: the 1955 exhibition by Akira Yoshizawa (2005)

https://www.britishorigami.org/cp-lister-list/the-1955-exhibition-by-akira-yoshizawa/
32•dang•1d ago•3 comments

Kb – Prolog Knowledge Base

https://github.com/mat-mgm/kb-prolog
79•triska•2d ago•9 comments

Popping the GPU Bubble

https://moondream.ai/blog/popping-the-gpu-bubble
132•radq•4h ago•33 comments

Wallace the 6 inch f/2.8 telescope, building it, and hiking with it

https://lucassifoni.info/blog/hiking-with-wallace/
140•chantepierre•4d ago•26 comments

South Korea to spend $1T on more memory chip production and humanoid robots

https://arstechnica.com/ai/2026/06/south-korea-to-spend-1t-on-more-memory-chip-production-and-hum...
227•jnord•11h ago•155 comments