POV-Ray : Newsgroups : povray.general : Q: Sine Wave : Re: Q: Sine Wave Server Time
12 Aug 2024 13:17:09 EDT (-0400)
  Re: Q: Sine Wave  
From: Ken
Date: 2 Feb 1999 05:44:13
Message: <36B6D6DE.6BB4D265@pacbell.net>
Nieminen Mika wrote:
> 
> Ken <tyl### [at] pacbellnet> wrote:
> : Could someone please provide me an example of how to create
> : a sine wave using a while loop to translate/rotate(?) a sphere.
> 
>   Since I'm a programmer and a perfectionist, I will give you a more
> detailed answer than the one already given:
> 
> //-----------------------------------------------------------------------
<snip> 

Thank you sir and thank you Mark as well for your example.

Next question -

Now that I have the shape established I would like to
rotate the face of the defining object to follow the
curve of the wave.

 Say I had a box(-1,1 scale<1,0.1,10>}

The flat face of the object is in the +y direction.
As it moves through the curve it needs to rotate
+/- 180*z to keep from having a stair stepped appearance.

Again any help would be appreciated.

-- 
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

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