<div dir="ltr">Did you try calling renderder.resetCamera() after calling <span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">camera.setParallelProjection(</span><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">true) ?</span></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 30, 2018 at 7:43 PM Feng Yang <<a href="mailto:newcowbow1104@gmail.com">newcowbow1104@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Sir.<div>        I'm doing medical imaging volume rendering with vtk.js in my application. </div><div>        And I have a problem here.</div><div>        Before camera.setParallelProjection(true), everything looks fine. the result is ok.</div><div>        but After 

<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span>camera.setParallelProjection(true)</span> , Nothing is shown.</div><div>        Why is that. Am I missing something here.</div><div><br></div><div>thanks.<br><div>        </div></div></div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div>