Dear users, <div>I have simple scene and for interactive manipulation I am using vtkInteractorStyleTrackballCamera . I did not change any camera or renderer default settings, but I scaled actor. </div><div>How I can get current view vector and model view matrix (without projection) ?</div>

<div>I need synchronise my algorithm with any change of them.</div><div><br></div><div>Details : </div><div>My algorithm is vtkPolyDataAlgorithm that simulates 'lighting'. I took light vector = [0,0,1] </div><div>

For computation of illumination I need current view vector and transform light manually (transform it by model view matrix , or inverse I do not know )</div><div>But I do not know how to get this information.</div><div><br>

</div><div>Any advice would be highly appreciate.</div><div><br></div><div>Jana</div>