|
![](/i/fill.gif) |
"Tomohiro" <nomail@nomail> wrote:
> My scene has a plate with many (about 1000) holes, like following:
>
> ...
>
> Rendering of this is very slow, even if I added bounded_by.
> On the other hand, if I removed CSG, it is much faster.
>
> How can I improve the rendering speed?
This is a general problem with CSG objects that have a lot of cut-outs. It has
to do with how POV uses (or, as in this case, doesn't use) bounding.
If your holes are placed at regular intervals, one solution would be to assemble
the plate from 1000 elements having a single hole each. This is actually a good
deal faster, because in this case POV-Ray will apply bounding to each of these
elements for good effect.
If the holes are cylindrical, you can also make creative use of the blob object,
by defining the holes collectively as one single blob with 1000 cylinder
elements, instead of 1000 individual cylinder objects; IIRC, this should give
you some speed advantage as well, because blobs (like meshes) have their own
bounding mechanism.
Post a reply to this message
|
![](/i/fill.gif) |