POV-Ray : Newsgroups : povray.general : Check this out!!! Server Time
15 Nov 2024 07:14:02 EST (-0500)
  Check this out!!! (Message 1 to 10 of 20)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Anthony Bennett
Subject: Check this out!!!
Date: 22 Feb 1999 22:38:00
Message: <36D2241A.40B29D05@panama.phoenix.net>
Attention POV-Team

I found a cool primitive that HAS got to be included in POV-Ray now! It
is very cool!!!
(Check out the upper folder [modelling], it has good stuff too).

http://www.mhri.edu.au/~pdb/modelling/supertoroid/


Post a reply to this message

From: Ken
Subject: Re: Check this out!!!
Date: 22 Feb 1999 22:53:58
Message: <36D225E4.559D601A@pacbell.net>
Anthony Bennett wrote:
> 
> Attention POV-Team
> 
> I found a cool primitive that HAS got to be included in POV-Ray now! It
> is very cool!!!
> (Check out the upper folder [modelling], it has good stuff too).
> 
> http://www.mhri.edu.au/~pdb/modelling/supertoroid/

I guess the equivelant would be a superellipsoid like object that takes
the form of a torus. I see possiblities for this shape. If not an official
primitive addition one of the patchs might pick it up. Nice of them to
provide the C code for it.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Psychomek
Subject: Re: Check this out!!!
Date: 23 Feb 1999 01:07:54
Message: <36D2454B.25975805@cyberhighway.net>
Anthony Bennett wrote:

> Attention POV-Team
>
> I found a cool primitive that HAS got to be included in POV-Ray now! It
> is very cool!!!
> (Check out the upper folder [modelling], it has good stuff too).
>
> http://www.mhri.edu.au/~pdb/modelling/supertoroid/

Ron or lutz please add this to the next versions! please!


Post a reply to this message

From: Rudy Velthuis
Subject: Re: Check this out!!!
Date: 23 Feb 1999 08:14:16
Message: <36d2a9a8.0@news.povray.org>
Anthony Bennett schrieb in Nachricht
<36D2241A.40B29D05@panama.phoenix.net>...
>Attention POV-Team
>
>I found a cool primitive that HAS got to be included in POV-Ray now! It
>is very cool!!!
>(Check out the upper folder [modelling], it has good stuff too).
>
>http://www.mhri.edu.au/~pdb/modelling/supertoroid/

Yes really interesting shape. Like Ken said, a weird combination of
superellipsoid and torus. Gives you square but rounded donuts. You'd need a
smaller box for transport, I think.

--
Rudy Velthuis


Post a reply to this message

From: Ron Parker
Subject: Re: Check this out!!!
Date: 23 Feb 1999 08:29:08
Message: <36d2ad24.0@news.povray.org>
On Mon, 22 Feb 1999 19:52:04 -0800, Ken <tyl### [at] pacbellnet> wrote:
>Anthony Bennett wrote:
>> 
>> Attention POV-Team
>> 
>> I found a cool primitive that HAS got to be included in POV-Ray now! It
>> is very cool!!!
>> (Check out the upper folder [modelling], it has good stuff too).
>> 
>> http://www.mhri.edu.au/~pdb/modelling/supertoroid/
>
>I guess the equivelant would be a superellipsoid like object that takes
>the form of a torus. I see possiblities for this shape. If not an official
>primitive addition one of the patchs might pick it up. Nice of them to
>provide the C code for it.

Unfortunately, it doesn't provide what we really need: the equations for
the intersection of one of these beasts with a line.  'Tis an interesting
object, though, and I've bookmarked it for further investigation.


Post a reply to this message

From: Jerry Anning
Subject: Re: Check this out!!!
Date: 23 Feb 1999 13:12:51
Message: <36d2ed6f.2561587@news.povray.org>
On 23 Feb 1999 08:29:08 -0500, par### [at] my-dejanewscom (Ron Parker)
wrote:

>On Mon, 22 Feb 1999 19:52:04 -0800, Ken <tyl### [at] pacbellnet> wrote:
>>Anthony Bennett wrote:

>>> I found a cool primitive that HAS got to be included in POV-Ray now! It
>>> is very cool!!!
>>> (Check out the upper folder [modelling], it has good stuff too).
>>> 
>>> http://www.mhri.edu.au/~pdb/modelling/supertoroid/
>>
>>I guess the equivelant would be a superellipsoid like object that takes
>>the form of a torus. I see possiblities for this shape. If not an official
>>primitive addition one of the patchs might pick it up. Nice of them to
>>provide the C code for it.
>
>Unfortunately, it doesn't provide what we really need: the equations for
>the intersection of one of these beasts with a line.  'Tis an interesting
>object, though, and I've bookmarked it for further investigation.

