|
|
The function now looks like this:
#declare Thr=.000000001;
function
(1+Thr)
-Thr^(x^2+y^2+.95) //cylinder
-Thr^(y^2+z^2+.95) //cylinder
-Thr^( sqr(x^2+z^2-.6)+.975+sqr(y*2) ) //toru
-Thr^(x^2+sqr(y-.5)+z^2+.75) //sphere
threshold 1 sign 1
TonyB wrote:
> >Hello everybody. I was a bit concerned about how I told everyone a
> >future isosurface tutorial would show them how to blob functions
> >together (spheres, cylinders, torii - you name it). I could actually do
> >it back then, but learned that the method had very inconsistant results.
> >I was starting to think I might never actually be able to blob stuff
> >together very good at all. That is, until the other day, when I was
> >trying some new functions.
>
> When you recommended the thing back then, and it let to my torusblob and
> boxblob images, you said to multiply the formulas for one object and the
> other, and this worked great. What changes or new discoveries did you make?
--
Samuel Benge
E-Mail: STB### [at] aolcom
Visit the still unfinished isosurface tutorial: http://members.aol.com/stbenge
Post a reply to this message
|
|