Archived

This topic is now archived and is closed to further replies.

Findin a Vertex in a Box

This topic is 6279 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Whats the quickess way to find if a Vertex(point) is in a box, between four other vertices(points)? Im just not thinkin clearly I guess

Share this post


Link to post
Share on other sites
Sorry, that was a REALLY STUPID QUESTION. As you see, it was kinda late that nite. I didnt even check the my Box class. Well I wrote a 1 line function to do it

I computed the xmin, xmax,ymin etc... then I already had a function to test if a Vertex was in a Box from my Octree Code, so I just made a Face checker by calling the Vertex one 3 times, complicated huh, thanks all, this place is great.

PS: I just wanted to say that Ive gotton what seems to be the hard parts out of my engine, and everything is GETTING SO EASY TO PROGRAM, ive been programming small games for a while, but I think I hit a point where I can actaully make a Quility Engine, hell Im doin it now, this is only my 3rd one two, first a Software one, then a DirectX one, now an OpenGL one.
Sorry for my little rant, they really need a chat room here
XGDC ROCKED!

Share this post


Link to post
Share on other sites