(only adjusting things here and there for the compiler differences.)įeel free to stop reading. Once you have that project created, you can fallow along with most visual-studio tutorials to the point of copy/past. However, that sets up an OpenGL 2.1 project, not an OpenGL 4.2 project. You can create an OpenGL project in the projects menu. Though I'm not particularly familiar with visual studio, so I'm just going to leave you with that tutorial. Going to go through these files one by one, starting with the headerįiles, so that we don’t get mixed up shuffling between them.Īnd its pragmas: #pragma comment(lib, "glew32.lib") I am calling them: “main.cpp, main.h, opengl_3.cpp, opengl_3.h”. Make sure it is empty to begin with, and then create 4 files. So open up Visual Studio and create a new Windows Console Application I'm going to point out the second paragraph in the Coding section in particular: The Swiftless Tutorials should function as a good basis.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |