3 ms·
> 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 r
by pcwalton 8y 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.
- pwang 8y ago> 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?
- pcwalton 8y agoOf course, but it's only relatively recently that we've had the graphics APIs to make full use of that observation.
- vanderZwan 8y ago<notices username> Will this somehow turn into faster CSS and/or SVG render times for Firefox? :)