POV-Ray : Newsgroups : povray.general : Transformations: Is there any random-wavy transformation? : Re: Transformations: Is there any random-wavy transformation? Server Time
23 Apr 2024 08:26:52 EDT (-0400)
  Re: Transformations: Is there any random-wavy transformation?  
From: Bald Eagle
Date: 26 Feb 2018 16:55:00
Message: <web.5a94815d693012a0c437ac910@news.povray.org>
#version 3.7;

global_settings {assumed_gamma 1.0}

#include "colors.inc"
#include "textures.inc"

camera {
 location <0, 5, -10>
 look_at  <0, 5, 0>
 right     x*image_width/image_height
 up y
}

light_source {<20, 50, -100> White shadowless}
light_source {<0, 5, -1> White shadowless}

#declare F = function {z - (cos(x*4*pi)*0.5)/x}

isosurface { // ------------------------------------------------------------
  function{
       abs(F (x, y, z))-0.1
   }
  threshold 0
  //accuracy 0.0000000001
  max_gradient 4
  contained_by {box {<0.01,-1.5,-1>, < 3.01, 1.5, 3>}}
  //open

  texture{ pigment{ color rgb<0.8,1,0.0>}
           finish { phong 1}
   }
  scale <1, 1, 1>
  rotate <80, 0, 0>
  translate < 0, 5, 0>
} // end of isosurface -----------------------------------------------------


Post a reply to this message

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