I coded it as a macro using the parametric object in SuperPatch.  For
some reason, it works fine with exponents of 1.0 (regular torus) but
gives garbage for any other exponent.  Is it the parametric object,
the equations in the referenced page or my bad coding?  I am going to
redo it as a mesh object with those equations and see what happens.
If anyone else wants to play with this, here is the macro I used.  To
repeat, it uses the SuperPatch.  Sorry about the underscores and
indenting, Ken!

// Begin POV code

// _Rj is major radius
// _Rn is minor radius
// _E1 and _E2 are exponents

#macro Supertoroid(_Rj, _Rn, _E1, _E2)
  parametric
    {
       function (cos(u) ^ _E1) * (_Rj + _Rn * (cos(v) ^ _E2)),
                     (sin(u) ^ _E1) * (_Rj + _Rn * (cos(v) ^ _E2)),
                     (sin(u) ^ _E2) *  _Rn
       <0, 0>, <2 * pi, 2 * pi>
       <-(_Rj + _Rn + .1), -(_Rj + _Rn + .1), -(_Rj +_Rn +.1)>,
          <_Rj +_Rn + .1, _Rj + _Rn + .1, _Rj + _Rn + .1>
       accuracy .001
       rotate <90, 0, 0>
    }
#end

// End POV code

Jerry Anning
clem "at" dhol "dot" com


Post a reply to this message

From: Twyst
Subject: Re: Check this out!!!
Date: 23 Feb 1999 14:21:26
Message: <36d2ffb6.0@news.povray.org>
What does Lutz have to do with this? He writes a modeller -- He could make
it as a mesh, or something, but (AFAIK) he's never hacked the pov code.
(easier would be to make a plugin, I think)


( I hope this isn't another case of confusing a modeller with a
renderer... )


--
------------------------------------------------------------
povray.doc -- An engaging tale about a spanish guy named Manual.
------------------------------------------------------------

Psychomek wrote in message <36D2454B.25975805@cyberhighway.net>...
>
>
>Anthony Bennett wrote:
>
>> Attention POV-Team
>>
>> I found a cool primitive that HAS got to be included in POV-Ray now! It
>> is very cool!!!
>> (Check out the upper folder [modelling], it has good stuff too).
>>
>> http://www.mhri.edu.au/~pdb/modelling/supertoroid/
>
>Ron or lutz please add this to the next versions! please!
>


Post a reply to this message

From: Bob Hughes
Subject: Re: Check this out!!!
Date: 23 Feb 1999 14:26:02
Message: <36D3009E.2C286D7@aol.com>
That's a great find, looked at the Superellipsoid page too and may now
understand (well, not really understand) why you get disappearing
superellipsoids at certain input values.


Anthony Bennett wrote:
> 
> Attention POV-Team
> 
> I found a cool primitive that HAS got to be included in POV-Ray now! It
> is very cool!!!
> (Check out the upper folder [modelling], it has good stuff too).
> 
> http://www.mhri.edu.au/~pdb/modelling/supertoroid/

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
 mailto:inv### [at] aolcom?PoV


Post a reply to this message

From: Lance Birch
Subject: Re: Check this out!!!
Date: 23 Feb 1999 17:08:43
Message: <36d326eb.0@news.povray.org>
OK, I've just written an email to a place that makes free plug-ins for MAX.
They produced a plug-in that makes these objects, it's very cool.  I've
asked them if they know a formula for the intersection test.  I'm not sure
if they will be able to help though because MAX uses adaptive meshs.

Anyway, it's worth a try I guess.

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone


Post a reply to this message

From: Ken
Subject: Re: Check this out!!!
Date: 23 Feb 1999 17:20:45
Message: <36D3293F.1CC960F0@pacbell.net>
Jerry Anning wrote:
> Sorry about the underscores and indenting, Ken!
> 
> // Begin POV code
> 
> // _Rj is major radius
> // _Rn is minor radius
> // _E1 and _E2 are exponents
> 
> #macro Supertoroid(_Rj, _Rn, _E1, _E2)

I don't understand why you would want to increase the amount of typing
needed to produce your work, but if it make you happy, then I'm happy.


-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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