Your browser seems not to support HTML 5 Canvas!
LOD5
FPS0
WebGPU Status😰 ...

Scalar Field Ray Casting

This is a hybrid of ray casting/marching (with scalar field gradients instead of a signed distance field) and marching cubes (minus the polygonization). Maybe there is a proper name for it in the graphics circles?

I am using a compute shader to create a 3D texture with scalar field values and gradients, and sampling it in the fragment shader (the thing that shoots it with ray 🙂)

The Controls / Key Mappings

The following keys change the function of mouse-dragging:

RRotation
CContour Value
MNoise Matrix
SNoise Scaling Factor

The following keys perform the specified actions:

Increase level of detail
Decrease level of detail
VStart/Stop Recording