Can someone check this triangle intersection code?

Blitz3D Forums/Blitz3D Programming/Can someone check this triangle intersection code?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

ohh. I was going to say that there's a line-tri dll, but I didn't realize it was giving UVs. looks good though. perhaps, instead of checking the distance of the ray with a threshold value, you could have an equation giving the intensity of the shadow(farther away, less intense shadow). while I realize that this is not a method that truely represents reality, it's a good way to give the effect of rays bouncing around.

[blabber]
I always thought it'd be cool to make a lightmapper. Maybe realtime radiosity (sounds like an oxymoron eh?). If I do try, I'll take it on the same way I'm taking on my physics system. simply as an educational and possibly useful challenge. I'm just blabbering. Maybe I'll do a sophesticated particle system... been done, but It'd be another fun challenge. hehehe. maybe sometime I could take all these "fun challenges" and make a game. Shadows-physics-gui system-particlew system-ohhhh maybe even a cutscene scripter! hehehe. That'd make a pretty slow game unless I optimize my systems sevierly which I intend to...........
[/blabber]