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?

Asus Bike Booster

https://www.asus.com/accessories/bike-booster/asus-oxiis/oxiis-intelligent-bike-booster/
120•wiradikusuma•3d ago•56 comments

Asynchronous I/O in DuckDB: Work, Thread, Work

https://duckdb.org/2026/07/31/asynchronous-io
31•pdet•5d ago•2 comments

Semaglutide linked to lower predicted dementia risk

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/dad2.70432
363•randycupertino•10h ago•253 comments

Cultivating a state of mind where new ideas are born (2023)

https://www.henrikkarlsson.xyz/p/good-ideas
94•felixbraun•6h ago•26 comments

Show HN: Mic Drop, a real-time multiplayer karaoke game

https://www.micdrop.gg/
17•johnsillings•2h ago•11 comments

AI in drug discovery – what it is, where we stand and the path forward

https://www.science.org/content/blog-post/so-how-ai-drug-discovery-doing-really
103•AnodicElegy•7h ago•52 comments

Tea5767-Radio-Tuner

https://github.com/turtushig22-blip/tea5767-radio-tuner
24•turtushig22•3h ago•0 comments

At-home test for infected ticks could improve Lyme Disease diagnosis

https://www.smithsonianmag.com/innovation/the-first-at-home-test-for-infected-ticks-could-improve...
219•gmays•12h ago•79 comments

Super El Niño Keeps Growing as New Forecasts Reach Record Territory Ahead Winter

https://www.severe-weather.eu/long-range-2/super-el-nino-growth-accelerating-to-record-strength-f...
103•dgellow•7h ago•55 comments

Abdominal fat predicts heart disease risk better than BMI

https://www.acc.org/about-acc/press-releases/2026/08/11/14/59/abdominal-fat-predicts-heart-diseas...
172•theanonymousone•5h ago•125 comments

RISC-V: They Should Have Known Better

https://dmitry.gr/?r=06.%20Thoughts&proj=12.%20RV
243•dmitrygr•1d ago•309 comments

Tracking down a Zsh history data loss bug

https://michael.stapelberg.ch/posts/2026-08-09-zsh-history-truncation-bug/
45•ingve•5h ago•10 comments

Auto-research with codex: How I achieved a 232x Faster Kernel

https://sankalp.bearblog.dev/autoresearch/
401•tosh•15h ago•89 comments

AI has access to a vastly larger working memory than the human brain

https://davidepiffer.com/p/ai-isnt-outthinking-mathematicians
426•rzk•8h ago•374 comments

A fortuitous decade as an indie software developer

https://lapcatsoftware.com/articles/2026/8/3.html
35•frizlab•5d ago•5 comments

Show HN: I built a native app for coding agents with Rust and GPUI

https://waku.sh
8•0x142857•2h ago•2 comments

A spectre is haunting Unicode

https://www.dampfkraft.com/ghost-characters.html
180•sensanaty•12h ago•60 comments

SugarTrack – an offline Android logbook for blood sugar (no account, no cloud)

https://sugartrack-beta.vercel.app/
25•hunzaboy•4h ago•6 comments

Tess's Android Wayland Compositor

https://github.com/wmww/tawc
52•schmorptron•8h ago•5 comments

Working with AI feels more like leadership than coding

https://allen.bargi.org/notes/working-with-ai-feels-like-leadership/
274•allenb•16h ago•176 comments

Voltair (YC W26) Is Hiring a Test Flight Engineer

https://www.ycombinator.com/companies/voltair/jobs/sSOD2Ox-flight-test-engineer
1•wweissbluth•8h ago

AI-Assisted GPU Porting of a 250k Line Legacy Weather Simulation Code

https://arxiv.org/abs/2608.13122
7•Jimmc414•4h ago•1 comments

Show HN: Bribes.fyi – Compare bribes statistics department wise

https://bribes.fyi/compare
9•neverenderr•4h ago•1 comments

Bede Liu, a digital signal processing pioneer, has died

https://spectrum.ieee.org/digital-signal-processing
62•Jimmc414•5h ago•3 comments

Big Pickle on SWE Atlas – Codebase QnA

https://github.com/PhillipChaffee/big-pickle-swe-atlas
4•phillipchaffee•2h ago•0 comments

Pizza Box Project Stack

https://cblgh.org/posts/2026-07-31-pizza-box-project-stack/
36•surprisetalk•4d ago•4 comments

Software Engineering fundamentals matter more

https://rhonabwy.com/2026/08/15/software-engineering-fundamentals-matter-more-than-ever/
8•ingve•4h ago•0 comments

An image can overflow

https://master.dev/blog/something-nobody-told-you-about-the-image-element-it-can-overflow/
24•ibobev•4d ago•7 comments

The Wow signal was a strong narrowband radio signal detected on August 15, 1977

https://en.wikipedia.org/wiki/Wow!_signal
71•firefax•5h ago•18 comments

Decoding smell: Study reveals how odor signals shapeshift in the wind

https://www.colorado.edu/today/2026/08/10/decoding-smell-study-reveals-how-odor-signals-shapeshif...
5•hhs•3h ago•0 comments