POV-Ray : Newsgroups : povray.unofficial.patches : Mega Photon Bug? : Re: Mega Photon Bug? Server Time
2 Sep 2024 18:19:28 EDT (-0400)
  Re: Mega Photon Bug?  
From: Steve
Date: 30 Jan 2000 00:25:27
Message: <slrn897hhm.3ca.sjlen@zero-pps.localdomain>
On Sat, 29 Jan 2000 00:50:22 -0500, Nathan Kopp <Nat### [at] Koppcom> wrote:
>I didn't change anything about memory handling, so I don't know why this
>would act differently than the official version.  Did you compile your own
>official version, or download a binary?

No, didn't compile, d/l'd the binaries. 

my mem looks like this, in units of KBs.  

[sjlen@zero-pps pov]$ free -k
             total       used       free     shared    buffers     cached
Mem:         63136      60884       2252      16692       1312      32616
-/+ buffers/cache:      26956      36180
Swap:       989704      32332     957372

When my current render has finished I'll try rendering something in Megapov
that I know runs out of mem in official POV, and then run it again in 
Pov and see what happens. (as this scene doesn't use any new Megapov features).


Scene below:

#declare phd=1;
#include "colors.inc"
                        
global_settings{
                adc_bailout 0.003922
                ambient_light <1.0,1.0,1.0>
                assumed_gamma 2.2
                max_trace_level 50
                photons{
                        gather 20,100
                        radius 0.1*phd,2,0.1*phd
                        autostop 0
                        //jitter .4
                        expand_thresholds 0.2, 40
                       }
               }
                
#declare Strobe =
          
#declare TheGap=5;
#declare MaxAng=359;
                     
union{
      #local outerctr=0;
                
      #while(outerctr<MaxAng)
        #local ctr=0;
                        
        #while(ctr<MaxAng)
                        
          box{
              <-0.1,-0.1,-0.1>
              <0.1,0.1,0.1>
              translate z*-2.085
              rotate <ctr,outerctr,0>
             }   
          
          #local ctr=ctr+TheGap;
        #end
         #local outerctr=outerctr+TheGap;
      #end

      pigment{Silver}

      finish{
             phong 0.8
             phong_size 50 
             reflection 1.0
             specular 1.0
             roughness 0.0001 
             ambient 0.0   
             diffuse 0.0
            }
     }

object{
       Strobe
       translate<0,5,10>
       scale 0.5
       photons{
               separation 0.01*phd
               refraction off
               reflection on
              }
      translate z*-10
      rotate y*-90
     }

torus{
      10,2
      hollow 
      photons{
               separation 0.01*phd
               refraction off
               reflection on
              }
      pigment{ color White }
      finish { ambient 0
              diffuse .1
              reflection .9  
              specular 0.01 
             } 
    }
             
camera{
       location <0,0,-10>
       look_at <1,0,-10> }

light_source { <0,0,-10> Red
             photons{
                     reflection on
                     refraction off
                    }
             } 

light_source { <0,0,-10> Green rotate 120*y
             photons{
                     reflection on
                     refraction off
                    }
             }

light_source { <0,0,-10> Blue rotate 240*y
             photons{
                     reflection on
                     refraction off
                    }
             }       

///////////////////////////////////////////////


Hope this helps.


-- 
Cheers
Steve              email mailto:sjl### [at] ndirectcouk

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  3:43am  up 1 day,  2:12,  4 users,  load average: 2.23, 2.22, 2.13


Post a reply to this message

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