I need help with "OpenGL"

This is a discussion on I need help with "OpenGL" within the C++ Programming forums, part of the General Programming Boards category; Hi, I'm a beginner to opengl and have experience in c/c++ My main problem is, I don't understand OpenGL structure. ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    50

    I need help with "OpenGL"

    Hi, I'm a beginner to opengl and have experience in c/c++

    My main problem is, I don't understand OpenGL structure.
    Like, for example, I'm using Visual C++ 6, and I wan't to make an opengl program, I'm using all these tutorials and stuff but they don't make sense, they ask me to click on something thats not even there!

    Does VC++6 need extra libraries?

    All I'm asking (desperately, this is ........ing me off too much, i've been trying to start opengl for who knows how long), is what tutorial, that you know is good for vc++6 (from experience), and where can I find that tutorial, please give me the site or something, but DONT stop, then tell me what I have to do to set up for that site, like, it's so annoying, people tell me the site and I try to do the stuff and the site expects me to have something...

    So, I'm trying to learn OpenGL with vc++6 and I need a good place to begin, please help!

    jay

  2. #2
    Registered User
    Join Date
    Jun 2004
    Posts
    722
    when using OpenGl first you'll need to create a window then create a opengl device that controls the window, or you can leave those OS dependant stuff to glut
    http://www.opengl.org/resources/libraries/glut.html
    refer to the sample programs with source

    Then to learn opengl you'll need a good and progressive tutorial, you'll also need to know and understand well the theory being geometric transformations (which require a good deal of maths/algebra), shading and lightning, and others. These don't come in any opengl manual. You'll have to find info on these wherelse.

    opengl samples
    http://www.opengl.org/resources/tutorials/

    shading / lightning
    http://www.clockworkcoders.com/oglsl/

    geometric transformations
    http://www.google.com/search?q=geome...utf-8&oe=utf-8

    note: opengl's libs come with vc++ 6, but you'll need to download glut's and place the necessary files on the lib and include dir from vc++6. plus any glut app need glut32.dll. you can place it on your windows\system32\ folder, but when sending the app to other people include the dll, because they might not have it.
    Last edited by xErath; 05-20-2005 at 09:17 PM.

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    50
    the text is so small on the glut page

  4. #4
    Registered User
    Join Date
    May 2005
    Posts
    50
    Dude I don't understand, i think I need one on one

  5. #5
    Registered User
    Join Date
    Jun 2004
    Posts
    722
    what would you expect?? spoon feeding ??

    http://www.opengl.org/resources/libr...wnloads.html#1
    GLUT (pronounced like the glut in gluttony) is the OpenGL Utility Toolkit, a window system independent toolkit for writing OpenGL programs. It implements a simple windowing application programming interface (API) for OpenGL. GLUT makes it considerably easier to learn about and explore OpenGL programming. GLUT provides a portable API so you can write a single OpenGL program that works on both Win32 PCs and X11 workstations.
    Last edited by xErath; 05-20-2005 at 09:52 PM.

  6. #6
    Registered User
    Join Date
    May 2005
    Posts
    50
    Loooks like I do need spoon feeding, I can't start myself in OpenGL, I mean, if thats a crime....

  7. #7
    Registered User
    Join Date
    May 2005
    Posts
    50
    Where the hell do I put the download glut into? You didn't tell me that, or am I suppose to know that, but I tried to explain im a newbie in the first post, but then i guess you didn't even read the first post, you just responded on a few words.

  8. #8
    Registered User
    Join Date
    May 2005
    Posts
    50
    But whatever, I can't learn opengl, because I have no idea what to do, i'll just concentrate on C++ and one day i'll accidently learn opengl, i dunno.

  9. #9
    Registered User
    Join Date
    Feb 2005
    Posts
    59
    I don't know if someone posted this already, but here is a great site. It has tutorials, games with source code, and all kinds of cool stuff.

  10. #10
    Registered User
    Join Date
    Jun 2004
    Posts
    722
    Quote Originally Posted by jaylc185
    Where the hell do I put the download glut into? You didn't tell me that, or am I suppose to know that, but I tried to explain im a newbie in the first post, but then i guess you didn't even read the first post, you just responded on a few words.
    seems your upset...
    if you don't know what to do to those files then probably your knowledge of programming and compilers isn't enough

    place the dll in windows\system32\
    place *.lib in Programa Files\Microsoft Visual Studio\VC98\lib\
    place *.h in Programa Files\Microsoft Visual Studio\VC98\include\

    Again, in not a teacher... you'll have to learn by yourself. Feel free to ask any doubts, but i have a life of my own, so as everyone on this forum.

  11. #11
    Registered User
    Join Date
    May 2005
    Posts
    50
    k thanks xearth

  12. #12
    Registered User
    Join Date
    May 2005
    Posts
    50
    Xearth, how can I learn more about the stuff "That i don't have enough information on"

  13. #13
    Registered User
    Join Date
    May 2005
    Posts
    50
    Yah!, thanks alot xearth, now i can do the samples and learn!

  14. #14
    Registered User
    Join Date
    Feb 2005
    Posts
    59
    Please try to use the edit button. I'm glad you can learn some OpenGL, but the edit button is a savior.

Popular pages Recent additions subscribe to a feed

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