Jump to content
  • Advertisement
Sign in to follow this  
Nairb

GPU Collision Detection

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

I posted on my blog about an idea I had for GPU collision detection. I'm not sold on the idea, and I wouldn't consider myself a graphics expert, so I was curious if you had any thoughts on the post/topic in general. I'm not going to copy it here, as it's a tad long, so sorry for the inconvenience. Cheers, ---Brian

Share this post


Link to post
Share on other sites
Advertisement
I've done this:

You render from the point of the moving object, looking where you want to go and drawing a depth map. I read the depth at the centre of the render target and make a new view matrix based on the normal for that point. Rinse and repeat until the distance moved is greater than how far you wanted to go. This system only works as a point with no bounding volume. Just make sure the near clip isn't past the surface you are 'touching'.

It works, was a little jittery, but most of my attempts at collision detection are :(

Share this post


Link to post
Share on other sites
I render a little depth cubemap,restore depth into the set of points around camera,and check collisions with this points ,
"> it works.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!