[vtkusers] How to setup camera?

Jothybasu K Selvaraj jothybasu at gmail.com
Wed Apr 14 12:41:03 EDT 2010


Thanks David,

Now I got the point, center of the cube is (0,0,0).This should be set as
focal point.

Added a python version in the wiki under visualization.


Jothy

On Wed, Apr 14, 2010 at 5:26 PM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100414/77b84b4c/attachment.htm>


More information about the vtkusers mailing list