|
![](/i/fill.gif) |
The scene below shows that the Round_Box_.. #macro in 'shapes.inc'
doesn't work well with negative values. The elements of
the 'negative one' are misplaced. I didn't take time yet to
see where's the problem, but I can say that the 'old' RoundedBox
#macro by John VanSickle works as expected.
Fabien.
// ================================
#include "colors.inc"
#include "shapes.inc"
camera {location <15,50,-20> look_at <0,8,0> angle 30}
// bad
object {
Round_Box_Union (<-5,0,0>,<-10,15,-5>,.4)
pigment {Red}
}
// good
object {
Round_Box_Union (<5,0,0>,<10,15,5>,.4)
pigment {Yellow}
}
light_source {<1200,1600,1400> White*1}
light_source {<-1200,1600,-1400> White*1 shadowless}
Post a reply to this message
|
![](/i/fill.gif) |