POV-Ray : Newsgroups : povray.binaries.images : Few code, many objects contest : Few code, many objects contest Server Time
4 Nov 2024 20:12:54 EST (-0500)
  Few code, many objects contest  
From: Agustin Britait Molina
Date: 6 Feb 2007 01:15:01
Message: <web.45c81a92d6c86b4af5e783670@news.povray.org>
//Hello my friends
//I posted my first image in newsgroup...
//Components: Two planes, some lights, and hundreds of boxs

#declare DEG=180/pi;
global_settings { assumed_gamma 1.2 radiosity {} }
camera { location  <5, 100, 0> look_at 0 angle 45 }

#declare i=-700;#while (i<=-100)
  light_source { <0, i, 0>, 60 fade_distance 1 fade_power 1.25 shadowless }
#declare i=i+200;#end
  light_source { <0, 100, 0>, 120 fade_distance 1 fade_power 1.25 shadowless
}

union {
  plane { y, 101 }
  plane { y, -600 rotate (z+x)*1 }
  pigment { rgb 0 } finish { reflection 1 }
}

union {
  #declare g=-600;#while (g<150)

  #local S=sin(g*DEG);
  #local C=cos(g*DEG);

  #local R=cos(g*DEG)/2;
  #local G=cos((g+1.20)*DEG)/2;
  #local B=cos((g+2.40)*DEG)/2;

    box {
      -1, 1
      pigment { rgb <R,G,B>+.65 }
      finish { ambient 0 }
      scale <1, 8, 1>
      rotate y*10*g*DEG
      translate <20*S, g, 10+20*C>
    }
  #declare g = g + 0.08;
  #end
}


Post a reply to this message


Attachments:
Download '0008.png' (437 KB)

Preview of image '0008.png'
0008.png


 

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