POV-Ray : Newsgroups : povray.general : Ovus Server Time
14 May 2024 11:38:04 EDT (-0400)
  Ovus (Message 8 to 17 of 27)  
<<< Previous 7 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Le Forgeron
Subject: Re: Ovus
Date: 4 May 2016 12:46:27
Message: <572a2763$1@news.povray.org>
Le 04/05/2016 18:14, Le_Forgeron a écrit :
> Le 04/05/2016 17:47, clipka a écrit :
>> Am 04.05.2016 um 17:42 schrieb clipka:
>>
>>>> I would not clobber the actual object with such extension, but I might
>>>> consider a new object (along the line of sor & lathe). The main "beauty"
>>>> of ovus is being similar to torus, and simple.
>>>> Can you provide a new name for such new beast ?
>>>
>>> I think the ovus primitive is the perfect place to put these extensions;
>>> after all, I'm sure the ability to tweak these parameters will give us
>>> better results when trying to approximate true egg shapes.
>>
>> BTW, if you're worried that the extensions might seriously impact
>> performance (which I doubt), you might have a look at the "torus"
>> primitive, which currently maps to two different C++ objects depending
>> on the parameters chosen: "Torus" for the standard case, and
>> "SpindleTorus" for the case of a self-intersecting torus.
>>
> 
> Actually I was more thinking about other possible extension(s), like "open"
> which could remove the spheres (a non-sense for ovus, per definition).
> 
> Why would I remove the spheres ? Well... with more parameters, and maybe a more
> sexy syntax, it could come as an handy "arm"/"leg"/... object or part, in something
> like a sphere_sweep. So to avoid coincident surfaces (and reduces the number of
objects ?),
> it could be something like (think "cylinder" vs "torus")
> 
> sphere { P1, R1 }
> limbs { P1, R1, P2, R2 , SR12 open } // distance between spheres is vlength(P2-P1)
> sphere { P2, R2 }
> limbs { P2, R2, P3, R3, SR23 open }
> sphere { P3, R3 } // and so on
> 
> Px are points, Rx are radius, SRxy are spindle radius
> 
> And maybe, while we are at it, a function (for SDL) to compute the minimal radius of
the spindle
> 

I said "limbs", but it might also be some "bead" (olive), "barrel" (especially the
open variation could be
fine to make barrel shape... just that open then would be a misname, unless we drop
the sphere forever and
open behave like "cone")... and some native English speakers are welcome to contribute

what it might looks like (without the spheres at the ends, and not pierced):

http://media.cdnws.com/_i/10753/m840-4466/2220/70/3aut0048olivefilament.jpeg


Post a reply to this message

From: clipka
Subject: Re: Ovus
Date: 4 May 2016 15:19:47
Message: <572a4b53$1@news.povray.org>
Am 04.05.2016 um 18:14 schrieb Le_Forgeron:

> Actually I was more thinking about other possible extension(s), like "open"
> which could remove the spheres (a non-sense for ovus, per definition).
> 
> Why would I remove the spheres ? Well... with more parameters, and maybe a more
> sexy syntax, it could come as an handy "arm"/"leg"/... object or part, in something
> like a sphere_sweep. So to avoid coincident surfaces (and reduces the number of
objects ?),
> it could be something like (think "cylinder" vs "torus")

That could be considered an entirely different game: It would no longer
be an ovus, but a mere subsection of a spindle. (*)

As of the current POV-Ray 3.7.1 development releases, I would consider
it more fitting to implement such a shape as a CSG macro, based on a
self-intersecting torus with the "intersection" keyword (a new feature
in POV-Ray 3.7.1), cut to shape using an intersection or clipped_by.

Actually, if the ovus didn't already exist now, I'd say there is no need
for such a dedicated shape (anymore); but since it is around already, it
would be neat to add a bit more flexibility.

(*) On the other hand, it could still be considered an extension to the
ovus, as in "an ovus, but don't give me the spheres because I already
have them"; most notably, the parameterization, as you envision it,
would still be based on the concept of an ovus; also, it would make a
lot of sense in terms of implementation, because all you'd have to do
would be to suppress the spherical portions.

> And maybe, while we are at it, a function (for SDL) to compute the minimal radius of
the spindle

That would /definitely/ a job for an include file -- if it wasn't
pointless anyway: The minimal radius of the spindle is /always/ the
distance between the spheres plus their radii: The value at which it
degenerates to a sphere.


