On Sunday 13 August 2006 11:49, Greg Ewing wrote:
> I used something like this very effectively in a
> recent project where I wanted to find the intersection
> of a ray with a terrain mesh. First I worked out how
> to use Numeric to test the ray against just one
> triangle. Then it was almost (although not quite)
> trivial to extend that to handle an array of triangles.
>
> Presto - I could then do a hit test against my whole
> terrain of hundreds of triangles almost instantaneously!

Any chance of this getting into the cookbook? :)


    Richard

Reply via email to