POV-Ray : Newsgroups : povray.general : Post something : Re: Post something Server Time
16 Apr 2026 07:55:33 EDT (-0400)
  Re: Post something  
From: ingo
Date: 10 Apr 2026 11:17:58
Message: <69d914a6$1@news.povray.org>
---%<---%<---%<---%<
#version 3.7;
global_settings{assumed_gamma 1}
#default{ finish{ambient 0.1 diffuse 0.9}}
camera {
   orthographic
   location <0,0,1> look_at 0
   right x*image_width/image_height
}

#declare Chladni = function(x,y,z,A,B,C,L,M,N){
   (A * sin(pi * L * x) * sin(pi * M * y) * sin(pi * N * z) +
   B * sin(pi * M * x) * sin(pi * N * y) * sin(pi * L * z) +
   C * sin(pi * N * x) * sin(pi * L * y) * sin(pi * M * z)) / (A+B+C)
}

box {
   <-0.5, -0.5, 0>, <0.5, 0.5, 0>
   texture {
     pigment {
       function{Chladni(x,y,z,3.3,4.0,1.0,2.3,3.8,2.1)}
       color_map {
          [0 rgb 0]
          [0 rgb 1]
          [0.05 rgb 1]
          [0.05 rgb 0]
       }
     }
     translate <0,0,0.8>
     scale 0.15

     finish {
       ambient 1.0
       diffuse 0.0
     }
   }
}
---%<---%<---%<---


Post a reply to this message


Attachments:
Download 'chladni.png' (90 KB)

Preview of image 'chladni.png'
chladni.png


 

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