POV-Ray : Newsgroups : povray.general : Moving the vanishing point. : Re: Moving the vanishing point. Server Time
6 Aug 2024 12:27:31 EDT (-0400)
  Re: Moving the vanishing point.  
From: Ben Chambers
Date: 2 May 2002 21:15:49
Message: <3cd1e4c4@news.povray.org>
Corey Woodworth wrote:

>> You don't actually set the vanishing point in POV.  Instead, the camera
>> points in a direction such that the camera points from the "location"
>> vector to the "look_at" vector.
> 
> You're misunderstanding me. I don't want to change the actual look_at
> vector because my camera is looking where I want it. I want to move the
> location of the look_at vector in the output file. In other words I have
> the look_at vector where I want it in 3D space, but I don't have it where
> I want it in 2D space.

I really think that you're misunderstanding POV.  The look_at vector is 
precisely that - the point that the camera looks at.  Now, if you want the 
object the camera is looking at to be not in the center of the picture, 
then whatever *was* in the center of the picture would be the new look_at.

For example, say we have this:

/---------------\
|       |       |
|       |       |
|       |       |
|-------X-------|
|       |       |
|       |       |
|       |       |
\---------------/

Now, let's say we want to move the X to here:

/---------------\
|    |          |
|----X----------|
|    |          |
|    |          |
|    |          |
|    |          |
|    |          |
\---------------/

look_at should no longer point at X, because the camera is looking below and 
to the right of X.  Then, the new look_at would be O:

/---------------\
|    |  :       |
|----X----------|
|    |  :       |
|::::|::O:::::::|
|    |  :       |
|    |  :       |
|    |  :       |
\---------------/

This is what you want, right?  Then, make your look_at O, not X.

Hope this made sense :)

...Chambers


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.