|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |