|
|
Pov 3.5 RC6 on Intel 1.7Ghz 512M Ram running Windows 2000
I read in the help that "cubic splines produce the most flexible and smooth
curves" but this does not seem to be the case with sphere sweep. The
linear:spline and b_spline work as advertised but the cubic-spline seems to
curl in on itself and produce a sharp step. This code illustrates this. Is
it supposed to do this?
//pov 3.5 RC6
global_settings { assumed_gamma 1.1 }
#include "stdinc.inc"
background { color Blue }
camera {
location <0, 2, -10>
look_at <0, 0, 0>
}
light_source { <0, 2, -10> colour White }
sphere_sweep {
//linear_spline
//b_spline
cubic_spline
9,
<0, 10, 0>, 1
<0, 10, 0>, 1
<0, 2, 0>, 1
<0, 1, 0>, 0.5
<0, 0, 0>, 0.3
<0, -1, 0>, 0.5
<0, -2, 0>, 1
<0, -10, 0>, 1
<0, -10, 0>, 1
tolerance 0.000001 //0.2
pigment { color Yellow }
}
Richard
Post a reply to this message
|
|