Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Disappoiting performances on textured mesh

  1. #1
    Advanced Member Frequent Contributor
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    659

    Disappoiting performances on textured mesh

    Hi All,

    1) Without textures the model rotate easily on screen
    2) With textures and zoomed away (very small on screen) the model rotate easily on screen
    3) With textures and zoomed in (very big on screen) the model almost DOESN'T rotate!

    What is the first thing to check in this case? Should I add Mipmaps?

    Thanks again,

    Alberto

  2. #2
    Junior Member Newbie
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    23

    Re: Disappoiting performances on textured mesh

    Most likely, you don't have hardware acceleration. Have you installed the latest drivers from nVidia/ATI/whatever?

    Oh, and this belongs in the beginners forum.

  3. #3
    Senior Member OpenGL Pro k_szczech's Avatar
    Join Date
    Feb 2006
    Location
    Poland
    Posts
    1,107

    Re: Disappoiting performances on textured mesh

    I see two possible causes:
    -you don't have hardware acceleration - that means your pixel format is not selected properly or you have wrong drivers. Check what glGetString(GL_RENDERER) returns.
    -your rotation speed depends on framerate - this is design problem. It happens when you rotate the object by the same step every frame. Except for rotating by mouse you should scale your rotation speed by current frame time.

  4. #4
    Advanced Member Frequent Contributor yooyo's Avatar
    Join Date
    Apr 2003
    Location
    Belgrade, Serbia
    Posts
    872

    Re: Disappoiting performances on textured mesh

    Did you checked errors? Try using glGetError

  5. #5
    Advanced Member Frequent Contributor
    Join Date
    Aug 2004
    Location
    munich, germany
    Posts
    659

    Re: Disappoiting performances on textured mesh

    since you posted something about NPOT textures, i assume the texture you use is NPOT? maybe NPOT textures are not hardware accelerated on your gpu and therefore you will have better performance with a POT texture.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •