|
|
To reduce memory of the scene, declare a pigment for the spheres, and then call
that. This will reduce it grately if you have more advanced scenes.
Here's a test.
#declare N = 100000;
#while(N>0)
#declare N = N-1;
sphere {
<0,0,N>,.25
texture {
pigment {
hexagon
Red
Blue
Green
}
finish { ambient 1 }
}
}
#end
compared to
#declare T =
texture {
pigment {
hexagon
Red
Blue
Green
}
finish { ambient 1 }
}
#declare N = 100000;
#while(N>0)
#declare N = N-1;
sphere { <0,0,N>,.25 texture { T } }
#end
(sorry about the tabs)
--
//Spider
[ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
"Marian"
By: "Sisters Of Mercy"
Post a reply to this message
|
|