Cycles: Update some comments in volume code.

This commit is contained in:
Thomas Dinges 2014-11-13 11:29:54 +01:00
parent 577327635c
commit 2e2c24bec1

@ -581,7 +581,8 @@ ccl_device_noinline VolumeIntegrateResult kernel_volume_integrate(KernelGlobals
* through a volume. This can then latter be used for decoupled sampling as in:
* "Importance Sampling Techniques for Path Tracing in Participating Media"
*
* On the GPU this is only supported for homogeneous volumes (1 step), due to
* On the GPU this is only supported (but currently not enabled)
* for homogeneous volumes (1 step), due to
* no support for malloc/free and too much stack usage with a fix size array. */
typedef struct VolumeStep {
@ -735,12 +736,8 @@ ccl_device void kernel_volume_decoupled_free(KernelGlobals *kg, VolumeSegment *s
}
/* scattering for homogeneous and heterogeneous volumes, using decoupled ray
* marching. unlike the non-decoupled functions, these do not do probalistic
* scattering, they always scatter if there is any non-zero scattering
* coefficient.
* marching. this function does not do emission or modify throughput.
*
* these also do not do emission or modify throughput.
*
* function is expected to return VOLUME_PATH_SCATTERED when probalistic_scatter is false */
ccl_device VolumeIntegrateResult kernel_volume_decoupled_scatter(
KernelGlobals *kg, PathState *state, Ray *ray, ShaderData *sd,