Post a reply to this message

From: clipka
Subject: Re: Ovus
Date: 4 May 2016 15:49:30
Message: <572a524a$1@news.povray.org>
Am 04.05.2016 um 18:46 schrieb Le_Forgeron:

> I said "limbs", but it might also be some "bead" (olive), "barrel" (especially the
open variation could be
> fine to make barrel shape... just that open then would be a misname, unless we drop
the sphere forever and
> open behave like "cone")... and some native English speakers are welcome to
contribute

"ogive" (no, not "olive" ;)) might be a suitable term, though our
ovus-without-spheres object would be a slightly more generalized shape
(even the most generic variant of a true ogive still has one pointed end).

I'd be really reluctant to make the parameterization of such an object
fit a special use case such as limbs; parameterization of primitives
should generally be linked to the underlying mathematical representation
in a straightforward manner, and any use-case-specific parameterization
should be done via macros; that's what they are for.

As another consequence, in the absence of an "open" keyword the ends of
such a shape should not be spherical, but planar.


Post a reply to this message

From: William F Pokorny
Subject: Re: Ovus
Date: 5 May 2016 09:15:47
Message: <572b4783$1@news.povray.org>
On 05/04/2016 03:19 PM, clipka wrote:
> Am 04.05.2016 um 18:14 schrieb Le_Forgeron:
>
...
>
> (*) On the other hand, it could still be considered an extension to the
> ovus, as in "an ovus, but don't give me the spheres because I already
> have them"; most notably, the parameterization, as you envision it,
> would still be based on the concept of an ovus; also, it would make a
> lot of sense in terms of implementation, because all you'd have to do
> would be to suppress the spherical portions.
>

My thoughts - while probably not following you both completely. Also 
being more interested in getting at the inner citrus shape than having 
more flexible egg/ovus shapes.

I vote for providing access to the citrus shape as an extension to the 
ovus given we have the ovus today - at least as seen by us users. 
Perhaps too we should continue calling it the citrus shape of the ovus 
given it has been introduced as such already. Though certainly other 
names, like those suggested, would be more descriptive for such a shape 
standing apart.

Aside: I played some with this inner shape as an isosurface some while 
back on seeing the ovus introduced. It looked a useful base 
shape/function. However, the sharp points on the end drive up the 
isosurface time considerably, so having other access to this shape would 
be cool.

When we want:

1) the full citrus shape. Would we specify a length directly or do this 
by specifying the distance between the two spheres and both radii as 
zero or nearly zero?

2) the citrus shape clipped equally on both ends - the barrel shape. 
Would we specify a distance between spheres, both radii the same and 
then to drop both spheres from the result?

3) the citrus shape clipped at one end -an ogive or bullet. We'd do 
something like (2), but be able to drop just the larger sphere while the 
other sphere stays with a near zero radius out at the end of the citrus?

4) the citrus shape clipped unequally... Is this doable at all as a 
give-me-the-citrus extension to the ovus? It looks to me like the clip 
to the larger sphere happens perpendicular to the origin of that sphere, 
but the clip to the smaller sphere is somehow calculated & not clear to 
me how?

Bill P.


Post a reply to this message

From: clipka
Subject: Re: Ovus
Date: 5 May 2016 11:53:27
Message: <572b6c77$1@news.povray.org>
Am 05.05.2016 um 15:15 schrieb William F Pokorny:

> I vote for providing access to the citrus shape as an extension to the
> ovus given we have the ovus today - at least as seen by us users.
> Perhaps too we should continue calling it the citrus shape of the ovus
> given it has been introduced as such already. Though certainly other
> names, like those suggested, would be more descriptive for such a shape
> standing apart.

I can only assume that the term "citrus" was introduced as a
description, not a technical term, and I strongly discourage its use in
this sense. As a matter of fact, in mathematics the term "citrus" is
already in use for a different shape.

The proper technical term would be "lemon", while I've been using the
term "spindle" instead, owing to the fact that it is the inside surface
of a "spindle torus".


> When we want:
> 
> 1) the full citrus shape. Would we specify a length directly or do this
> by specifying the distance between the two spheres and both radii as
> zero or nearly zero?

For the full shape, you would simply use

    torus { R1, R2 intersection }

