opengl: viewing distance

This is a discussion on opengl: viewing distance within the Game Programming forums, part of the General Programming Boards category; Yeah.. How can I improve the viewing distance? It's so bad so right now that i can't see the other ...

  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
    Attached Images Attached Images  
    Code:
    #if _emo
      #define stereo_type_i_dislike
    #endif

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

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    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, 03:24 PM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 06:57 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 09:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21