POV-Ray : Newsgroups : povray.binaries.images : return of the isodonut? ~65k Server Time
1 Oct 2024 15:19:32 EDT (-0400)
  return of the isodonut? ~65k (Message 1 to 5 of 5)  
From: Quadhall
Subject: return of the isodonut? ~65k
Date: 29 Jul 2000 06:42:48
Message: <3982b528@news.povray.org>
well, after seeing those interesting blobs and sphere sweeps, I decided to
wrap a regular torus object with an isosurface (that looks remarkably like a
blob object seen a few posts back).  I also used those cool photon
thingies......

Quadhall
tre### [at] ww-interlinknet


Post a reply to this message


Attachments:
Download 'plate_91.jpg' (54 KB)

Preview of image 'plate_91.jpg'
plate_91.jpg


 

From: Bob Hughes
Subject: Re: return of the isodonut? ~65k
Date: 29 Jul 2000 11:18:43
Message: <3982f5d3@news.povray.org>
Could name it The Auger That Bores Itself.  Sorry, I've been ray tracing too
long....
The color diffusion appears to be overly intense due to the reflections.
'conserve_energy' always seems a good idea to me anymore ever since it came
about in MegaPov.

Bob


Post a reply to this message

From: Moon47
Subject: Re: return of the isodonut? ~65k
Date: 29 Jul 2000 14:48:58
Message: <3981D8B6.57F746D5@earthlink.net>
I would love to see the code for the iso...

Quadhall wrote:

> well, after seeing those interesting blobs and sphere sweeps, I decided to
> wrap a regular torus object with an isosurface (that looks remarkably like a
> blob object seen a few posts back).  I also used those cool photon
> thingies......
>
> Quadhall
> tre### [at] ww-interlinknet
>
>  [Image]


Post a reply to this message

From: Mike Williams
Subject: Re: return of the isodonut? ~65k
Date: 29 Jul 2000 16:08:47
Message: <YQxNpJADWyg5Ew$f@econym.demon.co.uk>
Wasn't it Quadhall who wrote:
>well, after seeing those interesting blobs and sphere sweeps, I decided to
>wrap a regular torus object with an isosurface (that looks remarkably like a
>blob object seen a few posts back).  I also used those cool photon
>thingies......

One of the built in isosurface functions does both the regular torus and
the twisty torus all in one go:-

isosurface {
  function {"func_12" <4, 9, 1, 0.02, 1, 0.6, 1, 0, 0, 0>}
        method 2
        max_gradient 4
        accuracy 0.0001
        contained_by{sphere 0,6}
        pigment {rgb .9}
        finish {phong 0.5 phong_size 10}
}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Quadhall
Subject: Re: return of the isodonut? ~65k
Date: 30 Jul 2000 20:41:46
Message: <3984cb4a@news.povray.org>
Moon47 wrote in message <3981D8B6.57F746D5@earthlink.net>...
>I would love to see the code for the iso...


well, this code's a bit sloppy and ugly, but here it is.....

#declare major=+2.00;
#declare minor=+0.35;
#declare dis=+0.55;
#declare freq=9;

#declare a = function{cos(atan2(z,x)*freq)*dis}
#declare b = function{sin(atan2(z,x)*freq)*dis}
#declare c = function{(sqrt(x^2+z^2)-major-a)}
#declare d = function{sqrt((y-b)^2+c^2)-minor}

//one
#declare one=
isosurface
{
 function {d}
 contained_by{sphere {0,4.0}}
 eval
 method 2
 threshold 0

 pigment{color rgb 1}
 finish {blinn .9 facets .3 reflection .95}
 photons {target reflection on}
}

object{one}


Post a reply to this message

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