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?

Run large language models at home, BitTorrent‑style

https://petals.dev/
54•snorbleck•1h ago•21 comments

Terrence Tao's ChatGPT Conversation about the Jacobian Conjecture Counterexample

https://chatgpt.com/share/6a5fdc7a-d6f8-83e8-bbea-8deb42cfed56
665•gmays•9h ago•398 comments

Quality non-fiction books are the antithesis of AI slop

https://resobscura.substack.com/p/quality-non-fiction-books-are-the
190•benbreen•13h ago•80 comments

GigaToken: ~1000x faster Language model tokenization

https://github.com/marcelroed/gigatoken/
390•syrusakbary•10h ago•77 comments

Show HN: Bento - An entire PowerPoint in one HTML file (edit+view+data+collab)

https://bento.page/slides/
683•starfallg•12h ago•153 comments

OpenAI's accidental cyberattack against Hugging Face is science fiction

https://simonwillison.net/2026/Jul/22/openai-cyberattack/
38•abhisek•2h ago•24 comments

Codeberg Bans Cryptocurrency Projects

https://codeberg.org/Codeberg/org/pulls/1254
131•intunderflow•2h ago•146 comments

Medici family mystery may be solved after more than 400 years

https://www.cnn.com/2026/07/15/science/medici-family-mystery-dna-malaria
88•effects•5h ago•20 comments

Are AI Labs Pelicanmaxxing?

https://dylancastillo.co/posts/pelicanmaxxing.html
414•dcastm•10h ago•160 comments

Everyone Should Know SIMD

https://mitchellh.com/writing/everyone-should-know-simd
291•WadeGrimridge•9h ago•81 comments

Show HN: Cactus Hybrid: We taught Gemma 4 to know when it's wrong

https://github.com/cactus-compute/cactus-hybrid
86•HenryNdubuaku•9h ago•13 comments

ascdraw: Editor for ASCII/UTF-8 diagrams (in 144FPS)

https://github.com/exlee/ascdraw
7•xlii•2d ago•2 comments

John C. Dvorak has died

https://twitter.com/na_announce/status/2079952538040672302
622•coleca•7h ago•195 comments

Malleable Computing, Emacs, and You

http://yummymelon.com/devnull/malleable-computing-emacs-and-you.html
75•kickingvegas•6h ago•21 comments

Restructuring GitHub's bug bounty program

https://github.blog/security/next-chapter-restructuring-githubs-bug-bounty-program/
5•soheilpro•53m ago•1 comments

Nobody knows what a used GPU cluster is worth

https://ciphertalk.substack.com/p/nobody-knows-what-a-used-gpu-cluster
180•rbanffy•1w ago•165 comments

Making

https://beej.us/blog/data/ai-making/
296•erikschoster•11h ago•113 comments

Fairphone 6 wide camera experimental Linux support

https://nondescriptpointer.com/articles/fairphone-6-wide-camera-linux/
80•helonaut•7h ago•8 comments

The startup's Postgres survival guide

https://hatchet.run/blog/postgres-survival-guide
330•abelanger•14h ago•175 comments

So Reddit has decided that plain HTML is unsafe

https://www.cole-k.com/2026/07/21/reddit/
312•montroser•14h ago•316 comments

What Rose Petals Teach Us about Induction

https://www.oranlooney.com/post/rose-petals/
19•olooney•4d ago•1 comments

Any text-to-SQL benchmark should address difficulties of real-world data stores

https://cacm.acm.org/blogcacm/if-you-think-you-can-do-real-world-text-to-sql/
41•shenli3514•5h ago•9 comments

Honey Bee Colony Monitoring via Audio IoT Sensors, Tensorgrams and RNNs

https://arxiv.org/abs/2607.20386
4•StatsAreFun•1h ago•0 comments

Clarity didn't work, trying mysterianism (2012)

https://gwern.net/doc/fiction/science-fiction/2012-10-03-yvain-thewhisperingearring.html
45•dboon•8h ago•13 comments

Businesses with ugly AI menu redesigns

https://blog.fiddery.com/businesses-with-ugly-ai-menu-redesigns/
202•speckx•14h ago•157 comments

Launch HN: Unlayer (YC W22) – Add email and document builders to your app

https://unlayer.com
47•adeelraza•11h ago•33 comments

Safari Technology Preview 248 Released

https://webkit.org/blog/18162/release-notes-for-safari-technology-preview-248/
83•Erenay09•6h ago•57 comments

Back to Kagi

https://blog.melashri.net/micro/back-to-kagi/
215•speckx•14h ago•165 comments

Ghost Cut – or why Cut and Paste is broken everywhere

https://ishmael.textualize.io/blog/ghost-cut/
138•willm•12h ago•91 comments

I Inspected My Take-Home Interview Project. It Was a Whole Operation

https://citizendot.github.io/articles/fake-job-interview-git-hook-malware/
297•CITIZENDOT•6h ago•77 comments