|
 |
In article <39C601C9.9A919CE3@my-dejanews.com>,
gre### [at] my-dejanews com wrote:
> There IS a problem in an inconsistent syntax for noise3d.
> In function declarations you need the vector brackets <>, in
> isosurfaces you must not use them!
The syntax for isosurface functions is slightly different in all cases,
since it only deals with individual coordinate values instead of
vectors. For the version of noise3d() available in the rest of the code,
I chose to use a vector to specify a point instead of three floats, to
be consistent with all the objects, transformations, and vector
functions which already exist.
And besides, it is shorter and easier to use this way:
noise3d(<X, Y, Z>)
noise3d(evalPoint)
than this way:
noise3d(X, Y, Z)
noise3d(evalPoint.x, evalPoint.y, evalPoint.z)
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
 |