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?

A font recreated from photographs of classic Commodore 64 keycaps

https://github.com/szabadkai/c64-keyboard-font/
33•sohkamyung•1h ago•5 comments

Sharing AI progress in mathematics

https://openai.com/index/sharing-ai-progress-in-mathematics/
940•OfficialTurkey•12h ago•877 comments

Nobel Prize in Chemistry 2026 to Henri B. Kagan and Kenso Soai

https://www.nobelprize.org/prizes/chemistry/2026/press-release/
14•sasvari•39m ago•0 comments

Strands Decider 2B: a small, open-source, decision model

https://strandsagents.com/blog/introducing-strands-decider/
180•gmays•8h ago•45 comments

Decisions API is in public beta

https://developers.openai.com/api/docs/guides/decisions
302•chiefstorm•13h ago•146 comments

Mistral Large 4

https://mistral.ai/news/mistral-large-4/\
1827•Philpax•21h ago•1088 comments

YouTube-dl repository restored at GitHub

https://lwn.net/Articles/837343/rss
9•birdculture•9m ago•2 comments

EmbeddingGemma 2: An open, lightweight multimodal embedding model

https://blog.google/innovation-and-ai/technology/developers-tools/embeddinggemma-2/
333•ilreb•18h ago•35 comments

Show HN: Arcadeia – A self-hosted media library with animated video previews

https://github.com/travelonium/arcadeia
3•omidontop•2d ago•2 comments

ESP32-C3 Adblock

https://github.com/M-Abozaid/esp32-c3-adblock
100•jayhoon•8h ago•37 comments

Shaders, WebGPU Components for React, Vue, Svelte, Solid, JavaScript and Framer

https://github.com/shader-effects-inc/shaders
29•jinqueeny•4h ago•15 comments

What is Codemode

https://lucumr.pocoo.org/2026/10/6/codemode/
87•Tomte•20h ago•42 comments

The art of defusing a second world war bomb

https://www.theguardian.com/news/ng-interactive/2026/oct/06/it-could-knock-a-whole-street-down-th...
71•sandebert•6h ago•40 comments

The cost of lies: A Mineserver story

https://www.jeremyreimer.com/rockets-item.lsp?f=true&p=272
116•luu•3d ago•52 comments

The Legend of the Paper Crane

https://mazdastories.com/en_us/inspire/paper-cranes-into-the-fold/
18•vismit2000•2d ago•4 comments

Claude Code’s suggested message feature: I think the real customer is the model

https://www.zohaib.cc/blog/smartest-claude-code-feature
204•zed_labs_dev•16h ago•117 comments

Tell HN: GitHub refuses to remove cracked copies of my software after a month

256•IvanK_net•15h ago•147 comments

La Cueva BBS in Mexico in 1993 (session replay)

https://nanochess.org/la_cueva_bbs.html
53•nanochess•7h ago•13 comments

Gallery of Processor Cache Effects

https://igoro.com/archive/gallery-of-processor-cache-effects/
16•porridgeraisin•2d ago•2 comments

Penguin Mail – open-source Rust email client for Linux with AI

https://penguin-mail.com/
184•kavourias•12h ago•123 comments

OpenTPU – An open-source AI accelerator, developed by AI

https://github.com/FeSens/openTPU
292•fsbonetto•18h ago•341 comments

What's Earth's dominant species by mass?

https://signoregalilei.com/2026/09/27/whats-earths-dominant-species-by-mass/
249•surprisetalk•21h ago•190 comments

Treg (OpenRouter for Tools)

https://github.com/superdesigndev/treg
33•trollied•18h ago•6 comments

AnyPS5: Port PS5 binaries to PC without emulation (87% system libraries mapped)

https://github.com/boykopovar/AnyPS5
269•Fe2O3•11h ago•226 comments

Show HN: NanoMuse – An open-source AI agent for your phone and computer

https://github.com/nano-muse/nanoMuse
21•ilreb•7h ago•4 comments

State of Devs 2026

https://2026.stateofdevs.com/en-US/
172•sgdesign•11h ago•90 comments

When random is not actually random enough

https://ersc.io/blog/when-random-isnt-random-enough
66•steveklabnik•14h ago•32 comments

Hackers obtain counterfeit TLS certificates for Google and other large services

https://arstechnica.com/security/2026/10/hackers-obtain-counterfeit-tls-certificates-for-google-a...
75•colinprince•5h ago•25 comments

California closed the Montana license plate loophole

https://www.thedrive.com/news/heres-how-california-closed-the-montana-license-plate-loophole
114•speckx•17h ago•281 comments

Sharded, encrypted storage between friends over Yggdrasil

https://github.com/peterretief/yggstore
9•peter_retief•5h ago•3 comments