|
From: Sebastian M. <seb...@gm...> - 2009-02-12 09:54:28
|
Hi, as I've written some weeks ago, I've fixed some float/double/ DATA_TYPE issues and corrected some intersection functions, that were return false positives. The changes in detail: Line 318: Fixed the box / lineseg intersection, which was missing an early out for the case were the ray hit the box. but the line didn't (some simple early out test by checking tin,tout between 0 and 1) Lines 584, 616, 649, 706: changed the declaration of tIN and tOUT parameters consitently to DATA_TYPE instead of fixed float. addiditionally the numHits were mixed int/unsigned int which I've corrected to unsigned int everywhere Line 745: Same as above, double/float DATA_TYPE corrections Here I've corrected the intersection test between plane an ray, that failed due to missing check in tIn/tOut - range I've also added the proposed intersectDoubleSided-Test for ray/triangle, that ignores the triangle orientation. cheers psy |