Jump to content
  • Advertisement


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


rendering and collision colliding

This topic is 5707 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

Hi, this is probably one of these questions that has been beat to death but I will ask it anyway. I am doing a (very) small game using a couple of articulated figures and rendering then with a (even smaller) scenegraph, something like: push>transform>draw>push>transform>draw>pop>transform>draw>... now it''s time for the big bad and ugly collision detection, but my figures are composed by parts that know position and direction based on their parents position and direction and that''s unsuitable for collisions. My first solution was to retrieve the transformation matrix (I using OpenGL by the way) and applying it to the vertices but it seens I''m repeting GPU job and NVidia docs tell that getting information out of the gpu is very inefficient. mantaining a local tranformation matrix seens to kill the gpu purpose. There is anyway to handle rendering and collision in the same structure, avoiding CPU vector math?

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!