|
![](/i/fill.gif) |
Chris Colefax <cco### [at] geocities com> wrote:
: intersection {
: plane {_MB_normaldir * _MB_normal1, 0 translate FP1}
: plane {_MB_normaldir * _MB_normal2, 0 translate FP1}
: plane {_MB_normaldir * _MB_normal3, 0 translate FP1}
: plane {_MB_normaldir * _MB_normal4, 0 translate BP1}
: plane {_MB_normaldir * _MB_normal5, 0 translate FP4}
: plane {_MB_normaldir * _MB_normal6, 0 translate FP2}
: }
Wouldn't it be a good idea to bound that object with a bounding box?
I have understood that povray tests the intersection of the viewing ray
with each one of those planes for each pixel since they are infinite shapes
(well, I don't know if pov3.1 has a better automatic bounding box generation
routine). A bounding box should speed up raytracing.
I haven't tested this on pov3.1, so I'm sorry if this message is useless.
--
- Warp. -
Post a reply to this message
|
![](/i/fill.gif) |