Author Topic: Trangle Surface  (Read 3498 times)

Farabi

  • Member
  • ****
  • Posts: 968
  • Neuroscience Fans
Trangle Surface
« on: September 19, 2012, 06:27:40 PM »
ANyone know how to determine if a point, line and triangle is collide with a triangle?
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165

Siekmanski

  • Member
  • *****
  • Posts: 2506
Re: Trangle Surface
« Reply #1 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.
Creative coders use backward thinking techniques as a strategy.

Farabi

  • Member
  • ****
  • Posts: 968
  • Neuroscience Fans
Re: Trangle Surface
« Reply #2 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
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165