|
|
Hello,
I rendert this, but is not blue with white. Its black with white ( checker
White, Blue ), is it a bug in version 3.5 RC6 or is it my problem?
#include "colors.inc"
background{Yellow}
camera {
angle 15
location <0,2,10>
look_at <0,0,0>
}
light_source { <10, 20, -10> color White }
light_source { <-10, 20, 10> color White }
light_source { <10, -20, 10> color White }
light_source { <10, 20, 10> color White }
blob {
threshold .65
sphere { <.5,0,0>,.8, 1
texture
{
pigment
{
pigment_pattern
{
checker White, Blue
scale 1
turbulence 20
translate <1,2,3> rotate x*45 scale 2
}
}
}
}
sphere { <-.5,0,0>,.8, 1
texture
{
pigment
{
pigment_pattern
{
checker White, Blue
scale 1
turbulence 20
translate <1,2,3> rotate x*45 scale 2
}
}
}
}
finish { phong 1 }
}
Post a reply to this message
|
|
|
|
in news:3d14cfd1@news.povray.org Bernd Michler wrote:
> I rendert this, but is not blue with white. Its black with white (
> checker White, Blue ), is it a bug in version 3.5 RC6 or is it my
> problem?
>
With pigment_pattern you are creating a "new" pattern. The resulting
pattern is always grayscale, so to get color in you'll have to add it to
the pigment in form of a color_map.
sphere {
<0,0,0>,1
texture {
pigment {
pigment_pattern {
checker rgb 1, rgb <1,0,0>
scale 0.2
}
/*color_map {
[0, rgb <1,0,0>]
[1, rgb <0,0,1>]
}*/
}
}
}
Ingo
Post a reply to this message
|
|