Thread: opengl: viewing distance

  1. #1
    Flash Animator, OF DOOOOM bluehead's Avatar
    Join Date
    Nov 2001
    Posts
    269

    opengl: viewing distance

    Yeah.. How can I improve the viewing distance?

    It's so bad so right now that i can't see the other side of the room.. even look at the attachment

    the attachment is a pic of the player standing a few units away from the wall and looking at the ceiling. the black is as far as you can look
    Code:
    #if _emo
      #define stereo_type_i_dislike
    #endif

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    Code:
    gluPerspective(45.0f,(GLfloat)width/(GLfloat)height,near distance,far distance);

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    And you should turn fog on so that the far plane clip is not so harsh.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  2. shortest path problems
    By talz13 in forum C++ Programming
    Replies: 7
    Last Post: 05-08-2004, 06:13 AM
  3. reasonable frustum viewing distance
    By Silvercord in forum Game Programming
    Replies: 8
    Last Post: 02-27-2003, 04:24 PM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM