POV-Ray : Newsgroups : povray.unofficial.patches : Croissant Server Time
1 Nov 2024 15:24:49 EDT (-0400)
  Croissant (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Tom Melly
Subject: Croissant
Date: 19 Sep 2000 17:10:14
Message: <39c7d636@news.povray.org>
Does anyone have any idea what the iso-surface function for a croissant is?
Giles?

--
Tom Melly
tom### [at] tomandlucouk
http://www.tomandlu.co.uk


Post a reply to this message

From: Bob Hughes
Subject: Re: Croissant
Date: 20 Sep 2000 23:22:40
Message: <39c97f00$1@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:39c7d636@news.povray.org...
| Does anyone have any idea what the iso-surface function for a croissant
is?

I figured it could be done simply enough by using something like a two
sphere equations with one offset on a axis from the other and subtracting
it.  A kind of mathematical CSG.  It didn't work, but it still seemed a
plausible answer since I did get some shapes by doing that.

Bob


Post a reply to this message

From: Ken
Subject: Re: Croissant
Date: 20 Sep 2000 23:31:13
Message: <39C98053.A9E67EF9@pacbell.net>
Bob Hughes wrote:
> 
> "Tom Melly" <tom### [at] tomandlucouk> wrote in message
> news:39c7d636@news.povray.org...
> | Does anyone have any idea what the iso-surface function for a croissant
> is?
> 
> I figured it could be done simply enough by using something like a two
> sphere equations with one offset on a axis from the other and subtracting
> it.  A kind of mathematical CSG.  It didn't work, but it still seemed a
> plausible answer since I did get some shapes by doing that.
> 
> Bob

I've seen some julia fractals that look close but I have no code
to offer to achieve this. Maybe Peter Popov knows of something
that will work.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Gilles Tran
Subject: Re: Croissant
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

From: Gilles Tran
Subject: Re: Croissant
Date: 21 Sep 2000 11:59:00
Message: <39CA2FC9.CAA61F2@inapg.inra.fr>
Gilles Tran wrote:

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

To be honest, I've been extremely lucky on this one... I took the torus code from
Quadhall's site and started adding more or less random variables, until I saw,
ahem, nipples, which after some refining were actually bona fide croissant tips.
G.


Post a reply to this message

From: Peter Popov
Subject: Re: Croissant
Date: 21 Sep 2000 23:25:56
Message: <cvbjssksdt5gbqd9sjap4t34gpetv2ap9l@4ax.com>
On Wed, 20 Sep 2000 20:28:19 -0700, Ken <tyl### [at] pacbellnet> wrote:

>I've seen some julia fractals that look close but I have no code
>to offer to achieve this. Maybe Peter Popov knows of something
>that will work.

Try this:

julia_fractal
{ 
  <-0.6,0.2,-0.2,0.15> 
  quaternion
  sqr
  max_iteration 6
  precision 100
}

Play around with the parameters tweaking them up and down a bit until
you're satisfied with the shape. Hope this helps.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Tom Melly
Subject: Re: Croissant
Date: 22 Sep 2000 04:27:07
Message: <39cb17db$1@news.povray.org>
"Peter Popov" <pet### [at] usanet> wrote in message
news:cvbjssksdt5gbqd9sjap4t34gpetv2ap9l@4ax.com...
> On Wed, 20 Sep 2000 20:28:19 -0700, Ken <tyl### [at] pacbellnet> wrote:
>
> >I've seen some julia fractals that look close but I have no code
> >to offer to achieve this. Maybe Peter Popov knows of something
> >that will work.
>
> Try this:
>
> julia_fractal
>

>   <-0.6,0.2,-0.2,0.15>
>   quaternion
>   sqr
>   max_iteration 6
>   precision 100
> }
>
> Play around with the parameters tweaking them up and down a bit until
> you're satisfied with the shape. Hope this helps.
>
>

Many thanks - fractals and isos and csg, oh my!


Post a reply to this message

From: Tom Melly
Subject: Re: Croissant
Date: 22 Sep 2000 04:27:34
Message: <39cb17f6$1@news.povray.org>
"Gilles Tran" <tra### [at] inapginrafr> wrote in message
news:39CA2B6E.E091C355@inapg.inra.fr...
>
> G.
>

Many thanks - fractals and isos and csg, oh my!


Post a reply to this message

From: Tom Melly
Subject: Re: Croissant
Date: 22 Sep 2000 04:29:22
Message: <39cb1862$1@news.povray.org>
"Gilles Tran" <tra### [at] inapginrafr> wrote in message
news:39C### [at] inapginrafr...
>
> To be honest, I've been extremely lucky on this one... I took the torus
code from
> Quadhall's site and started adding more or less random variables, until I
saw,
> ahem, nipples, which after some refining were actually bona fide croissant
tips.
> G.

Let me get this straight - you saw nipples and you thought breakfast? What
kind of frenchman are you? ;)


Post a reply to this message

From: Ron Parker
Subject: Re: Croissant
Date: 22 Sep 2000 10:06:09
Message: <slrn8smqjo.5oe.ron.parker@fwi.com>
On Fri, 22 Sep 2000 09:29:20 +0100, Tom Melly wrote:
>Let me get this straight - you saw nipples and you thought breakfast? What
>kind of frenchman are you? ;)

A very young one?

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.
Proudly not helping RIAA and SDMI steal my rights -- 
  http://www.eff.org/Misc/EFF/Newsletters/EFFector/HTML/effect13.08.html


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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