POV-Ray : Newsgroups : povray.newusers : how to rotate a 2d curve and make it a 3d surface Server Time
25 Nov 2024 17:34:52 EST (-0500)
  how to rotate a 2d curve and make it a 3d surface (Message 1 to 6 of 6)  
From: rw32b2a
Subject: how to rotate a 2d curve and make it a 3d surface
Date: 9 Jun 2005 05:10:01
Message: <web.42a8064c30980c1be80085490@news.povray.org>
Hi,
I am new to pov-ray, actually I know absolutely nothing about it! :D

The question is:
I have a curve (x, y pairs, result of a scientific experiment), now
I want to rotate the curve around the y axis. It will make a 3D
surface then, i.e. x'=x*cos(a), y'=x*sin(a), z'=y [a=0~2*Pi].

How to do it in pov-ray?

Thanks


Post a reply to this message

From: Bob Hughes
Subject: Re: how to rotate a 2d curve and make it a 3d surface
Date: 9 Jun 2005 05:36:49
Message: <42a80db1$1@news.povray.org>
"rw32b2a" <zha### [at] gmailcom> wrote in message 
news:web.42a8064c30980c1be80085490@news.povray.org...
>
> I want to rotate the curve around the y axis.

That would be a lathe or sor (surface of revolution). Either one will do, 
but you will probably want to check into the spline type which will control 
the point to point line. Have a look at the Help, section 2.3.1 Spline based 
shapes.


Post a reply to this message

From: Thies Heidecke
Subject: Re: how to rotate a 2d curve and make it a 3d surface
Date: 9 Jun 2005 05:40:05
Message: <42a80e75$1@news.povray.org>
Hi,

have a look at the 'lathe' and 'sor' objects
in the POV-Ray documentation. In Version 3.6
the entries are located at 3.4.1.7 and 3.4.1.12

Thies


Post a reply to this message

From: Bob Hughes
Subject: Re: how to rotate a 2d curve and make it a 3d surface
Date: 9 Jun 2005 09:36:21
Message: <42a845d5$1@news.povray.org>
Thanks for telling of those other doc sections, Thies! Never a wasted 
effort.


Post a reply to this message

From: Ross
Subject: Re: how to rotate a 2d curve and make it a 3d surface
Date: 9 Jun 2005 13:56:15
Message: <42a882bf$1@news.povray.org>
"Thies Heidecke" <h3i### [at] gmxnet> wrote in message
news:42a80e75$1@news.povray.org...
> Hi,
>
> have a look at the 'lathe' and 'sor' objects
> in the POV-Ray documentation. In Version 3.6
> the entries are located at 3.4.1.7 and 3.4.1.12
>
> Thies
>
>

and if you have weird gaps in the resulting object, use "sturm on" in the
definition of your lathe or sor object.


Post a reply to this message

From: rw32b2a
Subject: Re: how to rotate a 2d curve and make it a 3d surface
Date: 10 Jun 2005 06:05:01
Message: <web.42a964b84868b7eee80085490@news.povray.org>
"Ross" <rli### [at] everestkcnet> wrote:
> "Thies Heidecke" <h3i### [at] gmxnet> wrote in message
> news:42a80e75$1@news.povray.org...
> > Hi,
> >
> > have a look at the 'lathe' and 'sor' objects
> > in the POV-Ray documentation. In Version 3.6
> > the entries are located at 3.4.1.7 and 3.4.1.12
> >
> > Thies
> >
> >
>
> and if you have weird gaps in the resulting object, use "sturm on" in the
> definition of your lathe or sor object.

Hi,
It worked for me,
Thanks to all of you!


Post a reply to this message

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