POV-Ray : Newsgroups : povray.advanced-users : 3D Sinewave : Re: 3D Sinewave Server Time
2 Nov 2024 11:25:30 EDT (-0400)
  Re: 3D Sinewave  
From: Ken
Date: 12 Oct 1999 21:35:34
Message: <3803E1A8.6D6BBAE9@pacbell.net>
Peter Popov wrote:
> 
> On Wed, 13 Oct 1999 03:19:37 +0300, Peter Popov <pet### [at] usanet>
> wrote:
> 
> >POV finished rendering (maybe I should post the result? Haven't posted
> >a pic in a #while...) so I will check my formula and post a bit later
> >(half an hour?)
> 
> Here you go:
> 
> #declare X=-100;
> #while (X<100)
>   #declare Z=-100;
>   #while (Z<100)
>     #declare Y=5*sin(X/10)+5*sin(Z/6);
>     sphere { <X,Y,Z>, 2 pigment { blue 1 green (10+Y)/20 } }
>     #declare Z=Z+2;
>   #end
>   #declare X=X+2;
> #end
> 
> light_source { 1000*y color rgb 1 }
> 
> camera
> { location <20,60,-80> up y right x sky <3,10,0> look_at -35*z }
> 
> Render a swuare image. Enjoy the dive :)
> 
> Peter Popov
> ICQ: 15002700

Worked great. Thanks Peter.

 Swuare image ? :)

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