Commit Graph
25 Commits
Author SHA1 Message Date
Josh Holtrop e05c62725c add guPerspective() 2011-05-09 17:05:23 -04:00
Josh Holtrop 2d7bafe23b add guMatrixRotate() 2011-05-09 16:56:19 -04:00
Josh Holtrop fe93dffab0 use GLfloat instead of float 2011-05-09 16:45:50 -04:00
Josh Holtrop 9ad00aee7f add guMatrixScale() 2011-05-09 16:45:07 -04:00
Josh Holtrop e76503001e add Makefile, SConstruct, fix compiler errors 2011-05-09 16:38:31 -04:00
Josh Holtrop 26bc6781cb add guMatrixFrustum() 2011-05-09 16:32:51 -04:00
Josh Holtrop 514a1c6d09 update function prefix, fill out translate 2011-05-09 16:21:28 -04:00
Josh Holtrop c1c42f3558 add initial glslUtil files 2011-05-08 21:58:12 -04:00
Josh Holtrop fecc8a0e44 corrected phong lighting shader 2011-05-06 09:19:24 -04:00
Josh Holtrop 8bd56f42aa first lighting attempt; specular not working 2011-05-01 08:34:13 -04:00
Josh Holtrop 4e40f6af5c cp template -> lighting 2011-04-30 19:47:55 -04:00
Josh Holtrop 57f984c92a switch to perspective projection 2011-04-30 11:42:23 -04:00
Josh Holtrop 097feecbb7 fix near and far value in glOrtho() 2011-04-30 11:25:17 -04:00
Josh Holtrop 4a7a97236b actually using the program we made is helpful 2011-04-30 09:54:04 -04:00
Josh Holtrop d3c509e966 explicitly bind generic attribute locations 2011-04-30 09:49:23 -04:00
Josh Holtrop 1371328c8b use projection matrix as well 2011-04-30 09:49:08 -04:00
Josh Holtrop 2f57ba687c specify vertex attributes and draw triangles 2011-04-30 09:32:38 -04:00
Josh Holtrop 1434828ad9 implement basic color shader 2011-04-30 09:32:14 -04:00
Josh Holtrop d76fb43a3c add makeBuffer() and triangle data 2011-04-30 09:08:58 -04:00
Josh Holtrop 9a0ffa8cbe kinda forgot the point of loadFile() 2011-04-29 17:24:01 -04:00
Josh Holtrop c6e51524e9 create and link program, add getProgramLog() 2011-04-28 19:44:04 -04:00
Josh Holtrop 5a1fed9a41 load and compile shaders 2011-04-28 18:47:06 -04:00
Josh Holtrop ba2c1d9c60 set up modelview matrix, bigger window 2011-04-28 17:52:07 -04:00
Josh Holtrop 13cb39e79e retabbed 2011-04-27 22:30:03 -04:00
Josh Holtrop e32f283aad add initial GLSL template 2011-04-27 22:25:02 -04:00