|
|
"Ken" <tyl### [at] pacbellnet> wrote in message
news:3B958E42.2C8A312C@pacbell.net...
>
>
> Wade wrote:
> >
> > How do I make the texture visible on the back wall (the one that is
facing
> > the camera)? I see only black.
>
> Example ?
>
> --
> Ken Tyler
oops 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,11>
look_at 0
angle 45
}
// Right Wall
box {
<-2,-2,-2>, <2,2,2>
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 <-3.638508,0.140896,0.0>
}
// Back 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
}
}
rotate y*90
}
I've not scale the back wall yet
Post a reply to this message
|
|
|
|
Wade wrote:
>
> "Ken" <tyl### [at] pacbellnet> wrote in message
> news:3B958E42.2C8A312C@pacbell.net...
> >
> >
> > Wade wrote:
> > >
> > > How do I make the texture visible on the back wall (the one that is
> facing
> > > the camera)? I see only black.
> >
> > Example ?
> >
> > --
> > Ken Tyler
>
> oops here's my code:
Your camera is in the +z direction and your light source is in the
-z direction, on the other side of the wall. Change your lightsource
to a location on the same side of the box and it will appear as it
should -
light_source {
0*x
color White
area_light
<8,0,0> <0,0,8>
4, 4
adaptive 0
jitter
translate <40,80,40>
}
--
Ken Tyler
Post a reply to this message
|
|