|
|
Hey, it's Alex, king of the isosurfaces. Nice to see you posting again!
Florian
--
camera{look_at-y*10location<8,-3,-8>*10}#local a=0;#while(a<999)sphere{
#local _=.01*a-4.99;#local p=a*.01-5;#local c=.01*a-4.995;<sin(p*pi)*5p
*10pow(p,5)*.01>sin(c*c*c*.1)+1pigment{rgb 3}}#local a=a+1;#end
/******** http://www.torfbold.com ******** http://www.imp.org ********/
Post a reply to this message
|
|
|
|
"Ross" <rli### [at] everestkcnet> wrote:
> very neat. how simple is simple?
:) Simple is
#declare F=function(X,Y,Z,d){(pow(Y+X,d)+pow(Y+Z,d)+pow(X+Z,d))}
isosurface{
function{
F(x*x,y*y,z*z,1/512)*1/3-.995
}
threshold 0
accuracy 0.001
max_gradient .1
contained_by{box{-4,4}}
}
Sincerely Yours,
Alex Kluchikov.
Post a reply to this message
|
|