[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Collision Detection with Pygame/OpenGL Surfaces





On 8/2/07, Dave LeCompte (really) <dave@xxxxxxxxxxxx> wrote:
"Ian Mallett" <geometrian@xxxxxxxxx> wrote:
> There's a selection buffer?  I don't know how to use buffers, though I
> think
> I see what you're saying.


Have you read this?

I have now :-)

http://www.opengl.org/resources/faq/technical/selection.htm

It talks about several methods, including
- your method, using glReadPixels,
- the selection buffer,
- using "pick rays", which is what I was suggesting


-Dave LeCompte