performance of intersectWithLine alg

Eddy Kuo ekuo at
Tue Jun 15 21:09:34 EDT 1999

Hello vtkers:

I am trying to cast rays into a scene consists of 10000 randomly
distributed boxes with average width about 0.025 unit.
I have tried to use intersectWithLine from vtkCellLocator, and
vtkOBBTree, the performance was terrible,
and what strike me is that vtkCellLocator out perform vtkOBBTree by a
significant amount (in 100 times magnitude)
I have set both alg to use Automatic max depth and bucket size ajustment
(for celllocator).  I also set tolerance to
be 0.025   Is there something that I did wrong?

Appreciate for any help or comment.


This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list