|
![](/i/fill.gif) |
well I'm using povray 3.5 and I'm having a lot of trouble with making the
wall's color show up. here's the code:
camera {
right x*image_width/image_height
location <0,.55,-4>
look_at <0,1,0>
}
light_source {
<500,500,-500> // light's position
color rgb <1, 1, 1> // light's color
}
sky_sphere {
pigment {
gradient y
color_map {
[0.0 rgb <0.6,0.7,1.0>]
[0.7 rgb <0.0,0.1,0.8>]
}
}
}
// ----------------------------------------
plane {
y, 0
texture {
pigment {
checker
color rgb <1.0, 0.8, 0.6>
color rgb <1.0, 0.0, 0.0>
scale 0.5
}
}
}
// An area light (creates soft shadows)
// WARNING: This special light can significantly slow down rendering times!
light_source {
0*x // light's position (translated below)
color rgb 1.0 // light's color
area_light
<8, 0, 0> <0, 0, 8> // lights spread out across this distance (x * z)
4, 4 // total number of lights in grid (4x*4z = 16 lights)
adaptive 0 // 0,1,2,3...
jitter // adds random softening of light
circular // make the shape of the light circular
orient // orient light
translate <40, 80, -40> // <x y z> position of light
}
// create a box that extends between the 2 specified points
box {
<-5, -5, 0> // one corner position <X1 Y1 Z1>
< 5, 5, 0> // other corner position <X2 Y2 Z2>
color Khaki
}
__________________________________________________________________ Wade
Markham ICQ#: 44258048 Current ICQ status: + More ways to contact me i See
more about me:
__________________________________________________________________
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3d4f08ee@news.povray.org>, "Wade" <Zav### [at] aol com> wrote:
> box {
> <-5, -5, 0> // one corner position <X1 Y1 Z1>
> < 5, 5, 0> // other corner position <X2 Y2 Z2>
> color Khaki
>
> }
box {
<-5, -5, 0> // one corner position <X1 Y1 Z1>
< 5, 5, 0> // other corner position <X2 Y2 Z2>
pigment {color Khaki}
}
--
Christopher James Huff <chr### [at] mac com>
POV-Ray TAG e-mail: chr### [at] tag povray org
TAG web site: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Christopher James Huff" <chr### [at] mac com> wrote:
> In article <3d4f08ee@news.povray.org>, "Wade" <Zav### [at] aol com> wrote:
>
> > box {
> > <-5, -5, 0> // one corner position <X1 Y1 Z1>
> > < 5, 5, 0> // other corner position <X2 Y2 Z2>
> > color Khaki
> >
> > }
>
> box {
> <-5, -5, 0> // one corner position <X1 Y1 Z1>
> < 5, 5, 0> // other corner position <X2 Y2 Z2>
> pigment {color Khaki}
> }
And don't forget:
#include "colors.inc"
I didn't saw it in your code... :-)
Regards.
-- #=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=# --
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/
Post a reply to this message
|
![](/i/fill.gif) |