<div dir="ltr">Hi Thomas,<br><br>Can you write a small example program that demonstrates the issue?<br><br>Pat<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 16, 2013 at 5:33 PM, Thomas H <span dir="ltr">&lt;<a href="mailto:th6741311@gmail.com" target="_blank">th6741311@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
<br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br></div>