PDA

View Full Version : Adding OpenGl to a project (Via source code work)



Matt101
11-20-2017, 04:01 PM
I know this question is going to be odd but I know how to setup opengl in my visual studio project but how do I add opengl support to my project files for my game any suggestions.

didydriver
12-03-2017, 11:39 AM
I know this question is going to be odd but I know how to setup opengl in my visual studio project but how do I add opengl support to my project files for my game any suggestions.

There is multiple ways you can do this.
1. Use the objects from your game that do the calculations and add them to the project
2. Convert what you use the graphics for into your project accordingly
3. Start all over and merge them together.

the easiest would be 1 if you are using C++ , but that's not what you are really asking for.
It means a few changes in your
make file , linker parameters , and initializing openGL in your game.
Probably quicker just to add the functionality to the already
developed openGL project.