POV-Ray : Newsgroups : povray.binaries.images : selfaproximation Server Time
1 Oct 2024 18:28:15 EDT (-0400)
  selfaproximation (Message 1 to 7 of 7)  
From: Wlodzimierz ABX Skiba
Subject: selfaproximation
Date: 21 Jul 2000 12:05:13
Message: <397874b9@news.povray.org>
I had no time to search algorithm for distribution points on elipse
therefore I quickly prepare some method to find them.

Perhaps it can be useful for somebody for example in
camera movement, with oval buildings or with some abstract creation.

Perhaps it can be extended with other shapes.

images -> p.b.i      (for nseg=4,15,50  ~ 82,6 KB)
source -> p.b.s-f

ABX


Post a reply to this message


Attachments:
Download 'aprox04.jpg' (31 KB) Download 'aprox15.jpg' (28 KB) Download 'aprox50.jpg' (25 KB)

Preview of image 'aprox04.jpg'
aprox04.jpg

Preview of image 'aprox15.jpg'
aprox15.jpg

Preview of image 'aprox50.jpg'
aprox50.jpg


 

From: Josh English
Subject: Re: selfaproximation
Date: 21 Jul 2000 14:16:32
Message: <39789402.36309182@spiritone.com>
There is an easier way to do an ellipse:

#declare majorVector = vnormalize(<1,0,0>)
#declare minorVector = vnormalize(<1,0.1,0>)

#declare majorRadius = 2;
#declare minorRadius = 1;

#declare CenterP = <0,0,0>;

#declare camT = 0;

#while ( camT < 1 ) // Goes from zero to one
  #declare thisT = camT * 2 * pi;
  #declare camPos = CenterP + (cos(thisT)*majorVector*majorRadius) +
(sin(thisT)*minorVector*minorRadius);
  sphere { camPos 0.1 pigment { rgb 1 } finish { phong 1 } }
  #declare camT = camT + 0.1;
#end

----
Well, maybe not so easy. What other shapes were you interested in?

Josh


Wlodzimierz ABX Skiba wrote:

> I had no time to search algorithm for distribution points on elipse
> therefore I quickly prepare some method to find them.
>
> Perhaps it can be useful for somebody for example in
> camera movement, with oval buildings or with some abstract creation.
>
> Perhaps it can be extended with other shapes.
>
> images -> p.b.i      (for nseg=4,15,50  ~ 82,6 KB)
> source -> p.b.s-f
>
> ABX
>
>  [Image]
>
>  [Image]
>
>  [Image]

--
Josh English -- Lexiphanic Lethomaniac
eng### [at] spiritonecom
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/


Post a reply to this message

From: ryan constantine
Subject: Re: selfaproximation
Date: 21 Jul 2000 16:12:05
Message: <3978AE59.4AC71D1F@yahoo.com>
can your shape be animated?  what i am interested in is an oval or
circle (preferably both) that can start as a point and then grow in all
directions of the plane it is on.  i want to use it along the outer edge
of an expanding torus.  your object would allow placement of other
objects along that edge wouldn't it?

Wlodzimierz ABX Skiba wrote:
> 
> I had no time to search algorithm for distribution points on elipse
> therefore I quickly prepare some method to find them.
> 
> Perhaps it can be useful for somebody for example in
> camera movement, with oval buildings or with some abstract creation.
> 
> Perhaps it can be extended with other shapes.
> 
> images -> p.b.i      (for nseg=4,15,50  ~ 82,6 KB)
> source -> p.b.s-f
> 
> ABX
> 
>  [Image]
> 
>  [Image]
> 
>  [Image]


Post a reply to this message

From: Bill DeWitt
Subject: Re: selfaproximation
Date: 21 Jul 2000 18:28:57
Message: <3978cea9@news.povray.org>
"Josh English" <eng### [at] spiritonecom> wrote :
>
> There is an easier way to do an ellipse:

    I wondered about that too. There must be something else to his procedure
that he is not telling us.

--
I get paid to do -anything- while connected to the internet.
Please use my referral id to find out more
http://www.getpaid4.com/?billdewitt


Post a reply to this message

From: Rune
Subject: Re: selfaproximation
Date: 21 Jul 2000 20:06:17
Message: <3978e579@news.povray.org>
"Josh English" wrote:
> There is an easier way to do an ellipse:

ABX's method distributes the spheres *evenly* along the ellipse.

Greetings,

Rune
--
Updated July 10: http://rsj.mobilixnet.dk
3D images, include files, stereograms, tutorials,
The POV Desktop Theme, The POV-Ray Logo Contest,
music, 350+ raytracing jokes, and much more!


Post a reply to this message

From: Bill DeWitt
Subject: Re: selfaproximation
Date: 21 Jul 2000 21:35:47
Message: <3978fa73@news.povray.org>
"Rune" <run### [at] inamecom> wrote in message
news:3978e579@news.povray.org...
> "Josh English" wrote:
> > There is an easier way to do an ellipse:
>
> ABX's method distributes the spheres *evenly* along the ellipse.
>

    Ah... -that- would be different...

--
I get paid to do -anything- while connected to the internet.
Please use my referral id to find out more
http://www.getpaid4.com/?billdewitt


Post a reply to this message

From: Disnel
Subject: Re: selfaproximation
Date: 22 Jul 2000 07:49:23
Message: <39798A44.C74A918D@itam.cas.cz>
> 
>     Ah... -that- would be different...
> 

Right, it requires integration if computed exactly.

Disnel


Post a reply to this message

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