9
$\begingroup$

I need to get the current step number while rendering a volume object

the step used for sampling the volume :

enter image description here

something like in light path node " transparent depth , ray depth "

enter image description here

$\endgroup$
3
  • $\begingroup$ could be something like Ray depth x step size $\endgroup$
    – Bithur
    Feb 13, 2015 at 19:35
  • $\begingroup$ @Bithur it seems not, i think ray depth is not increasing inside the volume $\endgroup$
    – Chebhou
    Feb 13, 2015 at 20:23
  • $\begingroup$ yep, wasn't sure about that but didn't find anything else :( $\endgroup$
    – Bithur
    Feb 13, 2015 at 20:24

1 Answer 1

1
$\begingroup$

In short, no. This isn't currently exposed to the user.

The Transparent Depth value is a count of each transparent object, not distance traveled within it.

There is a Ray Depth output, but it's unclear what that does.

There is a Ray Length output, but it doesn't increase inside a volume. It's measured after the sample is taken.

$\endgroup$
1
  • 3
    $\begingroup$ ray depth is the number of bounces $\endgroup$
    – Chebhou
    May 13, 2016 at 14:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .