|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
camera{
location <0.0, 0.5, -4.0>
direction 1.5*z
up <-1,1,0>
right 4/3*<1,1,0>
look_at <0.0, 0.0, 0.0>
}
shouldn't this have tipped my world to a 45 degree angle?
Post a reply to this message
Attachments:
Download 'tipped.jpg' (16 KB)
Preview of image 'tipped.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Bryan Valencia wrote:
> camera{
> location <0.0, 0.5, -4.0>
> direction 1.5*z
> up <-1,1,0>
> right 4/3*<1,1,0>
> look_at <0.0, 0.0, 0.0>
> }
>
> shouldn't this have tipped my world to a 45 degree angle?
>
> ------------------------------------------------------------------------
> [Image]
Try this
camera{
location <0.0, 0.5, -4.0>
direction 1.5*z
sky <-1,1,0>
look_at <0.0, 0.0, 0.0>
}
--
Dan Johnson
http://www.geocities.com/zapob
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Bryan Valencia wrote:
> camera{
> location <0.0, 0.5, -4.0>
> direction 1.5*z
> up <-1,1,0>
> right 4/3*<1,1,0>
> look_at <0.0, 0.0, 0.0>
> }
>
> shouldn't this have tipped my world to a 45 degree angle?
Why do you have both direction and look_at? The look_at and direction are
contradictory too. I'm thinking maybe you're trying to position it along z,
rotate it 45 degrees about z and then pan it down to look at the origin. If so
replace the look_at with a rotate. Hope that helps.
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks, I was using UP in place of SKY
Dan Johnson wrote:
> Bryan Valencia wrote:
>
> > camera{
> > location <0.0, 0.5, -4.0>
> > direction 1.5*z
> > up <-1,1,0>
> > right 4/3*<1,1,0>
> > look_at <0.0, 0.0, 0.0>
> > }
> >
> > shouldn't this have tipped my world to a 45 degree angle?
> >
> > ------------------------------------------------------------------------
> > [Image]
>
> Try this
>
> camera{
> location <0.0, 0.5, -4.0>
> direction 1.5*z
> sky <-1,1,0>
> look_at <0.0, 0.0, 0.0>
> }
>
> --
> Dan Johnson
>
> http://www.geocities.com/zapob
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
David Fontaine wrote:
>Bryan Valencia wrote:
>
>> camera{
>> location <0.0, 0.5, -4.0>
>> direction 1.5*z
>> up <-1,1,0>
>> right 4/3*<1,1,0>
>> look_at <0.0, 0.0, 0.0>
>> }
>>
>> shouldn't this have tipped my world to a 45 degree angle?
>
>Why do you have both direction and look_at? The look_at and direction are
>contradictory too. I'm thinking maybe you're trying to position it along z,
>rotate it 45 degrees about z and then pan it down to look at the origin. If
so
>replace the look_at with a rotate. Hope that helps.
>
>--
>David Fontaine <dav### [at] faricynet> ICQ 55354965
Actually, look_at is provided to avoid all of those rotational calculations
and make it easier to aim the camera with more precision. The 'direction'
keyword is the original and more traditional way to specify the amount of
zoom. I prefer the newer 'angle' keyword. But for photographers and the like
who are more used to thinking in terms of focal length, fstops, and whatnot,
I suspect 'direction' is easier to deal with.
bat### [at] cadronhsacom
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|