POV-Ray : Newsgroups : povray.text.scene-files : bg_blur scene file Server Time
31 Oct 2024 23:27:43 EDT (-0400)
  bg_blur scene file (Message 1 to 1 of 1)  
From: Oldstench
Subject: bg_blur scene file
Date: 16 Mar 2004 17:28:51
Message: <pqve50939fg2kbmu5lr6nbf51ajrl05rg8@4ax.com>
Here is that scene file for the blurred balls. 

camera {
  location <-12,6,100>
  focal_point < -12, 0, 400>
  aperture 0.5     
  blur_samples 600 
  variance 1/100000
  confidence .95
}


sky_sphere {
  pigment {
    waves
      color_map {
        [0.0 color rgb <.75,.75,1>]
        [1.0 color 1]                   
      }
    scale .2
  }
}


#declare BGA = 
union {
  #declare X = 5;
  #while(X > 0)
    #declare Z = 5;
    #while (Z > 0)
      sphere {<10,0,-20>,2 
        translate <X*5,0,Z*5>
      }
      #declare Z = Z - 1;
    #end
    #declare X = X - 1; 
  #end
}

union {
  #declare N = 5;
  #while(N > 0)
    object {BGA
      translate <0,0,N*40>
    }
    #declare N = N - 1;
  #end
  
  #declare N = 5;
  #while(N > 0)
    object {BGA
      translate <-40,0,N*40 + 80>
    }
    #declare N = N - 1;
  #end
  
  #declare N = 10;
  #while(N > 0)
    object {BGA
      translate <-80,0,N*40 + 80>
    }
    #declare N = N - 1;
  #end        
  
  plane {y,-2}
  finish {
    reflection{,1}
  }
}

background{1+x/1}


Post a reply to this message

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