摘要: 1,矩阵相乘The most basic application of matrices is solving systems of linear equations.2x+1y = 3;4x+ 3y = 7;关键就是一句话,矩阵的本质就是线性方程式,两者是一一对应关系。如果从线性方程式的角度,理解矩阵乘法就毫无难度。 下面是一组线性方程式。 矩阵的最初目的,只是为线性方程组提供一个简写形式... 阅读全文
posted @ 2017-01-03 21:36 细雨细语 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1,GLuint ShaderProgram = glCreateProgram();GLuint ShaderObj = glCreateShader(ShaderType);glShaderSource(ShaderObj, 1, p, Lengths);glCompileShader(ShaderObj);glAttachShader(ShaderProgram, ShaderObj);gl... 阅读全文
posted @ 2017-01-03 18:19 细雨细语 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1,查看当前opengl版本2,glewthe OpenGL Extension Wrangler Library. GLEW helps you deal with the headache that can accompany the management of extensions in Op 阅读全文
posted @ 2017-01-03 15:37 细雨细语 阅读(157) 评论(0) 推荐(0) 编辑