POV-Ray : Newsgroups : povray.unofficial.patches : MegaPOV 0.5a renders only black if I stop part way through a render. Must restart. Hmmm : MegaPOV 0.5a renders only black if I stop part way through a render. Must restart. Hmmm Server Time
2 Sep 2024 00:18:49 EDT (-0400)
  MegaPOV 0.5a renders only black if I stop part way through a render. Must restart. Hmmm  
From: Spaztic
Date: 25 Jul 2000 08:07:07
Message: <e30rnsse3sj8g7gco0qenra7gd9p9c2rcf@4ax.com>
Hiya,

Any reason why megaPOV 0.5a will render only a black scene with some
of my POV files? Most render and re-render fine if I stop them part
way through a render. Some just show that they rendered completely but
are all black. I only found this with scenes containg radiosity and
photon mapping. When this happens, I have to end MegaPOV and
completely restart the program EVERY time. Also, I don't think the
comments would have anything to do with it. And the INC file has been
included in the scene file so there are no outside references to
mterials or objects. This only started happening when I started
getting more accurate with the radiosity and photon settings.

SPECS:	256mb SDRAM
	Win98SE/Win2000
	V3 3000 AGP

Thanks, and any help would be appreciated but not expected.


The following are the file contents:




//  Persistence of Vision Raytracer V3.1
//  World definition file.
//
//  Contains 1 lights, 6 materials and 9 primitives.
//
//  This file was generated for POV-Ray V3.1 by
//  Moray V3.2 For Windows Copyright (c) 1993-2000 Lutz + Kretzschmar
//
#version unofficial MegaPov 0.5;
//  Date : 07/19/2000    (19.07.2000)
//

/*
  The text between these two comments is in MorayPOV.INC and is
  automatically included in all POV files that Moray exports.
*/

default {
  texture {
    pigment { rgb <1,0,0> }
  }
}

/* // Scene Comment

This scene was created with Moray For Windows.

*/ // End Scene Comment

global_settings {
//  adc_bailout 0.003922
  ambient_light <0.0,0.0,0.0>
  assumed_gamma 1.9
  hf_gray_16 off
  irid_wavelength <0.247059,0.176471,0.137255>
  max_intersections 64    //  64
  max_trace_level 8   // 16
  number_of_waves 10

  radiosity{
    pretrace_start 0.08  // 0.04
    pretrace_end   0.04  // 0.02
    count 400            // CHANGE range from 20 to 150  (max is 1600)
400   200   75
    media  100             // -100
    nearest_count       3       // CHANGE range from 3 to 20  // 6  4
3  1
    error_bound         0.1     // CHANGE - range from 1 to 3   // 0.2
0.1  0.6
    recursion_limit     1       // CHANGE
//  distance_maximum    4.0    // 3.0
    low_error_factor    0.3     // leave this 0.2  0.8  0.3  0.1
    gray_threshold      0.0     // leave this   0.0
    minimum_reuse       0.015   // leave this 0.015 or 0.000  0.31
0.1 - blotchiness below 0.4
    brightness          2.0     // leave this   1.0
//    max_sample          -100.0
    adc_bailout 0.1/0   // CHANGE - use adc_bailout = 0.01 /
brightest_ambient_object  0.01/2   0.5/0
    normal on
    media on
    save_file "c01.rad"    //   
//    load_file "c01.rad"  
    always_sample on 
  }         /**/
  
        photons{  
//        spacing 0.035         // 0.005   0.0075   0.0025   0.004
0.035
        gather 20, 100       // 20, 100   
        autostop 0.01   //  //
 	radius 5.0            // 1.0   0.2
	expand_thresholds 100, 100   //
        count 300000     //   count 2000000 3000000   //
//        max_trace_level 12
        jitter 5.0       //   jitter 8.0  0.75  1.0  3.0
//        media 100 , 100
         save_file "c01.ph"      //
//       load_file "c01.ph"         
      reflection_blur on
   }       /**/  
} 

background { color <0.000,0.000,0.000> }

camera {  //  Camera StdCam
  location  <     -0.051,     -10.119,       0.651>
  sky       <    0.00000,     0.00000,     1.00000> // Use right
handed-system 
  up        <        0.0,         0.0,         1.0> // Where Z is up
  right     <    1.36295,         0.0,         0.0> // Right Vector is
adjusted to compensate for spherical (Moray) vs. planar (POV-Ray)
aspect ratio
  angle         43.30465    // Vertical      32.478
  look_at   <     -0.028,       0.005,       0.111>
}

//
// *******  L I G H T S *******
//

light_source {   // Spotlight Spotlight001
  <0.0, 0.0, 0.0>
  color rgb <0.9, 0.9, 0.9>
  area_light <2.0, 0.000, 0.000>, <0.000, 2.0, 0.000>, 8, 8      /**/
  adaptive 2
  jitter
  spotlight
    point_at  <0.0, 0.0, -2.000>
    falloff    100.000  // outer radius (in deg)
    radius     45.000  // inner radius
    tightness  0.000
    fade_distance  3.3     // 
    fade_power 2.0
    media_attenuation on    
    scale <0.944956, 0.854249, 0.00001>  
  media_attenuation on
  translate  2.280531*z
  
    photons {
    global              
    refraction on
    reflection on
    area_light    //
    } 
}

