[vtkusers] Small question about the camera parallel scale
Andrea Borsic
aborsic at ne-scientific.com
Wed Aug 10 04:11:05 EDT 2016
I am not 100% sure of that, but I think it is likely so.
Cheers,
Andrea
On 10-Aug-16 10:08 AM, Elvis Stansvik wrote:
> 2016-08-10 10:05 GMT+02:00 Andrea Borsic <aborsic at ne-scientific.com
> <mailto: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 bywww.kitware.com <http://www.kitware.com>
>>
>> Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html
>> <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 <http://www.vtk.org/Wiki/VTK_FAQ>
>>
>> Search the list archives at:http://markmail.org/search/?q=vtkusers
>> <http://markmail.org/search/?q=vtkusers>
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>> <http://public.kitware.com/mailman/listinfo/vtkusers>
>
> --
> ++++++++++++++++++++++++++++++++++++
> Andrea Borsic Ph.D.
> CEO & Founder NE Scientific LLC
> Tel:+1 603 676 7450 <tel:%2B1%20603%20676%207450>
> Web:www.ne-scientific.com <http://www.ne-scientific.com>
> Twitter:https://twitter.com/ne_scientific <https://twitter.com/ne_scientific>
>
> _______________________________________________ Powered by
> www.kitware.com <http://www.kitware.com> Visit other Kitware
> open-source projects at
> http://www.kitware.com/opensource/opensource.html
> <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 <http://www.vtk.org/Wiki/VTK_FAQ>
> Search the list archives at:
> http://markmail.org/search/?q=vtkusers
> <http://markmail.org/search/?q=vtkusers> Follow this link to
> subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160810/1ecd4051/attachment.html>
More information about the vtkusers
mailing list