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?

Steam Machine

https://store.steampowered.com/hardware/steammachine
451•theschwa•2h ago•426 comments

My Mathematical Regression

https://blog.dahl.dev/posts/my-mathematical-regression/
59•aleda145•3d ago•15 comments

Moebius: 0.2B image inpainting model with 10B-level performance

https://hustvl.github.io/Moebius/
148•DSemba•5h ago•38 comments

Deno Desktop

https://docs.deno.com/runtime/desktop/
920•GeneralMaximus•13h ago•340 comments

Show HN: Oak – Git replacement designed for agents

https://oak.space/oak/oak
74•zdgeier•3h ago•85 comments

Nintendo Wii U games running from a 1980's Bernoulli disk [video]

https://www.youtube.com/watch?v=8GZDOpV2OXk
53•zdw•23h ago•22 comments

Bain tests software takeover targets by vibecoding AI replicas

https://www.ft.com/content/e5bac4d1-b1f8-43a4-bd54-b182d5357af0
20•macleginn•4h ago•36 comments

Codex logging bug may write TBs to local SSDs

https://github.com/openai/codex/issues/28224
386•vantareed•11h ago•211 comments

Pledging another $400k to the Zig software foundation

https://mitchellh.com/writing/zig-donation-2026
597•tosh•5h ago•193 comments

Finding the Best Dog Treat with Statistics

https://www.wespiser.com/posts/2026-06-19-best-dog-treat.html
25•wespiser_2018•1h ago•5 comments

Charge Robotics (YC S21) Is Hiring Software and Hardware Engineers

https://jobs.ashbyhq.com/charge-robotics
1•justicz•2h ago

GLM 5.2 vs. Opus

https://techstackups.com/comparisons/glm-5.2-vs-opus/
412•ritzaco•12h ago•280 comments

The text in Claude Code’s “Extended Thinking” output

https://patrickmccanna.net/the-text-in-claude-codes-extended-thinking-output-is-not-authentic/
216•0o_MrPatrick_o0•5h ago•159 comments

Prompt Injection as Role Confusion

https://role-confusion.github.io
76•x312•3h ago•42 comments

Die analysis of the 8087 math coprocessor's fast bit shifter (2020)

https://www.righto.com/2020/05/die-analysis-of-8087-math-coprocessors.html
58•Jimmc414•5h ago•10 comments

DisplayMate

https://www.displaymate.com/
42•skibz•2h ago•13 comments

Blogger defeats photographer's copyright claim

https://blog.ericgoldman.org/archives/2026/06/blogger-defeats-photographers-copyright-claim-sokol...
31•speckx•2h ago•12 comments

Mexican government unveils a prototype for a new homegrown, ultra-affordable EV

https://gizmodo.com/mexico-just-showed-off-a-new-extremely-cheap-government-backed-ev-2000769080
90•speckx•2h ago•51 comments

window.showDirectoryPicker opens up a whole new world

https://steveharrison.dev/showdirectorypicker-opens-up-a-whole-new-world/
81•steveharrison•6h ago•82 comments

Show HN: Got sick of ads, so I made my own logic puzzle site

https://puzzlelair.com/
80•HaxleRose•7h ago•69 comments

Help I accidentally a wigglegram

https://lmao.center/blog/wiggle-accidents/
440•gregsadetsky•2d ago•113 comments

NSF slashes research programs to support new tech initiative, insiders say

https://www.science.org/content/article/exclusive-nsf-slashes-research-programs-support-new-tech-...
110•strangeloops85•3h ago•45 comments

Alan Greenspan has died

https://www.washingtonpost.com/obituaries/2026/06/22/alan-greenspan-most-powerful-central-banker-...
155•helsinkiandrew•7h ago•163 comments

Show HN: Selector Forge – browser extension for AI-generated resilient selectors

https://github.com/Intuned/selector-forge
24•ahmadilaiwi•5h ago•0 comments

Chevron signs 20-year power agreement with Microsoft for West Texas data center

https://www.chevron.com/newsroom/2026/q2/chevron-signs-20-year-power-agreement-with-microsoft-for...
79•cdrnsf•5h ago•73 comments

Granularity comes at a cost

https://www.sidhantbansal.com/2026/Granularity-comes-at-a-cost/
40•sidhantbansal•3d ago•6 comments

Show HN: CleverCrow: give tokens to your favorite projects

https://clevercrow.io
43•zhubert•1d ago•62 comments

There is minimal downside to switching to open models

https://www.marble.onl/posts/cancel_claude.html
370•amarble•22h ago•298 comments

DHL Set to Transport Goods on New Wind-Powered Cargo Ships

https://www.wsj.com/pro/sustainable-business/dhl-set-to-transport-goods-on-new-wind-powered-cargo...
106•julienchastang•4h ago•44 comments

Munich 1991: The Roots of the Current AI Boom

https://people.idsia.ch/~juergen/ai-boom-roots-munich-1991.html
192•tosh•3d ago•87 comments