POV-Ray : Newsgroups : povray.general : a function : Re: a function Server Time
6 Aug 2024 04:23:47 EDT (-0400)
  Re: a function  
From: Dennis Miller
Date: 25 May 2002 19:25:30
Message: <3cf01d6a$1@news.povray.org>
That's very handy. How would you add some color to that?
D.

"ingo" <ing### [at] homenl> wrote in message
news:Xns### [at] povrayorg...
> Just a nice function to play with, vary the floats A-L.
>
> ---%<------%<---
> #version 3.5;
> global_settings {assumed_gamma 1.0}
> camera {location <0,0,-25> look_at 0}
>
> #declare A =1;
> #declare B =1;
> #declare C =1;
> #declare D =1;
> #declare E =1;
> #declare F =1;
>
> #declare I =1;
> #declare J =1;
> #declare K =1;
> #declare L =1;
>
> plane {
>   -z, 0
>   pigment {
>     function {E*sin(A*sin(I*x) + B*cos(J*y))
>               + F*cos(C*cos(K*x) + D*sin(L*y))}
>     //sine_wave
>   }
>   finish {ambient 1}
> }
> ---%<------%<---
>
> Found the function here:
> http://glinda.lrsm.upenn.edu/~weeks/ideas/tplot.html
>
> There is more interesting stuff on the site, for example:
> http://glinda.lrsm.upenn.edu/~weeks/lcca1.html
> Would it be possible to make a POV-Ray pattern like that?
>
> And this as an inspiration for Ron:
> http://glinda.lrsm.upenn.edu/~weeks/software/quasic.html
>
> Ingo


Post a reply to this message

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