|
|
"Eamon Caddigan" <eca### [at] uiucedu> wrote in message
news:slr### [at] rafahksuiucedu...
> Chambers <bdc### [at] yahoocom> wrote:
> > "Eamon Caddigan" <eca### [at] uiucedu> wrote in message
> > news:40686aa5$1@news.povray.org...
> >> In scenes rendered with a negative camera direction, the scene appears
> >> flipped about the y-axis. Using the pinhole camera model, however, it
> >> would seem that the image should be flipped about both the x- and
> >> y-axes. Am I missing something important?
> >>
> >> -Eamon
> >
> > How did you give the camera a "negative" direction? The answer will
> > determine how to flip the axis.
>
> One scene has the following camera definition:
> camera {
> location <0.0000, 0.0000, -2.0000>
> look_at <0.0000, 0.0000, -0.0000>
> up <0.0000, 6.0000, 0.0000>
> right <8.0000, 0.0000, 0.0000>
> direction <-0.0000, -0.0000, -4.0000>
> }
If you use look_at, you don't need to use direction. So your camera
statement could be
camera {
up y*8
right x*8
location -z*2
look_at 0
}
<goes off to fiddle>
--
...Chambers
http://www.geocities.com/bdchambers79
Post a reply to this message
|
|