The MASM Forum

General => The Workshop => Topic started by: Farabi on September 19, 2012, 06:27:40 PM

Title: Trangle Surface
Post by: Farabi on September 19, 2012, 06:27:40 PM
ANyone know how to determine if a point, line and triangle is collide with a triangle?
Title: Re: Trangle Surface
Post by: Siekmanski on September 19, 2012, 09:29:35 PM
You can find an example in the directx SDK from march 2008 called "Pick example"
Or just calculate if the XYZ values of all three vectors from both faces are within eachothers area.
Search for collision detection.
Title: Re: Trangle Surface
Post by: Farabi on September 19, 2012, 10:47:21 PM
Thanks, i need that to simulating the light and the particle engine. I want to write back to the uv texture