• Advertisement

Elastoman

Member
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

107 Neutral

About Elastoman

  • Rank
    Newbie
  1. OpenGL Problem with textures in 2D game

    It appeared to be an issue with laptop drivers described here: http://gregs-blog.com/2007/11/17/certain-notebook-ati-video-card-drivers-not-supporting-opengl-20-how-to-update-mobility-radeon-drivers/ I was able to upgrade OpenGL version from 1.1 to 3.3, and now both methods work well. But I'm interested which is better to use so my game is supported by as many machines as possible. It's just a simple 2D game after all.
  2. I'm writing a 2D game, which involves drawing a lot of sprites. They are stored in one big image, which I load to texture. I used GL_TEXTURE_RECTANGLE_NV, as described here http://www.gamedev.net/page/resources/_/technical/opengl/rendering-efficient-2d-sprites-in-opengl-using-r2429 It worked great on my desktop (although I have ATI videocard), but when I tried it on my laptop - nothing was painted. So I tried GL_TEXTURE_2D and got the picture, but it's rendered too slow. Can somebody give a hint how to make it work properly? All I need is drawing small rectangular pictures, but quite a lot of them.
  • Advertisement