|
|
Hello,
it seems that povray does not work properly on this simple input file:
//////////////////////////////////////////////////////////////////////
#include "colors.inc"
#declare s1 = sphere {<0 0 0>, 40}
#declare p1 = plane {<0 0 1>, 10}
#declare p2 = plane {<0 -0.0141 0.9999>, -10}
light_source {
<100,-100,300>
color White
}
camera {
location <100, -100, 100>
angle 40
look_at <0, 0, 0>
}
intersection {
object {s1}
object {p1}
object {p2 inverse}
pigment {
color Blue
}
}
//////////////////////////////////////////////////////////////////////
it should be a sphere cut by two almost parallel (xy) planes, however the second
plane (p2) is visualized as a perpendicular (xz) plane.
With:
#declare p2 = plane {<0 0 1>, -10}
everything is fine. It seems that the problem occurs when the y component of the
normal vector has negative sign. Is this a bug or there is something wrong in
this simple input file? Thanks,
Bruno
Post a reply to this message
|
|