|
|
Pentium with 300MHz, 64MB RAM
Persistence of Vision(tm) Ray Tracer Version 3.6.beta.1 gcc@i686-pc-linux-gnu
Redhat Linux
/usr/local/share/povray-3.6
I regularly use spheresweep with linear_spline and constant radius as
a shorthand for spheres and cylinders. With 3.5 I never had problems.
Below is a small scene that works well with 3.5 but has artifacts
with 3.6. The artifacts go away by scaling or by rotating the entire
scene.
camera {
location -2*z
rotate -70*x
rotate 60*z
}
light_source {<1,-1,-1>*100 1}
light_source {<0.5,0,1>*100 1/2}
#declare X1=4/15;
#declare Y1=0;
#declare Z1=-7/20;
#declare X2=19/40;
#declare Y2=-1;
#declare Z2=-3/20;
#declare R=1/40;
union {
box{-1 1-y pigment{rgb x}}
union {
sphere_sweep {
linear_spline 10
<X1,Y1,Z1> R <X2,Y1,Z1> R <X2,Y2,Z1> R <X1,Y2,Z1> R <X1,Y1,Z1> R
<X1,Y1,Z2> R <X2,Y1,Z2> R <X2,Y2,Z2> R <X1,Y2,Z2> R <X1,Y1,Z2> R
}
pigment{rgb 1}
}
rotate 225*z
}
--
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{rgbt 1}interior{media{emission x}}hollow}// Mark Weyer
Post a reply to this message
|
|