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 4 of 4

Thread: Different frame results

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

    Different frame results

    Hi All,


    We have a serious issue we don't know how to solve.

    Load a model on screen looks fine with each object with the proper color.

    Rotate the view once all the objects are yellow (ignoring all the glColor3ub() calls).

    We installed glIntercept to check differences between the two redraw opengl calls but no difference arises.

    What else can we do? Thanks.


    Thanks,

    Alberto

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    656

    Re: Different frame results

    How is it possible that a call to glColor3ub() is ignored? I think this is the only clue we have.

    No OpenGL errors at all.

    How can we discover where the problem is if OpenGL is using different colors from the OpenGL calls we do? It also happens only with some models that mix wireframe and shaded calls. Thanks.

    Alberto

  3. #3
    Senior Member OpenGL Pro BionicBytes's Avatar
    Join Date
    Mar 2009
    Location
    UK, London
    Posts
    1,171

    Re: Different frame results

    sounds to me like the open GL state is not being preserved between drawing each of the models.
    Perhaps you have missed of a glpushattrib/glpopattrib pair only even worse, only performed a push without the corresponding pop.

  4. #4
    Advanced Member Frequent Contributor
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    656

    Re: Different frame results

    Hi BionicBytes

    We have thousands of lines of code, what is the best way to debug this kind of issues?

    Thanks,

    Alberto

Posting Permissions

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