Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Konfig

Pages: [1]
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.

2
SFML projects / Nehe OpenGL Tutorials Converted to SFML
« on: March 29, 2011, 05:45:45 am »
Hello all.  I am new to SFML and I am currently brushing up on OpenGL after having not used it for several years.  I decided to convert the tutorials over to SFML while I am going through them.  I currently have the first 10 tutorials converted and will add to the repository as I progress through them.  You can get the source at:  

git://github.com/cwbriscoe/NeHe-SFML.git

If you are new to OpenGL and have not heard of the Nehe tuorials, check them out here:

http://nehe.gamedev.net/

I have also included a Code:Blocks project file that is setup for the MinGW GCC compiler but it is probably pretty easy to switch to another compiler and/or IDE.  If you do use the Code:Blocks project file, then you will have to add the SDML /include and /lib locations in the appropriate places at the global project or global Code:Blocks level.

Pages: [1]