摘要:
参考:http://blog.csdn.net/robinjwong/article/details/5636049error:the procedure entry point _glutinitwithexit could not be located in the dnamic link librarysolution:Try define the following line right before including the header, glut.h.#define GLUT_DISABLE_ATEXIT_HACK 阅读全文
摘要:
1 program files(x86)与program files在64位系统下,为了更好的兼容32位程序,在安装一些32位程序(注意某些程序他就是32位的),会默认扔到program files(x86)这个文件夹下,而一些64位的程序,或程序本身没有位数区别的,会默认扔到program files这个文件夹下,它俩下,都有一些与程序使用相关的程序。2 System32 与SysWOW64 (wow: windows on windows 64bits)与1一样system32 是32bits的window系统,而SysWOW64 是64位的系统。3 OpenGL配置(1)将包含.h的整个 阅读全文
摘要:
1 Lighting computation is handled in eye space(需要根据眼睛的位置来计算镜面发射值有多少进入眼睛), hence, when using GLSL (GPU) to do so, we need to transform vertex from local space to eye space in vertex processor.2 vec4 ftransform(): 将vertex从eye space转到clip space3 why procedural texture (generated from the program not by 阅读全文