随笔分类 -  OpenGL

The Use Of Class Pointer
摘要:Problem: A error occurred when I defined "NormalMapping normal"( used for manaing relative shader ) in my OpenGLApp class. The compiler return error message "access violation at location 00000000 ".Analysis: The error message seems to indicate that I had invoked some gl-function 阅读全文

posted @ 2013-10-29 23:10 swdever 阅读(175) 评论(0) 推荐(0)

OpenGL Function Note
摘要:glTexImage2D: Access Violate when invoke glTexImage2D. This problem may happen when specify a color system which is not correspond to the exact color system.Eg. The texture uploaded is store in RGB color system,but when invoke glTexImage2D, I specify that the texture is in RGBA color system.Then, a. 阅读全文

posted @ 2013-10-08 23:49 swdever 阅读(267) 评论(0) 推荐(0)