with classic torus parameters for R1 and R2 (with R2>R1). Some
trigonometry may be required to compute these from some other
parameterization such as the distance between the tips and the "equator"
radius.

This syntax will be supported in 3.7.1, and has already been available
in dev releases for quite a while (though I think I didn't make much
noise about it).

> 2) the citrus shape clipped equally on both ends - the barrel shape.
> Would we specify a distance between spheres, both radii the same and
> then to drop both spheres from the result?

That depends on what syntax we eventually end up with ;)

> 3) the citrus shape clipped at one end -an ogive or bullet. We'd do
> something like (2), but be able to drop just the larger sphere while the
> other sphere stays with a near zero radius out at the end of the citrus?

I'm quite sure that would be a special case of 2).

> 4) the citrus shape clipped unequally... Is this doable at all as a
> give-me-the-citrus extension to the ovus? It looks to me like the clip
> to the larger sphere happens perpendicular to the origin of that sphere,
> but the clip to the smaller sphere is somehow calculated & not clear to
> me how?

In the current ovus implementation, the transition between the lower
sphere and the lemon actually does /not/ coincide with the equator of
the lower sphere (except for very specific selections of parameters),
even though /some/ of the sample images seem to imply that.


Post a reply to this message

From: Le Forgeron
Subject: Re: Ovus
Date: 5 May 2016 15:48:45
Message: <572ba39d$1@news.povray.org>
Le 04/05/2016 17:42, clipka a écrit :
>>> (1) Can you update the documentation to include...
>>> >> (1.a) how the radius of the spindle is computed;
>>> >> (1.b) the fact(?) that the bottom sphere is always placed at <0,0,0>
>> > 
>> > the documentation is in the wiki, right ? So anyone could update it to
>> > add these element. I thought 1.b was already in the documentation.
> Guess what -- I'm a bit busy documenting all the stuff I've added since
> 3.7.0 ;)
> Also, I thought you might have produced the original 2D sketch, and
> might be the person most fit to add the minor spindle radius to it.
> 
> You're right about 1.b though.
> 
> 

I updated the wiki to drop "citrus", both on text and 3D image.

For the 2D sketch, I would need to remake it from scratch to better illustrate the
point
of the center being elsewhere... as well as the connection being not on the x-axis.

I might actually illustrate that better
with a large picture, I'm afraid.


Post a reply to this message

From: Bald Eagle
Subject: Re: Ovus
Date: 6 May 2016 07:25:00
Message: <web.572c7e67c7c0b2e35e7df57c0@news.povray.org>
Maybe it should be called the "rind"    :D


Post a reply to this message

From: Stephen
Subject: Re: Ovus
Date: 6 May 2016 07:51:13
Message: <572c8531$1@news.povray.org>
On 5/6/2016 12:22 PM, Bald Eagle wrote:
> Maybe it should be called the "rind"    :D
>
>
I would go for the Scots word "Peerie" as in whip and peerie (a child's 
spinning top).
It can also mean small.


-- 

Regards
     Stephen


Post a reply to this message

From: William F Pokorny
Subject: Re: Ovus
Date: 6 May 2016 08:01:29
Message: <572c8799$1@news.povray.org>
On 05/05/2016 11:53 AM, clipka wrote:
> I can only assume that the term "citrus" was introduced as a
> description, not a technical term, and I strongly discourage its use in
> this sense. As a matter of fact, in mathematics the term "citrus" is
> already in use for a different shape.
>
> The proper technical term would be "lemon", while I've been using the
> term "spindle" instead, owing to the fact that it is the inside surface
> of a "spindle torus".

Thanks Christoph. I wrongly assumed it was the citrus surface in use 
with the ovus due the documentation's use of the term. I used for my 
isosurface play the citrus surface equation at:

  http://mathworld.wolfram.com/Lemon.html

not the lemon surface.

Bill P.


Post a reply to this message

From: Bald Eagle
Subject: Re: Ovus
Date: 6 May 2016 10:15:01
Message: <web.572ca681c7c0b2e3b488d9aa0@news.povray.org>
Correct me if I'm wrong, but does Wolfram have the 2D cross-sectional diagrams
(on the right) switched for the spindle and horn tori?

http://mathworld.wolfram.com/SpindleTorus.html
http://mathworld.wolfram.com/HornTorus.html


Post a reply to this message

<<< Previous 7 Messages Goto Latest 10 Messages Next 10 Messages >>>

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