rss
 
comment(s)

archives
J|F|M|A|M|J|J|A|S|O|N|D
(20##) 10 9 8 7 6 5 4 3 2 1 0 <
 
DesktopWeb FormText   Mesh.Intersect() revisitedSun, 07 Aug 2005 20:26:01 GMT # 

Andy came through with some great ideas. and ZMan saw exactly what i was doing wrong. the problem was that i was passing an endpoint for the direction part of the ray, instead of an actual direction. e.g. i was passing the point Vector3(xPos, yPos, -1), assuming that it took that 2nd point and determined the direction from the point of origin. when what i really should have passed was the direction Vector3(0, 0, -1). of course the docs actually do say direction ... so this just confirms that i'm an idiot. at least its all working as i expect now! i 'think' this is the last Direct3D'ism that can bite me in the ass for this project ... it should just be typing from here on out