[vtkusers] ActiViz | Camera Set Position

Matias Montroull matimontg at gmail.com
Mon Mar 31 22:07:54 EDT 2014


Thanks, I now have something to print and read tomorrow. I think I should
have started from this but I couldn't find a good article.

Good article!


On Mon, Mar 31, 2014 at 10:54 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> Hi Matias,
>
> I recommend the "Viewing" chapter of the OpenGL programming guide:
>
> http://www.glprogramming.com/red/chapter03.html
>
> It's not specifically about VTK (its for OpenGL, obviously) but it
> does a very good job of describing how a camera works in computer
> graphics.
>
>   - David
>
>
>
> On Mon, Mar 31, 2014 at 7:24 PM, Matias Montroull <matimontg at gmail.com>
> wrote:
> > Hi,
> >
> > I have a stack of images from where I create a 3D view, all good, now, my
> > head is shown upside down and in an angle that I don't like so I've been
> > playing around with the camera to set it to the right position which
> would
> > be looking the face like if someone would be looking himself at a mirror.
> >
> > I've used this:
> >
> > camara.SetPosition(0, 0, 1);
> >
> > along with this:
> > camara.OrthogonalizeViewUp();
> >
> > And still can't get the desired result.
> >
> > See the attached examples. Head.jpg is what I see, then "how should
> be.jpg"
> > is how I need it to be..
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140331/192ef936/attachment.html>


More information about the vtkusers mailing list