Jump to content

  • Log In with Google      Sign In   
  • Create Account

nitro glycerine

Member Since 11 Jul 2011
Offline Last Active Apr 05 2012 07:50 PM

Posts I've Made

In Topic: Issue with Opaque Objects Appearing Transluscent

26 March 2012 - 03:45 PM

Oh wow, well I hadn't realized it, but my text rendering function was re-enabling blending when I thought it was entirely disabled from the init code. I feel pretty silly about that now. Glad it's fixed though, thanks a lot for the help! :D

In Topic: weird errors in c++ project

26 March 2012 - 01:20 AM

Would be much more helpful if you indicated the line(s) these errors are occurring on, not really sure where I'm looking.

In Topic: [SDL] Super slow framerate on Windows 7, GLEW shaders unavailable

24 March 2012 - 06:43 PM

Found the solution to all my issues finally, after consulting some friends. Turns out Visual Studio 2008 on Windows 7 would use the operating system's version of OpenGL, and when I ran it from the EXE it used the local OpenGL32.dll which was either out of date, or built for the wrong platform. So, removing this DLL fixed all framerate issues, and now runs no problem after defaulting to the operating system's OpenGL32.dll. Hopefully this helps anyone else who runs into this issue!

In Topic: How do I organize the "modules" of my code?

27 February 2012 - 12:31 PM

Singletons definitely help, so long as you implement them properly. For example, I use a "variation" of this, wherein my "Game" object contains static pointers to various modules (including itself), such as: Settings Manager, Resource Manager, World, Console, Menu, etc. If you first create the different "modules", and initialize them later, this will allow them to access each other without really needing to worry about dependencies, if it makes any sense. Anyways, it works well for me.

In Topic: The best GUI

27 February 2012 - 12:27 PM

I would also second Qt, I think it's fantastic. There is also an extensive library available at your disposal. See: http://doc.qt.nokia.com/5.0-snapshot/qtcore.html Qt is perfectly fine for desktop programs, you will want to look into QtCreator as well if you choose to use it.