|
|
>> Was anybody able to at least reproduce this bug on their system?
>>
>
> Yes, I got the same results
> (Windows XP)
Me too, in beta 25, and verified it works fine in 3.6.
I think it has to do with the use of transform{}. Here's
a modified scene that removes "transforms.inc" from
the minimal scene.
camera {
location <0,1,-4>
look_at <0,0,0>
angle 30
}
light_source {
<1,1,-1>*10 color rgb 1
}
// inside a union
#declare tube = union {
cylinder {
<0,0,0>, <0,1,0>, 0.1
pigment {
gradient y
color_map {
[0 color <1,0,0>] // red
[1 color <0,0,1>] // blue
}
}
}
};
// just a cylinder
#declare tube2 = cylinder {
0, y, 1/10
pigment {
gradient y
color_map {
[0 color <0,1,0>] // green
[1 color <1,1,1>] // white
}
}
};
// with object in union, red-blue
object {
tube
transform {translate <0.25,-0.5,0>}// this transform misaligns texture
}
object {
tube
translate <-0.25,-0.5,0>
}
// with cylinder only, green-white
object {
tube2
transform {translate <0.5,-0.5,0>}// this tranform works fine
}
object {
tube2
translate <-0.55,-0.5,0>
}
Post a reply to this message
|
|