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?

Writing by hand is good for your brain

https://nealstephenson.substack.com/p/writing-by-hand-is-good-for-your
1118•dwwoelfel•14h ago•531 comments

Show HN: Echo – Fable-level results at 1/3 the cost using open-weight models

290•adam_rida•9h ago•147 comments

The Beam Engine

https://glinscott.github.io/beam-engine/
233•glinscott•1d ago•66 comments

Startup founders urge U.S. government not to shut off Chinese open weight AI

https://www.politico.com/news/2026/07/22/startup-founders-urge-trump-not-to-shut-off-chinese-open...
816•theanonymousone•13h ago•704 comments

What happened to TheNumbers.com

https://stephenfollows.com/p/what-just-happened-to-thenumberscom-should-worry-us-all
329•nickthegreek•12h ago•143 comments

What else do people draw on gradient.horse?

https://rybakov.com/blog/what_else_do_people_draw_on_gradient-copy.horse/
79•spython•5d ago•12 comments

Why Software Factories Fail (or: harness engineering is not enough)

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md
234•dhorthy•13h ago•178 comments

98.css

https://jdan.github.io/98.css/#status-bar
369•lopespm•6h ago•84 comments

Software rendering in 500 lines of bare C++

https://haqr.eu/tinyrenderer/
268•mpweiher•14h ago•51 comments

Learn OpenGL, extensive tutorial resource for learning Modern OpenGL

https://learnopengl.com/
209•ibobev•14h ago•107 comments

Freeze-Casting

https://en.wikipedia.org/wiki/Freeze-casting
16•soupspaces•4d ago•4 comments

Building on ATProto

https://lukekanies.com/writing/building-on-atproto/
144•speckx•10h ago•69 comments

Show HN: Palmier Pro – Open-source macOS video editor built for AI

https://github.com/palmier-io/palmier-pro
134•harrisontin•14h ago•21 comments

Quickly rewrite Git repository history

https://github.com/newren/git-filter-repo
6•modinfo•3d ago•0 comments

DARPA, U.S. Air Force fly AI-controlled F-16

https://www.darpa.mil/news/2026/darpa-us-air-force-fly-ai-controlled-f-16
210•r2sk5t•15h ago•230 comments

The Visual 6502

http://visual6502.org/JSSim/index.html
74•infiniteregrets•5h ago•20 comments

Astronomers may have found the first exomoon

https://www.eso.org/public/news/eso2610/
206•MarcoDewey•15h ago•76 comments

Fields Medals 2026

https://www.mathunion.org/imu-awards/fields-medal/fields-medals-2026
151•nill0•14h ago•76 comments

Why Sony can't bring back its classic Walkman models

https://obsoletesony.substack.com/p/why-sony-cant-bring-back-classic-walkman
60•speckx•11h ago•54 comments

I regret migrating to Codeberg

https://xn--gckvb8fzb.com/i-regret-migrating-to-codeberg/
145•boramalper•15h ago•101 comments

Launch HN: Screenpipe (YC S26) – Record how you work and turn that into agents

66•louis030195•12h ago•52 comments

OpenAI’s accidental attack against Hugging Face is science fiction that happened

https://simonwillison.net/2026/Jul/22/openai-cyberattack/
448•abhisek•1d ago•355 comments

Fractl.art – a fractal generator with 8 octillion different patterns

https://fractl.art
26•gilded-lilly•4d ago•4 comments

A solid-state “atomic channel” for separating rare earth elements

https://pme.uchicago.edu/news-events/news/cleaner-route-purifying-rare-earth-elements
81•MarcoDewey•11h ago•23 comments

The arguments against open source AI are bad

https://tombedor.dev/arguments-against-open-source-ai-are-very-bad/
238•jjfoooo4•12h ago•168 comments

Mourning Dan Williams

https://lwn.net/Articles/1084545/
49•speckx•9h ago•1 comments

Couple pay >$800k for a gene-editing therapy for their daughter. She died.

https://www.science.org/content/article/exclusive-death-girl-chinese-gene-editing-trial-was-never...
291•Shortness8•8h ago•170 comments

Show HN: Claude-thermos keeps your Claude session warm for you

https://github.com/izeigerman/claude-thermos
91•s0ck_r4w•12h ago•75 comments

Zitron: The Subprime Datacenter Crisis

https://www.wheresyoured.at/the-subprime-data-center-crisis/
7•benwen•42m ago•2 comments

Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

https://github.com/onecli/onecli
85•Jonathanfishner•13h ago•29 comments