|
|
In article <3febc82e@news.povray.org>, Jim Charter <jrc### [at] msncom>
wrote:
> Looks very exciting. What are the options for specifyimg points? Could
> the vertices of a mesh be used for instance?
You either specify point vectors or float-vector pairs. If the latter,
the result is similar to crackle with the solid feature turned on,
except that it uses the specified value for that cell rather than a
pseudo-random one. The points can be whatever you want...mesh vertices
would work, but you would have to extract the actual vertex locations.
voronoi {
offset FLOAT
form FLOAT
metric FLOAT (actually a vector, but only the x component is used)
POINTS
}
POINTS:
VECTOR,
VECTOR,
VECTOR...
or:
[FLOAT VECTOR]
[FLOAT VECTOR]
[FLOAT VECTOR]
You must specify at least 3 points, but that is the only restriction.
Post a reply to this message
|
|