POV-Ray : Newsgroups : povray.text.scene-files : POV vs. MegaPOV test scene file Server Time
24 Dec 2024 12:05:11 EST (-0500)
  POV vs. MegaPOV test scene file (Message 1 to 1 of 1)  
From: Rich
Subject: POV vs. MegaPOV test scene file
Date: 15 Feb 2000 16:57:56
Message: <8EDB9E9E2spammindspringcom@204.213.191.228>
As mentioned in unofficial.patches, here is the basic POV scene file I 
use to test CPU upgrades and POV versions...  This shows a marked speed 
difference between MegaPOV and the official POV release.

Rich

--------------------8<-------------------------

camera {
   location  <0.1, 0, -8>
   look_at   <0,   0,  0>
}

light_source {< -10, 100, -100> color rgb <1,1,1>}
light_source {<-100, 100, -100> color rgb <1,1,1>}

global_settings { max_trace_level 50 }

#declare Glass = texture {
   pigment { color rgbf <1,1,1,1> }
   finish {
      ambient 0
	  diffuse 0
	  specular 1
	  refraction 1
	  ior 1.5
	  roughness 0.001
   }
}

#declare Air = texture {
   pigment { color rgbf <1,1,1,1> }
   finish {
      ambient 0
	  diffuse 0
	  specular 1
	  refraction 1
	  ior 1.001
      roughness 0.001
   }
}

#declare Chrome = texture {
   pigment { color rgb <.2, .2, .2> }
   finish {
      ambient 0.1
      brilliance 6
      diffuse 0.7
      metallic
      specular 0.80
      roughness 1/120
      reflection 0.8
   }
}


sky_sphere {
   pigment {
      bozo
      turbulence 0.5
      octaves 3
      lambda 6
      color_map {
         [0.0   color rgb <.19, .3,  1> ]
         [0.1   color rgb <.19, .3,  1> ]
         [0.75  color rgb <.85, .85, .87>]
         [1.001 color rgb <1,   1,   1> ]
      }
   }
   scale <1,.1,1>
}

#declare g_sphere = union {
   sphere {
      <0, 0, 0> 0.5
      texture { Glass }
   }
   sphere {
      <0, 0, 0> 0.45
      texture { Air }
   }
}

#declare c_sphere = sphere {
   <0, 0, 0> 0.5
   texture { Chrome }
}


#declare cube_of_balls = union {
   object { c_sphere translate <-1,0,0> }
   object { g_sphere }
   object { c_sphere translate < 1,0,0> }

   object { g_sphere translate <-1,0,1> }
   object { c_sphere translate < 0,0,1> }
   object { g_sphere translate < 1,0,1> }

   object { g_sphere translate <-1,1,0> }
   object { c_sphere translate < 0,1,0> }
   object { g_sphere translate < 1,1,0> }

   object { c_sphere translate <-1,1,1> }
   object { g_sphere translate < 0,1,1> }
   object { c_sphere translate < 1,1,1> }

   object { g_sphere translate <-1,-1,0> }
   object { c_sphere translate < 0,-1,0> }
   object { g_sphere translate < 1,-1,0> }

   object { c_sphere translate <-1,-1,1> }
   object { g_sphere translate < 0,-1,1> }
   object { c_sphere translate < 1,-1,1> }
}

object { cube_of_balls scale 2 rotate <0, 10, 0> }


Post a reply to this message

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