POV-Ray : Newsgroups : povray.advanced-users : 3D Sinewave : Re: 3D Sinewave Server Time
2 Nov 2024 11:23:12 EDT (-0400)
  Re: 3D Sinewave  
From: Ken
Date: 12 Oct 1999 19:55:07
Message: <3803CA1B.889E7692@pacbell.net>
Peter Popov wrote:

> Try:
> 
> #declare X=-50;
> #while (X<50)
>   #declare Z=-50;
>   #while (Z<50)
>     sphere { <X,5*sin((X+Z)/30),Z>,1 }
>     #declare Z=Z+1;
>   #end;
>   #declare X=X+1;
> #end
> 
> Unchecked!!!

Thanks Peter but this gives an extruded sine. Maybe it's my explaination.
I'll try to make a csg example and post it later in pbi.

-- 
Ken Tyler -  1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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