//
// ********  MATERIALS  *******
//


//  $MRY$: 'white light'

#declare white_light = 
   material  // white light
   {   
      texture
      {      
         pigment
         {
            color rgb <1.0, 1.0, 1.0>
         }      
         finish
         {
            ambient 100.0
            diffuse 100.0
            brilliance 100.0
            phong 0.0
            phong_size 0.0
            specular 0.0
            roughness 0.0
         }
      }
   }


//  $MRY$: 'glass_mat'


#declare glass_mat = 
   material  // glass_mat
   {   
      texture
      {      
         pigment
         {
            color rgbt <0.0, 0.0, 0.0, 1.0>
         }      
         finish
         {
            ambient 0.0
            diffuse 1.0
            brilliance 0.0
/*            phong_size 0.0
          phong 0.0
            specular 0.0    */
            roughness 0.0
                reflection_type 1
                reflection_min 0.1      // 0.3  0.2  0.1  0.1  0.1
0.1
                reflection_max 0.1      // 0.1  0.5  0.6  0.5  0.2
0.1
         }
      }   
      interior
      {
         ior 1.66
    /*     caustics 1.0
         media
         {
            emission rgbft <0.0, 0.0, 0.0, 0.0, 0.0>      //  <0.0,
0.0, 0.0, 1.0, 1.0>
         }       */
      }          
   }


//  $MRY$: 'chrome_mat'


#declare chrome_mat = 
   material  // chrome_mat
   {   
      texture
      {      
         pigment
         {
            color rgb <0.0, 0.0, 0.0>
         }      
         finish
         {
            ambient 0.0
            diffuse 0.0
            brilliance 0.0
            phong_size 0.0
            roughness 0.0
            reflection 1.0
         }
      }
   }


//  $MRY$: 'left_mat'


#declare left_mat = 
   material  // left_mat
   {   
      texture
      {      
         pigment
         {
            color rgb <0.937, 0.463, 0.463>
         }      
         finish
         {
            ambient 0.0
            diffuse 1.0
            phong_size 0.0
            roughness 0.0
         }
      }
   }


//  $MRY$: 'right_mat'


#declare right_mat = 
   material  // right_mat
   {   
      texture
      {      
         pigment
         {
            color rgb <0.474510, 0.439216, 0.74902>
         }      
         finish
         {
            ambient 0.0
            diffuse 1.0
            phong_size 0.0
            roughness 0.0
         }
      }
   }


//  $MRY$: 'walls_mat'


#declare walls_mat = 
   material  // walls_mat
   {   
      texture
      {      
         pigment
         {
            color rgb <0.729020,  0.729020,  0.729020>
         }      
         finish
         {
            ambient 0.0
            diffuse 1.0
            phong_size 0.0
            roughness 0.0
         }
      }
   }

//
// ********  REFERENCED OBJECTS  *******
//



//
// ********  OBJECTS  *******
//

box { // floor
  <-1, -1, -1>, <1, 1, 1>
  material {
    walls_mat
  }
  scale <0.000507, 4.448451, 2.801902>
  rotate -90.0*y
  translate  <0.0, 0.0, -2.27461>
}


box { // top
  <-1, -1, -1>, <1, 1, 1>
  material {
    walls_mat
  }
  scale <0.000507, 4.448451, 2.801902>
  rotate -90.0*y
  translate  <-0.014077, 0.0, 2.28461>
}


box { // rightwall
  <-1, -1, -1>, <1, 1, 1>
  material {
    right_mat
  }
  scale <0.000507, 4.448451, 2.295117>
  translate  <2.77324, 0.0, 0.014077>
}


box { // backwall
  <-1, -1, -1>, <1, 1, 1>
  material {
    walls_mat
  }
  scale <0.000507, 2.8014, 2.295117>
  rotate 90.0*z
  translate  <-0.014077, 4.42146, 0.014077>
}


box { // leftwall
  <-1, -1, -1>, <1, 1, 1>
  material {
    left_mat
  }
  scale <0.000507, 4.448451, 2.295117>
  translate  <-2.801395, 0.0, 0.014077>
}




box { // lightbox
  <-1, -1, -1>, <1, 1, 1>
  material {
    white_light
  }
  scale <0.944956, 0.854249, 0.00001>
  translate  <-0.032521, 0.943114, 2.280532>
}


sphere { // glass
  <0,0,0>,1
  material {
    glass_mat
  }
  scale 0.9
  translate  <1.306932, 0.602898, -1.416993>
  photons {
	target 1.0
    refraction on
    reflection on
    //ignore_photons
  }       /**/
}


sphere { // chrome
  <0,0,0>,1
  material {
    chrome_mat
  }
  scale 0.9
  translate  <-1.354372, 2.131973, -1.402916>
  photons {
	target 1.0
    refraction off
    reflection on
    //ignore_photons
  }       /**/
}


Post a reply to this message

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