[vtkusers] Small question about the camera parallel scale
Elvis Stansvik
elvis.stansvik at orexplore.com
Wed Aug 10 04:08:21 EDT 2016
2016-08-10 10:05 GMT+02:00 Andrea Borsic <aborsic at ne-scientific.com>:
> Hi Elvis,
>
> Could it be that the height and width are probably measured from the focal
> point to the border (thus 500 units would result in a border to border
> height of 1000 units) ?
>
Ah yes, this is probably what is meant with "viewport height" in the
documentation. I just wasn't aware of the terminology. Thanks.
Elvis
> Cheers,
>
> Andrea
>
> On 10-Aug-16 9:39 AM, Elvis Stansvik wrote:
>
> The docs for Get/SetParallelScale says:
>
> "Set/Get the scaling used for a parallel projection, i.e. the height of
> the viewport in world-coordinate distances."
>
> But it seems that the parallel scale is actually twice the height of the
> viewport in world-coordinate distances. E.g. if I want 1000.0 units in
> world-coordinates to be visible in the vertical direction in the viewport,
> I should set the parallel scale of the camera to 500.0.
>
> Am I missing something? Or is it just that I don't know the terminology,
> what does "height of the viewport" actually mean?
>
> Thanks in advance,
> Elvis
>
>
> _______________________________________________
> 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:http://public.kitware.com/mailman/listinfo/vtkusers
>
>
> --
> ++++++++++++++++++++++++++++++++++++
> Andrea Borsic Ph.D.
> CEO & Founder NE Scientific LLC
> Tel: +1 603 676 7450
> Web: www.ne-scientific.com
> Twitter: https://twitter.com/ne_scientific
>
>
> _______________________________________________
> 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:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160810/4d371530/attachment.html>
More information about the vtkusers
mailing list