Re: [PyOpenGL-Users] Matices
Brought to you by:
mcfletch
From: Greg E. <gre...@ca...> - 2007-05-24 08:20:03
|
Jason Ward wrote: > I am wanting to do collision detection. > In order to do this I need to keep track of the vertices of my polygons. > So I am storing all the vertices and then I am multiplying them by the > modelview matrix, then the product of that I multiply > by the projection matrix (which is a perspective one). Wouldn't it be better to do collision detection in world space rather than screen space? I don't see the need for a viewing transformation here. But if you really want to, the easiest way is to use gluProject. -- Greg |