|
|
"Kenneth" <kdw### [at] gmailcom> wrote:
>
> // long box embedded in media
> box{-.37,.55 scale <3.5,.15,.15>
> pigment{
> gradient x
> scale .7
> color_map{
> [0.0 rgb <1,0,0>]
> [.333 rgb <1,0,0>]
> [.333 rgb <0,1,0>]
> [.666 rgb <0,1,0>]
> [.666 rgb <0,0,1>]
> }
> }
> // OR...
> // pigment{rgb .5}
>
> rotate -60*y
> rotate -15*x
> translate .1*y
> }
> // END
Oops, a small mistake: This box shouldn't have the 'default' finish (although it
doesn't really affect the scene.) But substitute this for it...
// long box embedded in media
box{-.37,.55 scale <3.5,.15,.15>
texture{
pigment{
gradient x
scale .7
color_map{
[0.0 rgb <1,0,0>]
[.333 rgb <1,0,0>]
[.333 rgb <0,1,0>]
[.666 rgb <0,1,0>]
[.666 rgb <0,0,1>]
}
}
// OR...
// pigment{rgb .5}
finish{ambient .2 diffuse .8}
}
rotate -60*y
rotate -15*x
translate .1*y
}
// END
Post a reply to this message
|
|