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: Rad

Search: Search took 0.00 seconds.

  1. Re: game information display - sticking to the camera view

    Yeah Red15, calling glDisable(GL_DEPTH_TEST) might be quicker than clearing the depth buffer. I'll have to try that since I don't have any 3d elements in my interface.

    You don't need to switch...
  2. Replies
    3
    Views
    1,809

    Re: setting max frame rate with glut?

    Thanks Nexusone, looks good. How would you go about checking your actual refresh rate?

    Also, I had been executing my animation code from my display function. From looking at your code I'd guess...
  3. Re: game information display - sticking to the camera view

    Check your object's coordinates again, maybe they are too close and the near clipping plane is getting them.
  4. Replies
    3
    Views
    1,809

    setting max frame rate with glut?

    How can I set my frame rate in glut? I'm looking for the most common/compatible way to do this because I'm compiling in windows and OSX... maybe Linux too in the future.
  5. Replies
    2
    Views
    339

    Re: glScalef changes lighting?

    Ah, I see. Scaling works fine now, thanks!
  6. Replies
    2
    Views
    339

    glScalef changes lighting?

    I need to use glScalef(2,2,2) and now this triangle that's facing the camera loses about half its light. Normally it gets full illumination from the light behind the camera. Lighting is correct...
  7. Replies
    5
    Views
    410

    Re: Best open gl book to start with

    Redbook:

    "OpenGL Programming Guide: The Official Guide to Learning OpenGL"

    Bluebook:

    "OpenGL Reference Manual: The Official Reference Document to OpenGL"

    Pick them both up for about a...
  8. Replies
    6
    Views
    1,497

    Re: Splitting the view with glViewport doesn't work.

    That was is it, now the viewport isn't being reset every frame and my 4 viewports are rendering fine!

    I didn't have a broad enough picture of how this works to see this problem coming, I'm...
  9. Replies
    6
    Views
    1,497

    Re: Splitting the view with glViewport doesn't work.

    Yeah, this still looks like it should work.

    I started rendering in the full 640x480 window... the geometry shows up right where it should.
    glViewport(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);...
  10. Replies
    6
    Views
    1,497

    Re: Splitting the view with glViewport doesn't work.

    The key lines of code from below are:


    I would expect this to render on the left half of my window but it stretches the image across the full width of the window instead. Am I doing something...
  11. Replies
    6
    Views
    1,497

    Splitting the view with glViewport doesn't work.

    glViewport seems to have no effect in a glut window.

    I'm writing a CAD program here and I want to split my view in quarters and render 4 different perspectives.

    It'd be perfect if I could just...
  12. Replies
    2
    Views
    216

    Re: Field of view from glFrustum?

    Ah ok. Good explanation, thanks!
  13. Replies
    2
    Views
    216

    Field of view from glFrustum?

    People seem to be implying that glFrustum determines the field of view but how is that possible if it only takes 6 parameters. You are just defining a box that isn't necessarily centered at (0,0,0),...
  14. Thread: Quake 3 and OpenGL

    by Rad
    Replies
    11
    Views
    2,807

    Re: Quake 3 and OpenGL

    i found an answer to this delema i also had the same probs. go to windrivers.com and download (Wicked gl) run it and it lets you choose the game you wish to play open gl on
    worked for me and im...
Results 1 to 14 of 14