|
![](/i/fill.gif) |
Wasn't it Larp who wrote:
>Anyway, I changed the structure to single blob version and
>got render time of... 1 hour 6 minutes! It's shorter time
>with the previous run, but still very much the same as with
>the original code, so at this time blobs didn't speed up
>things. That is tragical, because I already had strong
>faith in faster rendering. :=)
The scene below takes 2 seconds to render on my machine. I can imagine
that fancy lighting and focal blur would slow it down, but not by that
much.
How fast is your scene without the holes?
camera {location <0, 2, -10> look_at <0,1,0> angle 40}
light_source { <0, 0, 0> color rgb 1 translate <-30, 30, -30>}
#declare CAN = difference {
cylinder { <0, 0, 0>, <0, 3, 0>, 1 }
cylinder { <0, -0.1, 0>, <0, 3.1, 0>, 0.97 }
}
#declare R1 = seed(123);
#declare HOLES = blob { threshold 1
#declare N=0;
#while (N<1000)
sphere { <0.985,0.6,0>, 0.03, 10000
rotate <0,rand(R1)*360,0>
translate <0,rand(R1)*2,0> }
#declare N=N+1;
#end
}
difference {
object {CAN}
object {HOLES}
pigment {rgb 1}
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |