From: Claude G. <cg...@wa...> - 2014-02-14 06:13:37
|
If you go on my site : http://claude.gerdy.pagesperso-orange.fr/ on the Download page you can download on the button : Download traca traco opengl and directx package release 3.0 a Direct3D11 software made with MinGW and not Visual Studio All the code is in it, with include and libraries. Certainly you can understand how a make that. The most difficult task is to master the initial xnamath.h wich contained a big lot of inline code write in a non standard C++ the C++ of Visual Studio. I made that for the code which are necessary for me. I only use ambient, diffuse and specular lights. NO TEXTURE. With that example cou can add other code, for texture for example. I prefer to write standard C++ files : gluUnProject.cpp and xnamath.cpp to make that, your code is most clear. If you desire details : contact me at : cg...@wa... You must understand that : for Visual Studio : most is opaque, most is beautiful |