PDA

View Full Version : simplest but modular program made in OpenGl 2.0



dawudmaxx
01-04-2014, 10:36 PM
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 Windows1209121012111212121312091210121112121213.
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

markds
01-07-2014, 01:25 PM
If there's a question in there, I couldn't see it...

menzel
01-09-2014, 12:19 PM
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.