Hacker News new | ask | show | jobs
by pcwalton 2829 days ago
> We use the rasterizer as a potentially-visible set optimization to iterate only over pixels for which rays might intersect a voxel, and then execute a small ray tracer in the pixel shader.

I was just thinking about doing this last weekend (in the context of drawing exact reflections off reflective surfaces defined by arbitrary meshes). Nice to see it actually works, at least for voxels!

The fact that raytracing (onto a 2D plane) and rasterization are essentially isomorphic to one another is a powerful observation.

1 comments

> The fact that raytracing (onto a 2D plane) and rasterization are essentially isomorphic to one another is a powerful observation.

Hasn't this been a pretty well-known perspective (no pun intended) for a couple of decades now?

Of course, but it's only relatively recently that we've had the graphics APIs to make full use of that observation.
<notices username>

Will this somehow turn into faster CSS and/or SVG render times for Firefox? :)