Results 1 to 3 of 3

Thread: opengl

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User danisius's Avatar
    Join Date: Sep:2003
    Location: burgas
    Posts: 549

    opengl


    , OpenGL.
    4 OpenGL . .
    OpenGL.
    .
    / - 2d 3d /

    glDisable(GL_DEPTH_TEST);
    glDisable(GL_LIGHTING);
    glColor3f(0.7,0.7,0.8);
    glMatrixMode(GL_PROJECTION);
    glLoadIdentity();
    glOrtho(0,sw,sh,0,-1,1);
    glMatrixMode(GL_MODELVIEW);
    glLoadIdentity();
    glBegin(GL_QUADS);
    glVertex2i( 5, 5);
    glVertex2i( 5, 5+25 );
    glVertex2i( 5+50,5+25);
    glVertex2i( 5+50, 5 );
    glEnd();

    SwapBuffers 3d glList.

    1 .

    2 .

    .

  2. #2
    Registered User vegasis's Avatar
    Join Date: Jun:2005
    Location:
    Posts: 1,156
    OGL gui.
    GLUT (GLUT_DOWN/GLUT_UP).

  3. #3
    Registered User danisius's Avatar
    Join Date: Sep:2003
    Location: burgas
    Posts: 549

    .
    1.


    1 2


    , GL VCL.
    Last edited by danisius; 11th November 2008 at 10:42. Reason:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |