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?

DeepSeek: DeepSeek v4.1 Flash 1017

https://openrouter.ai/deepseek/deepseek-v4.1-flash-1017
305•theanonymousone•4h ago•118 comments

Ultramarine 1 Flash

https://www.paperinstruments.com/ultramarine
284•i_rush_carriers•1d ago•90 comments

Tesla Roadster

https://www.tesla.com/roadster
1487•shekhar101•1d ago•2667 comments

Show HN: Llmspeed – feel how fast a local LLM runs before you buy the hardware

https://llmspeed.dev/
126•albinstman•8h ago•44 comments

DeepSeek-v4.1-Flash-1017

https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017
251•theykk•4h ago•97 comments

Show HN: Which Mac runs which LLM, and how fast

https://macyou.co/mac-llm-calculator
4•bagdaerdev•51m ago•0 comments

Intuitive concurrent programming in any language

https://www.lf-lang.org/
73•mpweiher•1d ago•14 comments

Llama.cpp on a jailbroken PS5: run any GGUF model natively on the console

https://github.com/cobanov/PS5LM
307•Anon84•18h ago•76 comments

You could have invented transformers from memory

https://alexwang.ai/posts/associative-memory/
339•speckx•18h ago•79 comments

Recipes Are Moving from Maven Central to the Code Genome Project

https://docs.openrewrite.org/reference/latest-versions-of-every-openrewrite-module
21•javahippie•1d ago•4 comments

Claude reveals ECDSA curve origins

https://www.anthropic.com/research/ecdsa-curve-origins
917•ahlCVA•18h ago•339 comments

Apple ML Research: Muse Spark Open with MLX on Mac Studio

https://machinelearning.apple.com/research/mlx-distributed-inference
331•antipaul•23h ago•167 comments

FLUX 3 Image Klein

https://bfl.ai/blog/flux-3-image-klein
177•gmays•17h ago•51 comments

eBay Restricts Listings of Radio Equipment, but Exempts Ham-Band-Only Gear

https://www.arrl.org/arrlletterissue?issue=2026-10-15#eBay-Restricts-Listings-of-Radio-Equipment_...
233•7402•19h ago•210 comments

JPEG XL vs. AVIF for web use-cases

https://jakearchibald.com/2026/jpeg-xl-vs-avif/
281•farlight•20h ago•188 comments

Designing more efficient quantum circuits with Claude

https://www.anthropic.com/research/designing-efficient-quantum-circuits
153•pretext•19h ago•33 comments

Orbital Angular Momentum of Light

https://en.wikipedia.org/wiki/Orbital_angular_momentum_of_light
10•peter_d_sherman•2d ago•1 comments

0/1 Knapsack Problem in PyTorch

https://jedrzej.maczan.pl/2025_11_21_dp_knapsack_sliding_hirschberg
29•yu3zhou4•2d ago•2 comments

Butlerian Jihad

https://dune.fandom.com/wiki/Butlerian_Jihad
281•wetwater•10h ago•160 comments

The cryptoint library (2025) [pdf]

https://cr.yp.to/papers/cryptoint-20250424.pdf
3•akkartik•1d ago•0 comments

Monte-Carlo Simulations

https://eli.thegreenplace.net/2026/monte-carlo-simulations/
138•ibobev•3d ago•26 comments

I built the RealWorld app in Lean 4

https://leangineer.com/blog/realworld-in-lean/
70•saviorand•2d ago•6 comments

Nine-Inch Snails

https://www.theatlantic.com/science/2026/10/giant-african-snails-florida-invasion/688850/
81•zdw•14h ago•38 comments

90% of US working hours are spent on tasks not covered well by AI benchmarks

https://www.mercor.com/research/labor-index/benchmark-map/
537•speckx•19h ago•454 comments

A story of WiFi secrets, UART lockdowns and a damaged flash memory chip

https://adepts.of0x.cc/eufy-homestation2-firmware/
60•michidk•21h ago•3 comments

How the Claude Code team does code review

https://claude.dev/blog/solving-code-review-at-anthropic/
386•pretext•18h ago•359 comments

Flexport Is Hiring a Biz Ops Leader in Office of CEO

https://www.flexport.com/company/careers/
1•thedogeye•12h ago

New 'super ice' 10 times stronger, bringing it close to the strength of concrete

https://www.sciencealert.com/a-new-super-ice-is-10-times-stronger-bringing-it-close-to-the-streng...
111•andrewl•3d ago•83 comments

I love software rendering

https://www.jamesfmackenzie.com/2026/10/13/i-love-software-rendering/
334•speckx•1d ago•208 comments

Show HN: Gemini 4 Argon plays StarCraft

https://starskirmish.com/bench/v0-2/
228•__cayenne__•22h ago•103 comments