2D image, pixel perfect collision detection
Hi, just trying to get pixel perfect 2D collision detection working using OpenGL''s orthographic projection.
Just wondering how I would go about achieving this?
Hmm, Stencil buffer?
Picking?
I dunno, having major trouble
Thanx in advance,
Dave.
varokasp, thanx for the idea, but I read somewhere that using readpixels is slow, is that true?
daher, I think I''ll go browse through the posts there, I forgot about all the other gamedev forums
Sheesh, I can''t wait for the search facility to be availiable again!
Thanx you two,
Dave.
daher, I think I''ll go browse through the posts there, I forgot about all the other gamedev forums

Sheesh, I can''t wait for the search facility to be availiable again!
Thanx you two,
Dave.
I''m going to use the same and i have found this link:
http://www.gamedev.net/reference/articles/article735.asp
Hopes this help
Killgore
http://www.gamedev.net/reference/articles/article735.asp
Hopes this help
Killgore
Killgore, thanx for that article link, it gave me some cool ideas for optimisation (Only checking the pixels that overlap)
Thanx,
Dave.
www.davesprogramming.com
Thanx,
Dave.
www.davesprogramming.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement