frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•9mo ago

Comments

bschwindHN•9mo 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•9mo 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•9mo 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?

3D-Knitting: The Ultimate Guide

https://www.oliver-charles.com/pages/3d-knitting
88•ChadNauseam•3h ago•31 comments

Avoiding Trigonometry (2013)

https://iquilezles.org/articles/noacos/
45•WithinReason•2h ago•8 comments

Returning to Rails in 2026

https://www.markround.com/blog/2026/03/05/returning-to-rails-in-2026/
167•stanislavb•5h ago•88 comments

Show HN: s@: decentralized social networking over static sites

http://satproto.org/
310•remywang•11h ago•131 comments

SBCL: A Sanely-Bootstrappable Common Lisp (2008) [pdf]

https://research.gold.ac.uk/id/eprint/2336/1/sbcl.pdf
60•pabs3•4h ago•32 comments

Dolphin Progress Release 2603

https://dolphin-emu.org/blog/2026/03/12/dolphin-progress-report-release-2603/
13•BitPirate•2h ago•0 comments

Printf-Tac-Toe

https://github.com/carlini/printf-tac-toe
38•carlos-menezes•3d ago•5 comments

Temporal: The 9-year journey to fix time in JavaScript

https://bloomberg.github.io/js-blog/post/temporal/
700•robpalmer•20h ago•222 comments

Making WebAssembly a first-class language on the Web

https://hacks.mozilla.org/2026/02/making-webassembly-a-first-class-language-on-the-web/
582•mikece•1d ago•207 comments

Datahäxan

https://0dd.company/galleries/witches/7.html
80•akkartik•2d ago•5 comments

Galaxy Zoo

https://www.zooniverse.org/projects/zookeeper/galaxy-zoo
14•mooreds•3d ago•2 comments

1B identity records exposed in ID verification data leak

https://www.aol.com/articles/1-billion-identity-records-exposed-152505381.html
59•robtherobber•1h ago•15 comments

Tested: How Many Times Can a DVD±RW Be Rewritten? Methodology and Results

https://goughlui.com/2026/03/07/tested-how-many-times-can-a-dvd%C2%B1rw-be-rewritten-part-2-metho...
174•giuliomagnifico•3d ago•48 comments

WebPKI and You

https://blog.brycekerley.net/2026/03/08/webpki-and-you.html
65•aragilar•2d ago•5 comments

I was interviewed by an AI bot for a job

https://www.theverge.com/featured-video/892850/i-was-interviewed-by-an-ai-bot-for-a-job
330•speckx•17h ago•309 comments

Don't post generated/AI-edited comments. HN is for conversation between humans

https://news.ycombinator.com/newsguidelines.html#generated
3664•usefulposter•16h ago•1363 comments

Many SWE-bench-Passing PRs would not be merged

https://metr.org/notes/2026-03-10-many-swe-bench-passing-prs-would-not-be-merged-into-main/
245•mustaphah•14h ago•125 comments

NASA's DART spacecraft changed an asteroid's orbit around the sun

https://www.sciencenews.org/article/spacecraft-changed-asteroid-orbit-nasa
38•pseudolus•3d ago•16 comments

Reliable Software in the LLM Era

https://quint-lang.org/posts/llm_era
17•mempirate•3h ago•1 comments

The MacBook Neo

https://daringfireball.net/2026/03/the_macbook_neo
557•etothet•1d ago•889 comments

Show HN: I built a tool that watches webpages and exposes changes as RSS

https://sitespy.app
262•vkuprin•19h ago•64 comments

Google closes deal to acquire Wiz

https://www.wiz.io/blog/google-closes-deal-to-acquire-wiz
301•aldarisbm•20h ago•174 comments

BitNet: Inference framework for 1-bit LLMs

https://github.com/microsoft/BitNet
348•redm•23h ago•163 comments

Faster asin() was hiding in plain sight

https://16bpp.net/blog/post/faster-asin-was-hiding-in-plain-sight/
213•def-pri-pub•21h ago•117 comments

Personal Computer by Perplexity

https://www.perplexity.ai/personal-computer-waitlist
166•josephwegner•17h ago•132 comments

Entities enabling scientific fraud at scale (2025)

https://doi.org/10.1073/pnas.2420092122
293•peyton•22h ago•202 comments

Newcomb's Paradox Needs a Demon

https://samestep.com/blog/newcombs-paradox/
5•sestep•2d ago•2 comments

What Happens After You Die? (2016)

https://lamag.com/news/the-end/
47•NaOH•3d ago•30 comments

About memory pressure, lock contention, and Data-oriented Design

https://mnt.io/articles/about-memory-pressure-lock-contention-and-data-oriented-design/
57•vinhnx•3d ago•7 comments

Show HN: Klaus – OpenClaw on a VM, batteries included

https://klausai.com/
147•robthompson2018•19h ago•84 comments