Results 1 to 3 of 3

Thread: Change Window's Min Max values??

  1. #1
    Member Newbie
    Join Date
    Jul 2002
    Location
    NY, US
    Posts
    36

    Change Window's Min Max values??

    a picture may simplify my question

    Here is my window's coordinates default to..
    I want to change the coordinates to something more like a box 200 around..

    Is there a function to set the min/max values for the x and y limits of the window??

    -1,1 1,1
    __________________
    | |
    | |
    | |
    | |
    | |
    | |
    | |
    | |
    |__________________|

    -1,-1 1,-1

  2. #2
    Guest

    Re: Change Window's Min Max values??

    What window?

    The application's window? Refer to your operating system developmer documents.

    Your OpenGL "window?" Check out on glViewport.

  3. #3
    Member Newbie
    Join Date
    Jul 2002
    Location
    NY, US
    Posts
    36

    Re: Change Window's Min Max values??

    hey thanks for the help but i figured it out.. I was calling glOrtho in model view by mistake which was screwing things up

Similar Threads

  1. drawing off when i change the window size
    By borodadada in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-04-2015, 04:53 AM
  2. Change logo of OpenGl window
    By Doctor100 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-30-2014, 08:15 AM
  3. change color buffer values
    By raoulduke in forum OpenGL: Advanced Coding
    Replies: 29
    Last Post: 06-21-2006, 09:57 PM
  4. Change values using translation
    By GreenCat in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-19-2005, 08:50 PM
  5. How to change icon of the GLUT window?
    By wolfman in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-28-2004, 06:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean