<div dir="ltr"><div><div><div><div>Hi all,<br><br></div>I believe there is a bug in the computeDisplayToWorld method of vesRenderer. To me it appears as if rotation is not taken into account properly. If I do the following in VTK, the sphere remains at the same position on display after rolling by 90 degrees:<br>
<br>vtkActor *aSphere = vtkActor::New();<br>double world[4];<br>vtkInteractorObserver::ComputeDisplayToWorld(renderer, 204.408, 199.874, 0.660146, world);<br><br>aSphere-&gt;SetPosition(world[0], world[1], world[2]);<br>renderer-&gt;GetActiveCamera()-&gt;Roll(90);<br>
vtkInteractorObserver::ComputeDisplayToWorld(renderer, 204.408, 199.874, 0.660146, world);<br>aSphere-&gt;SetPosition(world[0], world[1], world[2]);<br><br></div>The sphere remaining at the same place is the behavior I would expect. If, however, I do the same in ves (on iOS), the sphere does not remain at the same place, but appears to be rotated by 180 degrees. <br>
<br></div>Any chance this is a bug? I have trouble explaining this issue differently. I&#39;d be happy to post more code (in particular ves code), but I am a bit cluess what to post (other than the entire project).<br><br>
</div>Best,<br><br>Thomas<br><div><div><div><div><br></div></div></div></div></div>