Thread: Am i ready for openGL???

  1. #1
    tetra
    Guest

    Question Am i ready for openGL???

    i am learning c++, we just went over pointers and i get them well. i know arrays functions and all the easy stuff like that am i ready for open gl?

  2. #2
    Shadow12345
    Guest
    You don't seem to have a ton of experience programming, but you should try opengl for yourself and determine if you're able to grasp it.

    some sites with opengl stuff
    nehe.gamedev.net
    www.opengl.org
    www.gametutorials.com
    www.gamedev.net

  3. #3
    tetra
    Guest
    yeah, the thing is i basically tough myslef c ++ my teacher (no offense ) has a HUGE problem explaining, i mean hes uber smart, he just has trouble putting it in words...


    so i think im doin pretty damn good for on my own


    and ps im probably not ready, but i just want to try something interesting.

  4. #4
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    This sample code opens a window with a rotating triangle in it, don't worry about the variable names or such, just see if you can grasp the general idea. This is very basic as i myself just started.

    edit: i removed the code as its kinda sloppy outta VC++, heres the cpp file in a zip.

  5. #5
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    oops, here

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Mhh, your code seems very small for an opengl program, or are
    you using an API? Glut?
    My Win32 OpenGL programs are ridiculously big.

  7. #7
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    umm of course i'm using an API, openGL is a graphics API. All the functions to create the window are windows API, and then the calculations and matrix settings and such are openGL.

  8. #8
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    ....of course i know OpenGL is an API i ment any API besides that,
    You stripped you program down alot, thought you where using
    API because of the small size

  9. #9
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    i wanted to be a smart a$$ lol. Yea its windows API for the most part with opengl calls.

  10. #10
    Registered User
    Join Date
    Jan 2003
    Posts
    37
    If you want to get into computer graphics you should check out this site.
    www.kenpower.com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. continuing program until ready to stop
    By jlmac2001 in forum C++ Programming
    Replies: 2
    Last Post: 01-19-2003, 07:19 PM
  2. trim string function (code)
    By ipe in forum C Programming
    Replies: 9
    Last Post: 01-06-2003, 12:28 AM
  3. Is Linux ready to enter the desktop market?
    By carrja99 in forum Tech Board
    Replies: 20
    Last Post: 11-04-2002, 01:11 AM
  4. ladies and gentlemen: LETS GET READY TO RUMBLE!
    By Aran in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 08-31-2002, 08:18 PM
  5. Are you ready?
    By lostminds in forum Game Programming
    Replies: 6
    Last Post: 05-08-2002, 02:11 PM