POV-Ray : Newsgroups : povray.unofficial.patches : Q: Iso "Heart" Server Time
1 Sep 2024 16:16:17 EDT (-0400)
  Q: Iso "Heart" (Message 1 to 3 of 3)  
From: Andy Cocker
Subject: Q: Iso "Heart"
Date: 13 Jan 2001 08:49:58
Message: <3a605d06@news.povray.org>
Hi,

I still haven't got to grips with isosurfaces... I'm trying to utilise the
built in "heart" function, and it's taken me absolutely ages to actually get
the thing to appear.. but now I cannot get rid of the ugly horizontal line
which bisects the heart...

Any ideas? My code :

isosurface {
 function {"heart",<.004> }
 contained_by{ box {<-.75,-1.2,-1.2>,<.75,1.2,1.2>}}
 max_gradient 5.958
 sign -1
 accuracy 0.0005
 texture {pigment {rgb <.2,.5,.9>} finish {specular .7 roughness .001}}
rotate <0,90,90>
}

Not sure how I arrived at 0.0005 for accuracy.. could this be optimised?

thanks
--
Andy Cocker

---------------------------------------------------------------
listen to my music at:
www.mp3.com/lunarland
---------------------------------------------------------------

'I spilled spot remover on my dog. He's gone now. '
'I went to a restaurant that serves "breakfast at any time."
So I ordered french toast during the Renaissance. '

 - Steven Wright.
---------------------------------------------------------------


Post a reply to this message

From: Christoph Hormann
Subject: Re: Q: Iso "Heart"
Date: 13 Jan 2001 09:52:13
Message: <3A606B9E.EF1256A8@gmx.de>
Andy Cocker wrote:
> 
> Hi,
> 
> I still haven't got to grips with isosurfaces... I'm trying to utilise the
> built in "heart" function, and it's taken me absolutely ages to actually get
> the thing to appear.. but now I cannot get rid of the ugly horizontal line
> which bisects the heart...
> 

That line seems to be specific for the "heart" function, it's also visible
in Smellenbergh's isosurface manual: http://users.skynet.be/smellenbergh/
and Mike's Isosurface Tutorial:
http://www.econym.demon.co.uk/isotut/index.htm

> 
> Not sure how I arrived at 0.0005 for accuracy.. could this be optimised?
> 

You arrived there by typing it in :-) You can often use the default value,
unless it is not accurate enough, which usually only occurs with noise3d
and pigment functions.  

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Andy Cocker
Subject: Re: Q: Iso "Heart"
Date: 13 Jan 2001 12:24:46
Message: <3a608f5e@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3A606B9E.EF1256A8@gmx.de...

> That line seems to be specific for the "heart" function, it's also visible
> in Smellenbergh's isosurface manual: http://users.skynet.be/smellenbergh/
> and Mike's Isosurface Tutorial:
> http://www.econym.demon.co.uk/isotut/index.htm

Thanks. I'll check out these links.

>
> >
> > Not sure how I arrived at 0.0005 for accuracy.. could this be optimised?
> >
>
> You arrived there by typing it in :-)

Actually, I must have arrived there, and *then* typed it in :-)

--
Andy Cocker

---------------------------------------------------------------
listen to my music at:
www.mp3.com/lunarland
---------------------------------------------------------------

'I spilled spot remover on my dog. He's gone now. '
'I went to a restaurant that serves "breakfast at any time."
So I ordered french toast during the Renaissance. '

 - Steven Wright.
---------------------------------------------------------------


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.