Jump to content
xisto Community
Sign in to follow this  
Toaster

C++ Opengl Tut.

Recommended Posts

Does any one know a good tutorial on openGL and C++?? :D I cant seem to find one. :D Thanks for any help. :(

Notice from m^e:
Make sure you read the forum descriptions before you make a post. This isn't the forum for question - this accepts ONLY full fledged tutorials. Moved to Programming > General > C/C++
Edited by microscopic^earthling (see edit history)

Share this post


Link to post
Share on other sites

The best OpenGL tutorial site ever has to be http://nehe.gamedev.net/

Most tutorials come ported to all major platforms and programming languages.

Share this post


Link to post
Share on other sites

Does any one know a good tutorial on openGL and C++??  :) I cant seem to find one.  :)

 

Thanks for any help. :)

 

Notice from m^e:
Make sure you read the forum descriptions before you make a post. This isn't the forum for question - this accepts ONLY full fledged tutorials. Moved to Programming > General > C/C++

<{POST_SNAPBACK}>

Hey Toaster.

 

If you're still looking for an OpenGl tutorial for C++ there are a few good ones at this site: http://nehe.gamedev.net/ it shows you how to make the base code for displaying, and then goes onto makeing objects, rotating them, colouring them and so on, the further on you get the more complicated they become, but they are great even for people that arent too good with C++ (like myself :))

Share this post


Link to post
Share on other sites

Like the above posters said, http://nehe.gamedev.net/ has really good opengl tutorials. Also, check out the main site, http://www.gamedev.net/page/index.html. It has more good tutorials.

 

If you can't find many opengl tutorials, Directx tutorials will work as well. Opengl and Directx are close enough that generally a tutorial could work for either one without much modification. With advanced topics I'm not sure if this is the case, but for learning the basics Directx tutorials should do in a pinch. When I first started learning Directx I couldn't find many Directx tutorials, so I had to use opengl ones occansionally. They were a little harder to figure out, but they worked.

Share this post


Link to post
Share on other sites

how can I rotate an object (cube) when I push both SHIFT and x in openGL?

C++ Opengl Tut.

 

I can rotate the object by pushing just 'x' botton but I don't know how can I rotate by pushing both SHIFT and 'x' .

 

I have used glutGetModifiers() function but still I can't rotate.

 

Please help me .

 

 

 

 

 

-simona

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.