|
|
In article <4037d7b3@news.povray.org>, "Hughes, B." <omn### [at] charternet>
wrote:
> sphere_sweep doesn't seem to accept all the points given it by #while loop,
> from what I've found.
??? and why not ?
#declare sphereRadius = ...;
#declare myPoint = <0, 0, 0>;
#declare index = 0;
#declare mySphereSweep = sphere_sweep {
cubic_spline
n,
#while (index<n)
#set myPoint = compute x,y,z for index's point;
<myPoint.x, myPoint.y, myPoint.z>, sphereRadius
#set index=index+1;
#end
}
then use :
object { mySphereSweep texture { } }
a+
Post a reply to this message
|
|