|
|
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
|
|