POV-Ray : Newsgroups : povray.advanced-users : Paraboloid Server Time
23 Dec 2024 02:45:57 EST (-0500)
  Paraboloid (Message 1 to 9 of 9)  
From: SharkD
Subject: Paraboloid
Date: 23 Jun 2011 22:03:54
Message: <4e03f08a@news.povray.org>
How do I create a paraboloid where a slice through the object produces a 
circle of a fixed and known size? Thanks!


Mike


-- 
http://isometricland.com


Post a reply to this message

From: Le Forgeron
Subject: Re: Paraboloid
Date: 24 Jun 2011 03:05:05
Message: <4e043721$1@news.povray.org>
Le 24/06/2011 04:03, SharkD a écrit :
> How do I create a paraboloid where a slice through the object produces a
> circle of a fixed and known size? Thanks!

Slice of paraboloid are circle only when the slice is perpendicular to
the axis of the paraboloid.

Ergo, if the slice is parallel to the z plane, the circle will be
a.(x²+y²) - b = 0

a.(x²+y²) is the square of the radius (r² := b).

If the equation of your paraboloid is (classical) z=k.(x²+y²), it seems
obvious that the slice must have a z so that k.(x²+y²) is the square of
the desired radius.

(i.e. #local z_position = sqrt( pow(r,2)/k );  )


-- 
Software is like dirt - it costs time and money to change it and move it
around.

Just because you can't see it, it doesn't weigh anything,
and you can't drill a hole in it and stick a rivet into it doesn't mean
it's free.


Post a reply to this message

From: Le Forgeron
Subject: Re: Paraboloid
Date: 24 Jun 2011 09:51:36
Message: <4e049668@news.povray.org>
Le 24/06/2011 09:05, Le_Forgeron a écrit :
> Le 24/06/2011 04:03, SharkD a écrit :
>> How do I create a paraboloid where a slice through the object produces a
>> circle of a fixed and known size? Thanks!
> 
> Slice of paraboloid are circle only when the slice is perpendicular to
> the axis of the paraboloid.
> 
> Ergo, if the slice is parallel to the z plane, the circle will be
> a.(x²+y²) - b = 0
> 
> a.(x²+y²) is the square of the radius (r² := b).
> 
> If the equation of your paraboloid is (classical) z=k.(x²+y²), it seems
> obvious that the slice must have a z so that k.(x²+y²) is the square of
> the desired radius.
> 
> (i.e. #local z_position = sqrt( pow(r,2)/k );  )

Oups,
it's z_position = pow(r,2)/k;

Simpler that way.
-- 
Real software engineers work from 9 to 5, because that is<br/>
the way the job is described in the formal spec.  Working<br/>
late would feel like using an undocumented external procedure.


Post a reply to this message

From: posfan12
Subject: Re: Paraboloid
Date: 24 Jun 2011 15:07:57
Message: <4e04e08d$1@news.povray.org>
On 6/24/2011 9:51 AM, Le_Forgeron wrote:
> z_position = pow(r,2)/k;

But, what is k?

-- 
http://isometricland.com


Post a reply to this message

From: posfan12
Subject: Re: Paraboloid
Date: 24 Jun 2011 15:47:38
Message: <4e04e9da$1@news.povray.org>
On 6/24/2011 3:07 PM, posfan12 wrote:
> On 6/24/2011 9:51 AM, Le_Forgeron wrote:
>> z_position = pow(r,2)/k;
>
> But, what is k?
>


Nevermind, got it to work. Thanks!!

-- 
http://isometricland.com


Post a reply to this message

From: posfan12
Subject: Re: Paraboloid
Date: 24 Jun 2011 15:48:51
Message: <4e04ea23@news.povray.org>
On 6/24/2011 3:07 PM, posfan12 wrote:
> On 6/24/2011 9:51 AM, Le_Forgeron wrote:
>> z_position = pow(r,2)/k;
>
> But, what is k?
>


Here's my POV code:


#include "shapes.inc"

#local p_radius = 2;
#local p_scale = 2;
#local z_position = pow(p_radius,2)/p_scale;

intersection
{
	object
	{
		Paraboloid_Z
		scale p_scale
	}
	plane {+z,z_position}
	pigment {color rgb 1}
}
cylinder
{
	0, z*1, p_radius
	translate z*z_position
}


-- 
http://isometricland.com


Post a reply to this message

From: posfan12
Subject: Re: Paraboloid
Date: 26 Jun 2011 11:34:54
Message: <4e07519e$1@news.povray.org>
On 6/23/2011 10:03 PM, SharkD wrote:
> How do I create a paraboloid where a slice through the object produces a
> circle of a fixed and known size? Thanks!
>
>
> Mike
>
>

OK, next challenge: the focus of the parabola must be located at the 
center of the circle! I want to create a solar collector and need to 
know the precise dimensions beforehand.


-- 
http://isometricland.com


Post a reply to this message

From: Le Forgeron
Subject: Re: Paraboloid
Date: 26 Jun 2011 11:47:28
Message: <4e075490$1@news.povray.org>
Le 26/06/2011 17:34, posfan12 nous fit lire :
> On 6/23/2011 10:03 PM, SharkD wrote:
>> How do I create a paraboloid where a slice through the object produces a
>> circle of a fixed and known size? Thanks!
>>
>>
>> Mike
>>
>>
> 
> OK, next challenge: the focus of the parabola must be located at the
> center of the circle! I want to create a solar collector and need to
> know the precise dimensions beforehand.
> 
> 
http://en.wikipedia.org/wiki/Parabola

focus at <0,0,1/(4*k)>

for equation of paraboloid z= k(x²+y²)


Post a reply to this message

From: posfan12
Subject: Re: Paraboloid
Date: 26 Jun 2011 12:25:50
Message: <4e075d8e$1@news.povray.org>
On 6/26/2011 11:47 AM, Le_Forgeron wrote:
> http://en.wikipedia.org/wiki/Parabola
>
> focus at<0,0,1/(4*k)>
>
> for equation of paraboloid z= k(x²+y²)
>
>

If you could use/modify the POV code in my previous post I would greatly 
appreciate it, thank you.


Mike


-- 
http://isometricland.com


Post a reply to this message

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