[vtkusers] How to setup camera?

David Doria daviddoria+vtk at gmail.com
Wed Apr 14 12:26:00 EDT 2010


On Wed, Apr 14, 2010 at 12:13 PM, Jothybasu K Selvaraj
<jothybasu at gmail.com> wrote:
> Hi Guys,
>
> I am trying to view some objects from a certain distance, let's say 50cm
> from the centre of the objects (for instance:cube of 128,128,128).
>
> Now how to set the camera 50 cm away from the centre of the cube.Confused of
> the coordinate system in this 3D view.
>
> Any hints?
>
> Thanks,
>
> Jothy

I just threw this together:

http://www.vtk.org/Wiki/VTK/Examples/vtkCamera

Is that what you were looking for?

Thanks,

David



More information about the vtkusers mailing list