|
|
Before I translated the wall to its current position, it stood up straight,
but after translating it, the wall is angling to the left at about 10
degrees. how do I fix this problem?
Here's my code:
#include "colors.inc"
background {color rgb <.999,.999,.999>}
light_source {
0*x
color White
area_light
<8,0,0> <0,0,8>
4, 4
adaptive 0
jitter
translate <40,80,-40>
}
camera {
location <0,0,15>
look_at y*5
angle 45
}
// Left Wall
box {
<-1,-1,-1>, <1,1,1>
texture{
pigment{
color rgb <1.0, .989567,0.9479>
}
normal{
wrinkles 0.25
scale 0.005
}
finish{
ambient .266167
diffuse .884867
}
}
scale <0.1, 3.5, 1.5>
translate <-5.638508,0.140896,0.0>
}
Wade
Post a reply to this message
|
|
|
|
Wade wrote:
>
> Before I translated the wall to its current position, it stood up straight,
> but after translating it, the wall is angling to the left at about 10
> degrees. how do I fix this problem?
>
> camera {
> location <0,0,15>
> look_at y*5
> angle 45
> }
That's because your camera is at ground level (y=0) and looking up at
y=5. Change it to look at <0,0,0>
or put it a < 0,5,15>.
--
Francois Labreque | Unfortunately, there's no such thing as a snooze
flabreque | button on a cat who wants breakfast.
@ | - Unattributed quote from rec.humor.funny
videotron.ca
Post a reply to this message
|
|