simplest but modular program made in OpenGl 2.0
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
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.
Originally Posted by markds