POV-Ray : Newsgroups : povray.general : Moving the vanishing point. Server Time
6 Aug 2024 10:27:23 EDT (-0400)
  Moving the vanishing point. (Message 8 to 17 of 17)  
<<< Previous 7 Messages Goto Initial 10 Messages
From: Corey Woodworth
Subject: Re: Moving the vanishing point.
Date: 2 May 2002 10:12:16
Message: <3cd14940$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3cd123bb@news.povray.org...
> Antti Arola <aar### [at] lutfi> wrote:
> > AFAIK there is no other way than cropping the output.
>
>   It should be possible by shearing the camera in the exact same way as
> shearing the box in:
> http://enphilistor.users4.50megs.com/matrix.htm

Thanks! I'll look into that and tell you how it goes :)

Corey


Post a reply to this message

From: Ib Rasmussen
Subject: Re: Moving the vanishing point.
Date: 2 May 2002 13:18:58
Message: <3CD17554.30801@my.email.address>
Corey Woodworth wrote:

> Yeah Cropping the output occurred to me, but the image I'm planning will
> probably take a good deal of time to render so I was hoping I could avoid
> rendering extra lines.


You don't have to render the parts you don't need.

You can start and end the render at the rows and columns you need. 

Look up General Output Options in the help file.


/Ib


Post a reply to this message

From: Harold Baize
Subject: Re: Moving the vanishing point.
Date: 2 May 2002 14:39:10
Message: <3cd187ce$1@news.povray.org>
What you are trying to do is very similar to the long discussion
of creating a stereo camera by shearing. Both involve using
shearing to accomplish cropping that could be done in
post processing. (see the Stereoscopy thread above).

Harold

"Corey Woodworth" <cdw### [at] mpinetnet> wrote in message
news:3cd14940$1@news.povray.org...
>
> "Warp" <war### [at] tagpovrayorg> wrote in message
> news:3cd123bb@news.povray.org...
> > Antti Arola <aar### [at] lutfi> wrote:
> > > AFAIK there is no other way than cropping the output.
> >
> >   It should be possible by shearing the camera in the exact same way as
> > shearing the box in:
> > http://enphilistor.users4.50megs.com/matrix.htm
>
> Thanks! I'll look into that and tell you how it goes :)
>
> Corey
>
>


Post a reply to this message

From: Harold Baize
Subject: Re: Moving the vanishing point.
Date: 2 May 2002 14:40:24
Message: <3cd18818@news.povray.org>
Thanks Ib, that could be useful in rendering stereo pairs too.

Harold

"Ib Rasmussen" <thi### [at] myemailaddress> wrote in message
news:3CD### [at] myemailaddress...
> Corey Woodworth wrote:
>
> > Yeah Cropping the output occurred to me, but the image I'm planning will
> > probably take a good deal of time to render so I was hoping I could
avoid
> > rendering extra lines.
>
>
> You don't have to render the parts you don't need.
>
> You can start and end the render at the rows and columns you need.
>
> Look up General Output Options in the help file.
>
>
> /Ib
>


Post a reply to this message

From: Ben Chambers
Subject: Re: Moving the vanishing point.
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

From: Corey Woodworth
Subject: Re: Moving the vanishing point.
Date: 2 May 2002 22:07:09
Message: <3cd1f0cd@news.povray.org>
> /---------------\
> |    |  :       |
> |----X----------|
> |    |  :       |
> |::::|::O:::::::|
> |    |  :       |
> |    |  :       |
> |    |  :       |
> \---------------/
>
> This is what you want, right?  Then, make your look_at O, not X.
>
> Hope this made sense :)

Thats what I want but I want to keep the vanishing point on X. like this:

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

kinda :)

Corey


Post a reply to this message

From: Corey Woodworth
Subject: Re: Moving the vanishing point.
Date: 2 May 2002 22:08:17
Message: <3cd1f111@news.povray.org>
> You don't have to render the parts you don't need.
>
> You can start and end the render at the rows and columns you need.
>
> Look up General Output Options in the help file.

Oh, wow! Didn't even think of that, Thats a great idea!

Corey


Post a reply to this message

From: Slime
Subject: Re: Moving the vanishing point.
Date: 4 May 2002 00:42:05
Message: <3cd3669d$1@news.povray.org>
> Thats what I want but I want to keep the vanishing point on X.

Well, technically, the vanishing point *will* stay on X just by moving the
camera or look_at vector. However, if you don't want to actually distort the
scene, that is, if you only want to sort of translate the view along the
viewing window that you have, then you have to do a matrix transformation as
others have said.

Perhaps a simple example scene would help us illustrate the concepts.

- Slime
[ http://www.slimeland.com/ ]
[ http://www.slimeland.com/images/ ]


Post a reply to this message

From: Harold Baize
Subject: Re: Moving the vanishing point.
Date: 6 May 2002 15:45:09
Message: <3cd6dd45$4@news.povray.org>
Unfortunately, the area not rendered is filled with black, so you
still have to edit the file in post processing. :-(

HB

"Harold Baize" <bai### [at] itsaucsfedu> wrote in message
news:3cd18818@news.povray.org...
> Thanks Ib, that could be useful in rendering stereo pairs too.
>
> Harold
>
> "Ib Rasmussen" <thi### [at] myemailaddress> wrote in message
> news:3CD### [at] myemailaddress...
> > Corey Woodworth wrote:
> >
> > > Yeah Cropping the output occurred to me, but the image I'm planning
will
> > > probably take a good deal of time to render so I was hoping I could
> avoid
> > > rendering extra lines.
> >
> >
> > You don't have to render the parts you don't need.
> >
> > You can start and end the render at the rows and columns you need.
> >
> > Look up General Output Options in the help file.
> >
> >
> > /Ib
> >
>
>


Post a reply to this message

From: Marc Jacquier
Subject: Re: Moving the vanishing point.
Date: 7 May 2002 03:17:27
Message: <3cd77f87$1@news.povray.org>

3cd6dd45$4@news.povray.org...
> Unfortunately, the area not rendered is filled with black, so you
> still have to edit the file in post processing. :-(
>
Just cropping is not a big edition, is it? :-)
Marc


Post a reply to this message

<<< Previous 7 Messages Goto Initial 10 Messages

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