Re: Volume Shaders


Daniel <night-...@...>
 

On 21 Jan., 08:33, Larry Gritz <l...@...> wrote:
A "volume integrator" in the renderer is responsible for doing the actual ray marching, evaluating the closure for specific light directions, and accumulating the contributions along the viewing ray.
OK, that is how I interpreted the spec.
The volume integrator will, presumably, need some information about
the density of the volume, right? Do you already have ideas for
specifying that in OSL? Or will volume density information simply be
part of the scene description so integrators can choose to do this in
a way that fits their scene format?

Regards,
Daniel

Join osl-dev@lists.aswf.io to automatically receive all group messages.