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

Anthropic Outage for Opus 4.5 and Sonnet 4/4.5 across all services

https://status.claude.com/incidents/9g6qpr72ttbr
76•pablo24602•49m ago•40 comments

2002: Last.fm and Audioscrobbler Herald the Social Web

https://cybercultural.com/p/lastfm-audioscrobbler-2002/
80•cdrnsf•1h ago•26 comments

Hashcards: A plain-text spaced repetition system

https://borretti.me/article/hashcards-plain-text-spaced-repetition
194•thomascountz•5h ago•77 comments

JSDoc is TypeScript

https://culi.bearblog.dev/jsdoc-is-typescript/
43•culi•2h ago•60 comments

Ask HN: What Are You Working On? (December 2025)

93•david927•5h ago•326 comments

Do dyslexia fonts work? (2022)

https://www.edutopia.org/article/do-dyslexia-fonts-actually-work/
35•CharlesW•3h ago•37 comments

The Typeframe PX-88 Portable Computing System

https://www.typeframe.net/
81•birdculture•4h ago•20 comments

In the Beginning was the Command Line (1999)

https://web.stanford.edu/class/cs81n/command.txt
56•wseqyrku•6d ago•23 comments

Developing a food-safe finish for my wooden spoons

https://alinpanaitiu.com/blog/developing-hardwax-oil/
105•alin23•4d ago•54 comments

AI and the ironies of automation – Part 2

https://www.ufried.com/blog/ironies_of_ai_2/
192•BinaryIgor•9h ago•81 comments

Advent of Swift

https://leahneukirchen.org/blog/archive/2025/12/advent-of-swift.html
26•chmaynard•2h ago•5 comments

Checkers Arcade

https://blog.fogus.me/games/checkers-arcade.html
8•fogus•2d ago•1 comments

Shai-Hulud compromised a dev machine and raided GitHub org access: a post-mortem

https://trigger.dev/blog/shai-hulud-postmortem
161•nkko•12h ago•98 comments

GraphQL: The enterprise honeymoon is over

https://johnjames.blog/posts/graphql-the-enterprise-honeymoon-is-over
139•johnjames4214•5h ago•116 comments

Disk can lie to you when you write to it

https://blog.canoozie.net/disks-lie-building-a-wal-that-actually-survives/
32•jtregunna•2d ago•21 comments

GNU recutils: Plain text database

https://www.gnu.org/software/recutils/
66•polyrand•3h ago•14 comments

Illuminating the processor core with LLVM-mca

https://abseil.io/fast/99
51•ckennelly•7h ago•4 comments

Linux Sandboxes and Fil-C

https://fil-c.org/seccomp
327•pizlonator•23h ago•129 comments

Baumol's Cost Disease

https://en.wikipedia.org/wiki/Baumol_effect
60•drra•10h ago•70 comments

Standalone Meshtastic Command Center – One HTML File Offline

https://github.com/Jordan-Townsend/Standalone
38•Subtextofficial•5d ago•9 comments

Price of a bot army revealed across online platforms

https://www.cam.ac.uk/stories/price-bot-army-global-index
55•teleforce•6h ago•13 comments

Compiler Engineering in Practice

https://chisophugis.github.io/2025/12/08/compiler-engineering-in-practice-part-1-what-is-a-compil...
97•dhruv3006•14h ago•17 comments

From sci-fi to reality: Researchers realise quantum teleportation using tech

https://cordis.europa.eu/article/id/462587-from-sci-fi-to-reality-researchers-realise-quantum-tel...
5•donutloop•27m ago•0 comments

Efficient Basic Coding for the ZX Spectrum (2020)

https://blog.jafma.net/2020/02/24/efficient-basic-coding-for-the-zx-spectrum/
45•rcarmo•10h ago•11 comments

iOS 26.2 fixes 20 security vulnerabilities, 2 actively exploited

https://www.macrumors.com/2025/12/12/ios-26-2-security-vulnerabilities/
107•akyuu•6h ago•98 comments

Kimi K2 1T model runs on 2 512GB M3 Ultras

https://twitter.com/awnihannun/status/1943723599971443134
189•jeudesprits•9h ago•91 comments

Vacuum Is a Lie: About Your Indexes

https://boringsql.com/posts/vacuum-is-lie/
73•birdculture•9h ago•40 comments

Stop crawling my HTML – use the API

https://shkspr.mobi/blog/2025/12/stop-crawling-my-html-you-dickheads-use-the-api/
108•edent•3h ago•110 comments

I fed 24 years of my blog posts to a Markov model

https://susam.net/fed-24-years-of-posts-to-markov-model.html
281•zdw•1d ago•111 comments

Getting into Public Speaking

https://james.brooks.page/blog/getting-into-public-speaking
92•jbrooksuk•4d ago•35 comments