<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi everyone,</div>
<div> </div>
<div>I try to use the depth maps generated by vtkShadowMapBakerPass to determine which objects are occluded by other objects. To do that I download the texture to an unsigned int array.</div>
<div> </div>
<div>However I can not figure out how to interpret the values within the map. Normalizing with the clipping range values of the corresponding light camera only works for one camera position. In that case the direction of projection of the camera is (0, 1, 0). In all other cases that I tested the near clipping range is far too low and the far clipping range probably too high.</div>
<div> </div>
<div>Is there any other way to normalize the depth values?</div>
<div> </div>
<div>Thank you in advance for your help!</div>
<div>
<div>Max</div>
</div>
</div></div></body></html>