|
![](/i/fill.gif) |
I'm having a problem with a sphere-sweep that looks like the bounding box is
too small: some of it is not shown. It's not related to the tolerance
setting or self-shadowing, nor seem it to be a precision problem, as scaling
it all larger or smaller makes no difference. I also tried to apply my own
larger bounding_box, but it makes no difference. Any pointers what I can do?
Minimal scene:
#declare FlowerAlignments = array[3]
{1.24*<1,1,1>, <-65, 5,-50>, <8.1,-7.8,30>},
union {
#declare C = 0;
#while (C<6)
sphere_sweep {
cubic_spline 4,
<0,-6.0,0.00>, 0.12,
<0,-0.2,0.07>, 0.05,
<0, 2.1,0.70>, 0.01,
<0, 2.5,2.50>, 0.00
/*bounded_by {box {
<-0.05,-0.25,0.02>-<1,1,1>,
<0.05,2.11,0.71>+<1,1,1>
}}*/ // no difference
rotate 60*y*C
}
#declare C = C+1;
#end
pigment {rgb <1.50,0.90,0.00>}
translate -y
scale FlowerAlignments[0]
rotate FlowerAlignments[1]*<0,1,0>
rotate FlowerAlignments[1]*<1,0,1>
translate FlowerAlignments[2]
}
camera {
location -FlowerAlignments[2]
look_at 0
angle FlowerAlignments[0].x*5
translate FlowerAlignments[2]
}
light_source {< 1, 2,-3>*1000, rgb 1.0}
light_source {<-3, 1,-2>*1000, rgb 0.6}
light_source {<-1,-3,-2>*1000, rgb 0.6}
Rune
--
http://runevision.com
Post a reply to this message
|
![](/i/fill.gif) |