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 3 of 3

Thread: simplest but modular program made in OpenGl 2.0

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2013
    Posts
    5

    Cool simplest but modular program made in OpenGl 2.0

    Hi Guys,
    I have been working lately to understand and run a very basic but yet the most modular project that can help
    any new bee start with successful use of OpenGL2.0 in Windowsfragment_shader.txtvertex_shader.txtTriangle.cpp.txtUtils.cpp.txtUtils.h.txtfragment_shader.txtvertex_shader.txtTriangle.cpp.txtUtils.cpp.txtUtils.h.txt.
    I am attaching the source code for the same made in Microsoft Visual Express 2012

    Remove .txt from all the files except fragement_shader.txt and vertex_shader.txt.
    Follow this Dir structure to to build this projet successfully in Visual Express 2012.
    inside SourceFiles: Triangle.cpp, Utils.cpp
    inside Resources: fragment_shader.txt, vertex_shader.cpp
    inside Header Files: Utils.h

  2. #2
    Junior Member Newbie
    Join Date
    Dec 2013
    Posts
    5
    If there's a question in there, I couldn't see it...

  3. #3
    Member Regular Contributor
    Join Date
    Jan 2012
    Location
    Germany
    Posts
    325
    Quote Originally Posted by markds View Post
    If there's a question in there, I couldn't see it...
    I guess it's not a question but meant to help anyone who wants to start learning a 10 year old version of OpenGL.

Posting Permissions

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