Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Adding OpenGl to a project (Via source code work)

  1. #1
    Newbie Newbie
    Join Date
    Nov 2017
    Posts
    2

    Question Adding OpenGl to a project (Via source code work)

    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.

  2. #2
    Junior Member Newbie
    Join Date
    Dec 2017
    Posts
    14

    not a simple answer

    Quote Originally Posted by Matt101 View Post
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •