POV-Ray : Newsgroups : povray.binaries.images : Factory (~62 k) : Re: Factory (~62 k) Server Time
18 Aug 2024 12:18:47 EDT (-0400)
  Re: Factory (~62 k)  
From: gemelli david
Date: 26 Apr 2001 07:50:38
Message: <3AE80BAD.8070906@xlstudio.com>
tonight I'll make the scene more "visible", add "rust" on the fence and 
some structures as I said...
here is the code for the fence (very simple in fact)

#declare Leng = 0.75;

#declare Grille00 =
union {
  cylinder {<0.0, 0.0, -0.01>, <0.0, -Leng, 0.01>, 0.01}
  blob {
   threshold 0.6
#local ii = -1;
#while (ii < 81)
  sphere {<0.03, 0.0, -0.01>, 0.013, 1.0 rotate (ii*360.0/80.0)*z 
translate (ii*0.02/80.0)*z translate -0.03*x}
  #local ii = ii + 1;
#end
  }
}

union {
#local ii = 0;
#while (ii < 20)
  #local jj = 0;
  #while (jj < 20)
   object {Grille00 translate <0.0, -5 + (jj * Leng), -5 + (ii * Leng)>}
   cylinder {<-0.03, -5.0 + (jj * Leng), -5.0>, <-0.03, -5.0 + (jj * 
Leng), 5.0>, 0.015}
   #local jj = jj + 1;
  #end
  #local ii = ii + 1;
#end
  pigment {color rgb 0.1*<0.5, 0.45, 0.4>}
  finish {ambient 0.0}
}


              David


Post a reply to this message

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