POV-Ray : Newsgroups : povray.unofficial.patches : Croissant : Re: Croissant Server Time
1 Sep 2024 22:19:25 EDT (-0400)
  Re: Croissant  
From: Gilles Tran
Date: 21 Sep 2000 11:40:23
Message: <39CA2B6E.E091C355@inapg.inra.fr>
Tom Melly wrote:

> Does anyone have any idea what the iso-surface function for a croissant is?
> Giles?

Try this, part of my isosurfacic breakfast (I have a milk bottle too):
#declare major_axis=5;
#declare minor_axis=1;
#declare a=function{sqrt(x^2+z^2)-major_axis}
isosurface{
    function{sqrt(y^2+a^2)-minor_axis*(0.9+z*0.2)}
    contained_by{sphere{0,10}}
    eval
    threshold 0
    pigment{Red}
    rotate y*45
}

G.


Post a reply to this message

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