Advertisement Jump to content
Sign in to follow this  
fixxorion

Copy pbuffer depth

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

Hey everyone, Finally got a stable pbuffer system in place, and the final thing I need to be able to do is copy the depth buffer from one pbuffer to the other. I've seen a variety of possible solutions for this. One is to use glReadPixels and glDrawPixels, but that method is WAYYYY to slow. I've also seen recommendations for NV_copy_depth_to_color (not even sure this would work). Finally, I saw someone say to use a shader to copy over the depth information. The last seems like the best solution, but I was hoping for a non-shader solution for older video cards that was still fast. Maybe such support is not necessary, but I figured it'd be nice to have. Anyways, any thoughts on the best approach to this? Thanks! ~fixxorion

Share this post


Link to post
Share on other sites
Advertisement
Please people...I just need to copy the depth from one pbuffer to the another, and I really can't figure it out. Any help on this would be awesome!!!

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.

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!