|
![](/i/fill.gif) |
BTW I never really thought much about this but I think I exclusively
use macros to return complete entities (union, texture, function,...).
In this case it would be something like (untested online code snippet)
#macro Basic_shape (Rpipe, Rsaddle)
function
{
1 - sqrt(...)
}
#end
#declare f_basic_shape = Basic_shape(0.4,0.4)
isosurface
{
function { max (f_basic_shape(x,y,z), -f_basic_shape(x,y,z) ) }
...
}
Probably avoids a whole lot of trouble ;)
Post a reply to this message
|
![](/i/fill.gif) |