Working on simple Engine

This is a discussion on Working on simple Engine within the Game Programming forums, part of the General Programming Boards category; Originally Posted by Jeremy G In the top of drawConsole put glLoadIdentity(); // restart coordinate system glDisable(GL_DEPTH_TEST); // i believe ...

  1. #16
    Registered User
    Join Date
    Nov 2004
    Posts
    69
    Quote Originally Posted by Jeremy G
    In the top of drawConsole put
    glLoadIdentity(); // restart coordinate system
    glDisable(GL_DEPTH_TEST); // i believe draws ontop of existing rendered stuff

    // draw textured quad here
    // preferably in glOrthoMode which you haven't implimented yet
    Ok, im at school right now so I can't really test it but im guessing its something to do with the depthtest. All im worried about is when I use glOrthoMode if it will stop moving on the Z axis. Oh well ill see soon.
    Last edited by bladerunner627; 05-25-2005 at 10:07 AM.

  2. #17
    Registered User
    Join Date
    Nov 2004
    Posts
    69
    Quote Originally Posted by Jeremy G
    In the top of drawConsole put
    glLoadIdentity(); // restart coordinate system
    glDisable(GL_DEPTH_TEST); // i believe draws ontop of existing rendered stuff

    // draw textured quad here
    // preferably in glOrthoMode which you haven't implimented yet

    Ok I got it to work Thanks. I really only had to disable depth test for it. Ortho messed it up though, but thanks anyways.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. simple but not working
    By Dave++ in forum C++ Programming
    Replies: 22
    Last Post: 06-27-2007, 11:42 AM
  2. One now owns an automobile!
    By cboard_member in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 04-22-2007, 05:34 PM
  3. Game structure, any thoughts?
    By Vorok in forum Game Programming
    Replies: 2
    Last Post: 06-07-2003, 01:47 PM
  4. Replies: 5
    Last Post: 02-02-2003, 09:56 AM
  5. simple program not working
    By Unregistered in forum Windows Programming
    Replies: 2
    Last Post: 03-04-2002, 10:36 PM

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