|
|
i DL the source but i do not understand the if statement you referred to
...
I let the iso-surface do the work itself.
(-By using a pigment function inside an if statement. If the pigment
value in the middle of a "subcube" in 3D-space is above a certain
limit/threshold, a function is called to make a sphere in this
"subcube".
Else a constant outside the limit is returned.)
What does this statement exactly do... Or better yet how does it do what
it does...
How are the arguments read...?
if(
MidOfCrackleSquare(x, y, z) - Threshold,
ManySpheres(x, y, z),
1
)
Im guessing if mid of crackle square... then do many spheres... what is
the 1... threshold...?
please help,
Post a reply to this message
|
|