Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 25 Feb 2004
Offline Last Active Apr 02 2014 10:18 AM

#5096185 Good book or online tutorial to learn modern OpenGL

Posted by on 23 September 2013 - 10:35 AM

This one is pretty good http://www.arcsynthesis.org/gltut/

#5080566 Exclude varying files from build

Posted by on 25 July 2013 - 02:56 PM

Look into build configuration, there are tools like jam, cmake, premake, etc...  They will allow you to generate your project base on configuration settings.  For instance in your source, you could have a folder for OpenGL and Directx implementations, then base on the configuration your project would build different files.  This is to control which files to build, you still need to work with macros to handle platform specific includes and implementations.

#5077151 C++ game development?

Posted by on 12 July 2013 - 11:58 AM

If you prefer, here is the setup with the sfml framework for OSX, and it's straight forward http://www.sfml-dev.org/tutorials/2.0/start-osx.php

#5076912 Should game objects render themselves, or should an object manager render them?

Posted by on 11 July 2013 - 10:56 AM

Create a manager with various rendering buckets, base on materials, shaders etc...  Then whichever bucket the object belong to, add it to that bucket (probably some sort of reference, id or something, as you might have another manager that manage all the objects).  When it time to render, you can render all the objects from different buckets.