Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: wmchiew

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    5,092

    that's great you figured out the problem :) good...

    that's great you figured out the problem :) good luck
  2. Replies
    13
    Views
    5,092

    did you get anything other than a blank screen?...

    did you get anything other than a blank screen?
    i am guessing your triangle vertices are too far apart, hence u might only be rendering one part of the triangle.
  3. What are you trying to rotate, specifically? In...

    What are you trying to rotate, specifically? In opengl, the simplest scene transformations are described by 3 matrices: model, view and projection. In general, model matrix deals with your objects,...
  4. Hi, I had an implementation previously that also...

    Hi, I had an implementation previously that also requires rotating a camera around the scene. Just a suggestion here, in my implementation I used the function gluLookAt(..) to setup my camera. This...
  5. Replies
    13
    Views
    5,092

    to add on, your triangle is outside the "viewing...

    to add on, your triangle is outside the "viewing range" of your camera. To see the triangle, you can either move the triangle (through rewriting the coordinates or applying transformations within...
  6. Replies
    13
    Views
    5,092

    Hi CroCodile, in the Reshape function you are...

    Hi CroCodile, in the Reshape function you are setting up the projection matrix and you first switch to the projection matrix: glMatrixMode(GL_PROJECTION); and then initialize it with an identity...
  7. Hi Rakesh, since you are using glOrtho you are...

    Hi Rakesh, since you are using glOrtho you are doing parallel projection in your scene. Thus your objects (the arrows) will not change in size on your viewing plane regardless of the distance of the...
Results 1 to 7 of 7