|
|
Simple example of sphere_sweep cubic spline problem I told of earlier, if
rendered using beta 6. Does not show same in official 3.7 or previous beta 5.
/* begin */
#version 3.7; // or 3.71
global_settings {assumed_gamma 1}
#local SplineType=1;
#local Scale=12.3; // larger scale worsens defect
light_source {<5,10,-20>*Scale, 1}
camera {
location <0,0,-4*Scale>
look_at 0
}
/* defect(?) of sphere_sweep cubic spline at center */
sphere_sweep
{
#if (SplineType) cubic_spline 9,
#else linear_spline 9,
#end
<-3,0,0>,0.1,
<-2.5,0.5,0>,0.1,
<-2,-0.2,0>,0.1,
<-1,0.3,0>,0.1,
<-0.5,-0.4,0>,0.1,
<1,0.6,0>,0.1,
<1.5,-0.1,0>,0.1,
<2.5,0.3,0>,0.1,
<3,0,0>,0.1,
//tolerance 12.3 // uncomment, higher number lessens defect
// and object might disappear if number very big
pigment {rgb <1,1,1>}
scale <1,1,1>*Scale
}
/* end */
Post a reply to this message
|
|