POV-Ray : Newsgroups : povray.unofficial.patches : Photon Slab Building Error : Photon Slab Building Error Server Time
6 Oct 2024 11:46:20 EDT (-0400)
  Photon Slab Building Error  
From: POV-Ray News
Date: 25 Jun 2001 22:36:06
Message: <3b37f516@news.povray.org>
I have an 800Mhz Pentium III at work with 128Mb with a 256Mb swap file
running Windows 2000.  The following script file runs fine without any
problems.  Unfortunately when I run it on my home system with a 1.4 GHz
Pentium IV with 128Mb with a 300Mb swap file running Windows ME, I get the
message:

Slab building error.
Out of memory. Cannot allocate 327680 bytes for photons.

The system shows only 56.5Mb of RAM in use.

Any explanations?   Any suggestions?

Thanks in advance.

JP


#version unofficial MegaPov 0.7;

global_settings {
  assumed_gamma 1
  photons {
    spacing 0.00125
    gather 60, 100
    media 12, 3
    autostop 0
    jitter 1
    max_trace_level 4
    media on
  }
}

light_source{
  <-10,10,0>*2.5
  color <1,1,1>*1000
  spotlight
  point_at <0,0,0>
  radius .125
  falloff .125
  tightness 100
}

camera{
  location <0,0.05,-3>
  right <4/3,0,0>
  up y
  direction z
  look_at <0,0,0>
}

box {
  -1*<1,1,1>,1*<1,1,1>
  scale <1.0,.2,1.0>
  hollow
  material{
    texture{
      pigment{rgbf .98 } //<1,.7,.8,.95>}
      finish{
            ambient 1.0
            diffuse 0.60
            specular 1.0
            roughness 0.001
            reflection .043*4
      }
    }
    interior{
      ior 1.5
    }
  }
  photons{
    target 0.35
    reflection on
    refraction on
    ignore_photons
  }
}

box{
  <-4,-4,-4>*10,<4,4,4>*20
  texture{pigment{rgbt<1,1,1,1>}}
  interior{
    media{
    intervals 20
    scattering { 3, rgb 0.04  extinction 1}
    samples 25, 25  //use 1,4 or so for "quick" tests
    method 3
    aa_threshold .1
    aa_level 2
    jitter .2
    }
  }
  hollow
  photons { ignore_photons}
}


Post a reply to this message

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