Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Development Programming Algorithms > Re: point insid...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 643 of 680
Post > Topic >>

Re: point inside triangle

by spaceman <educationandmore@[EMAIL PROTECTED] > Aug 30, 2007 at 05:02 PM

I assume you mean 2D triangle?  Or did you mean 3D?

I can give you the algorithms if you need them.  Just clarify which
one you mean.

Thanks,

Markis

On Aug 27, 10:48 am, rsprawls <rspra...@[EMAIL PROTECTED]
> wrote:
> On Aug 26, 9:22 pm, b...@[EMAIL PROTECTED]
 wrote:
>
> > I was just wondering what is the best way to determine if a point is
> > inside a triangle.
>
> The book I have, "3D Math Primer for Graphics and Game Development"
> uses barycentric space to determine the location of a point within a
> triangle.  This has the effect of returning a negative if the point
> falls outside, or 0 to 1 if the point falls on the edge or somewhere
> within the triangle.
>
> It's a pretty good book. You might want to pick it up.
 




 6 Posts in Topic:
point inside triangle
bob@[EMAIL PROTECTED]   2007-08-26 19:22:44 
Re: point inside triangle
rsprawls <rsprawls@[EM  2007-08-26 19:48:33 
Re: point inside triangle
spaceman <educationand  2007-08-30 17:02:28 
Re: point inside triangle
bob@[EMAIL PROTECTED]   2007-09-01 06:53:52 
Re: point inside triangle
rsprawls <rsprawls@[EM  2007-09-03 00:45:12 
Re: point inside triangle
rsprawls <rsprawls@[EM  2007-09-03 00:49:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 8:42:18 CDT 2008.