|
![](/i/fill.gif) |
"Greg M. Johnson" wrote:
> Hmm. Consider:
Interesting that variance in the scaling can trigger the bug...
Here's a shorter and clearer example:
light_source {<1,2,-3>*1000, color 1.5}
background {color <0.3,0.5,0.8>}
#declare OddScale=<2.5,2.5,2.499999999999999>;
#declare OKScale= <2.5,2.5,2.4999999999999999>;
#declare piggy=
pigment{
gradient y
pigment_map{[0.5,red 1][0.5,rgb <1,1,0>]}
}
blob {
threshold .5
sphere {
0, 2, 1 scale OKScale
texture {pigment {piggy}}
rotate 45*z // pigment OK!
}
translate <+3,0,10>
}
blob {
threshold .5
sphere {
0, 2, 1 scale OddScale
texture {pigment {piggy}}
rotate 45*z // pigment rotated twize!
}
translate <-3,0,10>
}
Post a reply to this message
|
![](/i/fill.gif) |