[vtkusers] About camera.setParallelProjection(true) in vtk.js

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jul 30 21:56:06 EDT 2018


Did you try calling renderder.resetCamera() after calling
camera.setParallelProjection(true) ?

On Mon, Jul 30, 2018 at 7:43 PM Feng Yang <newcowbow1104 at gmail.com> wrote:

> Hi Sir.
>         I'm doing medical imaging volume rendering with vtk.js in my
> application.
>         And I have a problem here.
>         Before camera.setParallelProjection(true), everything looks fine.
> the result is ok.
>         but After   camera.setParallelProjection(true) , Nothing is shown.
>         Why is that. Am I missing something here.
>
> thanks.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180730/9f29b569/attachment.html>


More information about the vtkusers mailing list