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: OpenGL and Visual Studio 2010 Visual C++

  1. #1
    Newbie Newbie
    Join Date
    Sep 2012
    Posts
    1

    OpenGL and Visual Studio 2010 Visual C++

    Hello -

    I am a student working on a project for CS350: Object-Oriented Software Engineering. We have an assignment to create a Sketch application using glut functions. I know OpenGL can be used with C++, my question is if it can be used with Visual C++ (can't I use the #include statments just like in C++)? I was hoping to create an interface through Visual C++ - offering drop-down menus and a ribbon-object containing icon buttons for functionality and then open a GL window beneath to do the actual sketching. I would code the interface and its functionality in VC++ sending necessary input to the glut funtions. Does this sound realistic?

    Thanks,
    Matthew

  2. #2
    Junior Member Regular Contributor
    Join Date
    Apr 2006
    Location
    Kyoto.
    Posts
    129
    You can create openGL contexts within winforms using visual studio :
    http://www.codeproject.com/Articles/16051/Creating-an-OpenGL-view-on-a-Windows-Form

    http://www.phasersonkill.com/?p=787

    what you are trying to achieve sounds possible.

Posting Permissions

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