Jump to content
  • Advertisement

Archived

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

Rudan

Background is slooow!

This topic is 6925 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 have made a background in my openGL game with a big textured quad in the background. But when I did that the fps dropped from 250 to 150. Anyone know a better way to do it?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
U could use read/copy pixel functions, and draw into the frame buffer before any other rendering, u could either store the immage in memory or in a side buffer if one is available. I think this is all posible and quicker, but I mabee wrong, so I apologise if this was no help.

Share this post


Link to post
Share on other sites
Hi Rudan,

As far as I know, using a textured quad is the best way to do what you are talking about (a 2D bitmap background, yes?). Avoid the OpenGL raster functions like the plague... they are REALLY slow.

Sounds to me like you''re being a little greedy What are you gonna do with 250 fps anyway? 150 is still pretty good.
(I know, I know... the more frames, the better... just teasing )

-------------
squirrels are a remarkable source of protein...

Share this post


Link to post
Share on other sites
Plus it all depends what he has up so far! What if that the only thing he has up.... The you can just watch the litle Frame troll come and take your frame rate away!

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!