|
![](/i/fill.gif) |
gbe54 nous apporta ses lumieres en ce 2007/09/13 15:43:
> I wonder how make rendering sphere_sweep faster.
> I tried to add a bounded_by clause without any improvement.
>
> Any Idea ?
>
> Regards,
>
> Gilles
>
> ---
> http://lordikc.free.fr
>
>
>
The problem, is usualy a sparcely filled bounding box. This especialy true when
you have large sweeping curves forming a narrow tube. Each ray that enter that
bounding box have to be tested against the sweep itself, demanding that the
whole sweep be evaluated for an intersection with that ray.
A possible solution is to subdivide the sphere_sweep into several smaler
sphere_sweep. This way, you have many smaler almost full bounding box, instead
of one BIG almost empty box.
--
Alain
-------------------------------------------------
Believe those who are seeking the truth; doubt those who find it.
Post a reply to this message
|
![](/i/fill.gif) |