Jump to content
  • Advertisement
Elwin

Code examples of Legacy Tutorials of OpenGL

Recommended Posts

Posted (edited)

So I've started in learning OpenGL , then I found the NeHe website and its Legacy Tutorials  (here is the link  http://nehe.gamedev.net/tutorial/lessons_01__05/22004/ ).But the problem is that I can't download any   examples of code ( neither C code examples nor any other language ) .As you see it is impossible to download http://nehe.gamedev5.net/data/lessons/pelles_c/lesson01.zip . Does anyone has expamles of C code of this lessons ?  And the second question. If I prefer coding on C , should I choose GLUT but not an OpenGL ?

Edited by Elwin

Share this post


Link to post
Share on other sites
Advertisement

I have all the NeHe source code. I am translating them in French for the second time. I translated the 6 first lessons. I am recompiling them with Visual Studio 2017. I removed GLAUX from all the lessons. I am trying to find an other way to load BITMAPS. I am currently trying BMP.h and BMP.cpp from Ic_overlord.

Share this post


Link to post
Share on other sites
On 3/24/2018 at 3:29 PM, Elwin said:

should I choose GLUT

GLUT has not had any updates/support for years now, there are far better solutions available such as SDL, SFML, etc.  NeHe tutorials are very much outdated and honestly not worth taking the time to learn.  Unless you're writing a book on ancient technology 😉

A few better sites to learn modern OpenGL:
http://www.mbsoftworks.sk/index.php?page=tutorials&series=1
https://learnopengl.com/

Share this post


Link to post
Share on other sites
49 minutes ago, bobby03 said:

I have a working program whitout GLUT or GLAUX

Me too.

#include <iostream>

int main()
{
  	std::cout << "NeHe considered harmful in 2018\n";
	return 0;
}

 

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!