1
SFML projects / Nehe OpenGL Tutorials Converted to SFML
« on: March 30, 2011, 04:21:03 am »Quote from: "Groogy"
Awesome, though do you think you'll have time to like set up a wiki on your github repo and also do a conversion of the actual tutorial? Would be pretty sweet to have.
I don't really want to replace the tutorials. I feel the originals are still good and I have copied most of the comments from the tutorial over to the converted source code. When I get finished with the tutorials, perhaps I could create a Wiki with the descriptions of all the tutorials and link each one to the associated Nehe page and .cpp file in the repository.
Quote from: "Danman"
Why don't you use sf::Input instead of a std::map <key, bool> ?
I completely missed that when going through SFML tutorials. I agree that is a better way to do the movement keys. I have made the changes. Thanks.
Quote from: "Nexus"
Interesting are mainly how to set up an OpenGL window with SFML, but there is already an official tutorial and example about this topic.
I went through the OpenGL tutorial on this site. The reason why I am converting them over to SFML as I go through them is to broaden my understanding of the SFML API as well. I am making my changes available on Github in the hopes that my effort is also useful to somebody else learning OpenGL and/or SFML. Some of the Nehe tutorials do not compile as is any longer because they use obsolete glaux libraries.