POV-Ray : Newsgroups : povray.general : Media singularity : Media singularity Server Time
2 Aug 2024 00:15:21 EDT (-0400)
  Media singularity  
From: William Peska
Date: 16 Feb 2005 21:10:49
Message: <4213fd29@news.povray.org>
http://img115.exs.cx/my.php?loc=img115&image=pattern7jc.png

What is the cause of the seemingly chaotic pattern?

Thank you,
William

pattern.pov:
//POV-Ray 3.6.1.icl8.win32

global_settings {
  assumed_gamma 1
  max_trace_level 170

  radiosity {
    pretrace_start 0.08
    pretrace_end   0.04
    recursion_limit 1
    low_error_factor 0.5
    minimum_reuse 0.015
    adc_bailout 0.01/2
    media on
  }
}

camera {
   location  <6, 8, 10>
   up        <0, 1, 0>
   right     <1, 0, 0>
   look_at   <0, -1, 0>
}

sphere {
  0, 30000

  texture {
   pigment { color rgb 1 }
   finish { diffuse 0 ambient 1 }
  }
  hollow
  no_shadow
}


#declare fsqr = function(a) {a*a}

plane {
  y, -5

  hollow

  pigment { rgbf 1 }
  finish { diffuse 0
           ambient 0 }

  interior{
   media{
    intervals 20
    emission 0.01
    scattering { 4, 1 }
    density{
     function { fsqr(sin(x/4)*sin(y/4)*sin(z/4)) }
    }
   }
  }
}


Post a reply to this message

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