@ starfox and Markus Rauch [csg]

Blitz3D Forums/Blitz3D Programming/@ starfox and Markus Rauch [csg]

elias_t(Posted 2003) [#1]
Hi.

I played a little with starfox's csg mod by Markus Rauch and evolved some functions.
Mainly the rayintersect and the trisintersect.

I include here a zip with the original code and 2 variations I made.

variation 1 uses my triangle intersection dll and the raysect dll.

variation 2 uses my triangle intersection dll and the ray intersection code by Blitztastic.

The Good News are that variation1 is 2,65 times faster then the original and variation2 3,2 times faster.

The Bad News are that after using the csg operation once on the second you get many artifacts.

I give the code here and If starfox or Markus or any one else could find out why this happens it would be cool.

http://telias.free.fr/temp/csg.zip


Bye.