POV-Ray : Newsgroups : povray.advanced-users : 3D Sinewave : Re: 3D Sinewave Server Time
2 Nov 2024 11:23:04 EDT (-0400)
  Re: 3D Sinewave  
From: Remco de Korte
Date: 12 Oct 1999 23:15:10
Message: <3803F96A.11F24BD@xs4all.nl>
Ken wrote:
> 
>  Using this code I can create a 2D representation of a sinewave in
> the x/y plane:
> 
> #declare i=0;
>   #while (i<90)
>     sphere {0,1 pigment {rgb <1,0,0>}finish {ambient 1.0}
>     translate <i,10*sin(i*pi/30),0>}
>   #declare i = i + 1;
> #end
> 
>   Is it possible to extend (not extrude) the sine wave pattern into the
> z plane as well ?
> 
>   The final result if I can describe it correctly would be alternating
> mounds and valleys.
> 
> Anyone ?
> 
> --
> Ken Tyler -  1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/

If I remember right Spider did a lot of this last year.
There must still be something somewhere in the b.i.-group.

Remco


Post a reply to this message

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