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

Comments

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

Publish on your own site, syndicate elsewhere

https://indieweb.org/POSSE#
743•47thpresident•17h ago•178 comments

Tally – A tool to help agents classify your bank transactions

https://tallyai.money/
58•ahmedatia•2h ago•44 comments

Trump says Venezuela’s Maduro captured after strikes

https://www.reuters.com/world/americas/loud-noises-heard-venezuela-capital-southern-area-without-...
392•jumpocelot•6h ago•864 comments

Daft Punk Easter Egg in the BPM Tempo of Harder, Better, Faster, Stronger?

https://www.madebywindmill.com/tempi/blog/hbfs-bpm/
549•simonw•15h ago•94 comments

Of Boot Vectors and Double Glitches: Bypassing RP2350's Secure Boot

https://streaming.media.ccc.de/39c3/relive/2149
89•aberoham•6d ago•9 comments

IPv6 just turned 30 and still hasn't taken over the world

https://www.theregister.com/2025/12/31/ipv6_at_30/
407•Brajeshwar•22h ago•789 comments

A Beginner's Two-Component Crystal-Style Wi-Fi Detector

https://siliconjunction.wordpress.com/2025/12/12/a-beginners-two-component-crystal-style-wi-fi-de...
54•jensgk•3d ago•19 comments

2026 will be my year of the Linux desktop

https://xeiaso.net/notes/2026/year-linux-desktop/
597•todsacerdoti•13h ago•439 comments

IQuest-Coder: A new open-source code model beats Claude Sonnet 4.5 and GPT 5.1 [pdf]

https://github.com/IQuestLab/IQuest-Coder-V1/blob/main/papers/IQuest_Coder_Technical_Report.pdf
104•shenli3514•9h ago•33 comments

Clicks Communicator

https://www.clicksphone.com/en/communicator
348•microflash•20h ago•213 comments

GitHub – tomasf/Cadova: Swift DSL for parametric 3D modeling

https://github.com/tomasf/Cadova
23•bdcravens•3d ago•4 comments

Ask HN: Who is hiring? (January 2026)

300•whoishiring•21h ago•185 comments

A Basic Just-In-Time Compiler (2015)

https://nullprogram.com/blog/2015/03/19/
73•ibobev•12h ago•16 comments

How Smell Guides Our Inner World

https://www.quantamagazine.org/how-smell-guides-our-inner-world-20250703/
17•anarbadalov•5d ago•1 comments

Linux kernel security work

http://www.kroah.com/log/blog/2026/01/02/linux-kernel-security-work/
124•chmaynard•15h ago•56 comments

UK company sends factory with 1,000C furnace into space

https://www.bbc.co.uk/news/articles/c62vx0pgyrgo
71•vekerdyb•3d ago•26 comments

Jank Lang Hit Alpha

https://github.com/jank-lang/jank
193•makemethrowaway•17h ago•27 comments

The Cost of a Closure in C: The Rest

https://thephd.dev/the-cost-of-a-closure-in-c-c2y-followup
49•ingve•3d ago•19 comments

Show HN: uvx ptn, scan a QR, get a terminal in your phone

https://github.com/lyehe/porterminal
37•yxl448•9h ago•8 comments

Adventure 751 (1980)

https://bluerenga.blog/2026/01/01/adventure-751-1980/
35•quuxplusone•10h ago•3 comments

Fighting Fire with Fire: Scalable Oral Exams

https://www.behind-the-enemy-lines.com/2025/12/fighting-fire-with-fire-scalable-oral.html
174•sethbannon•19h ago•227 comments

Unix v4 (1973) – Live Terminal

https://unixv4.dev/
153•pjmlp•18h ago•73 comments

Ask HN: Who wants to be hired? (January 2026)

121•whoishiring•21h ago•224 comments

Why 451 Is Good for You – Greylisting Perspectives from the Early Noughties

https://bsdly.blogspot.com/2025/12/why-451-is-good-for-you-greylisting.html
20•zdw•5d ago•16 comments

Accounting for Computer Scientists (2011)

https://martin.kleppmann.com/2011/03/07/accounting-for-computer-scientists.html
122•tosh•19h ago•49 comments

Einstein Probe detects an X-ray flare from nearby star

https://phys.org/news/2025-12-einstein-probe-ray-flare-nearby.html
39•wglb•11h ago•8 comments

The rsync algorithm (1996) [pdf]

https://www.andrew.cmu.edu/course/15-749/READINGS/required/cas/tridgell96.pdf
157•vortex_ape•20h ago•21 comments

TinyTinyTPU: 2×2 systolic-array TPU-style matrix-multiply unit deployed on FPGA

https://github.com/Alanma23/tinytinyTPU-co
115•Xenograph•18h ago•49 comments

Punkt. Unveils MC03 Smartphone

https://www.punkt.ch/blogs/news/punkt-unveils-mc03
150•ChrisArchitect•21h ago•139 comments

Show HN: Website that plays the lottery every second

https://lotteryeverysecond.lffl.me/
192•Loeffelmann•13h ago•118 comments