Objects defined by control points can be made "curves" by assigning an extension (e, c, f).
e=points number added between two near points.
c=curvature coefficient
f=flag equidistribution
Algorithm generates a curve (or a surface) passing through each control point.
Curvature can be controlled locally by coe vertex vol.
Notes: 1) An extension on a polygonal line actually generates the corresponding curve.
2)If you manipulate the control points of a surface id, extension points will be generated by
generate ext vol(id).
3) generate ext vol effectively generates the extension.
4) attach(0)generate ext vol(id) can dynamically generate extension
(when the geometry of the control points is changed).
5) Properties of facets ('col factors',' illum factor ', etc ...) are forwarded to the extension if it is set to the side (not the volume), ext flight fac'.
Retourne le radius et le nombre de points lumineux de la lumière étendue num
ext light(id)=r,nb
Affecte ces valeurs
Remarque: La lumière id est remplacée par nb sources ponctuelles disposées
aléatoirement dans une sphère de radius r centrée au point 1 de la lumière
ext vertex
ext vertex tan
ext(n,c,flag,expr)vertex(s1,s2,...)tan(x1,y1,z2,x2,y2,z2,...)
Permet de forcer les tangentes (xi,yi,zi) aux sommets si
(xi,yi,zi) entre 0 et 5
Exemple:
x = arc 200,0,2*PI,5;y = ext 5,1,0,x
Fait de y une line polygonale de 25 sommets,
passant par les sommets de x et suivant une courbe
y = ext 5,1,1,x
Fait de y une line polygonale régulière
Returns the curve extension parametres of volumes id.
ext vol n=e,c
Changes these parameters.
Notes: 1) e = depth of recursion, c = curvature coefficient (1 is a good value).
2) It is necessary to do generate ext vol(id)
every time you change the extension of a volume.
3) Command coe vertex(s) vol(id) assigns to a particular vertex s of volume id
expansion coefficient, which controls the curvature of a surface at the vertices.