POV-Ray : Newsgroups : povray.binaries.images : how to : Re: how to Server Time
5 Nov 2024 10:20:47 EST (-0500)
  Re: how to  
From: Le Forgeron
Date: 8 Sep 2005 10:14:15
Message: <43204737$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

m.o.p.s wrote:
> Could you tell me if there is a simple way to build this shape. It's inside 
> a torus when major radius < minor radius. I realise one macro ( the blu 
> shape ) but it's empty, i would like to have this shape filled.
> thank you
> 

This shape is called "lemon".

You can either:
 - find the isosurface equation for it.
 - ? use CSG of the torus with a cylinder (intersection)
   the hardest (not too hard) part being to compute the actuel height of
the pointy part... I'm not sure it work directly, you might need some
inverse somewhere.

Have fun at http://mathworld.wolfram.com/Lemon.html



- --
Eifersucht ist die Leidenschaft, die mit Eifer sucht, was Leiden schafft.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDIEc2s/YJ43cSjHIRAnogAJ40D4+kty7oOj3/prKXdyv+KqpdCwCgqi4z
gDlCRavdmcy4y+CnTumB68c=
=xlkV
-----END PGP SIGNATURE-----


Post a reply to this message

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