30 Commits

Author SHA1 Message Date
Josh Holtrop
e6a41718b7 copy m_aabb in copy constructor 2011-07-15 13:49:41 -04:00
Josh Holtrop
9a483990a2 read the GL uniform locations 2011-07-15 12:42:16 -04:00
Josh Holtrop
eed74a64f3 fix logic error unbinding shader program in the middle of an object 2011-07-15 12:25:56 -04:00
Josh Holtrop
6952d2f9c0 locateResource() checks for full path already 2011-05-26 23:08:34 -04:00
Josh Holtrop
7c8d754c53 disable program after using it 2011-05-26 22:39:29 -04:00
Josh Holtrop
da09c3f3ba bind texture when switching material 2011-05-26 22:20:01 -04:00
Josh Holtrop
3209ec83c5 make sure to call obj.bindBuffers() for WFObj objects 2011-05-26 22:17:46 -04:00
Josh Holtrop
9caaa66a45 reset shader when using old display list 2011-05-26 22:05:32 -04:00
Josh Holtrop
73d418b35c build mipmaps for textures 2011-05-26 21:18:17 -04:00
Josh Holtrop
9c2f883b31 fix loadTexture to use locateResource() 2011-05-25 16:17:25 -04:00
Josh Holtrop
0c361d3d5a fix shader source file name 2011-05-25 16:14:30 -04:00
Josh Holtrop
a33a2c1ba3 remove unnecessary WFObj include from ag.cc 2011-05-25 16:08:43 -04:00
Josh Holtrop
9fc482dbcc pass Engine ref to Engine::Object for accessing program data 2011-05-25 16:08:02 -04:00
Josh Holtrop
be307c2c32 draw model-based objects using shaders 2011-05-25 15:53:43 -04:00
Josh Holtrop
7b497c73c5 remove static loadFile() 2011-05-25 09:26:24 -04:00
Josh Holtrop
96e4a66c2c create "obj" and "obj_tex" shader programs 2011-05-25 09:26:02 -04:00
Josh Holtrop
5a0eea19f5 fix qualifiers again 2011-05-21 23:43:49 -04:00
Josh Holtrop
07f4162581 fix some qualifiers dealing with loadFile() 2011-05-21 23:42:52 -04:00
Josh Holtrop
15c30e0d00 fix Engine::validatePath() to accept a const ref 2011-05-21 23:40:44 -04:00
Josh Holtrop
67010e02c2 add Engine::loadWFObjFile() 2011-05-21 23:33:28 -04:00
Josh Holtrop
278867b3c8 AV::Sound copies sound buffer to avoid memory leak 2011-05-21 23:20:50 -04:00
Josh Holtrop
8f1329fed8 fix a few compilation issues 2011-05-20 13:27:40 -04:00
Josh Holtrop
af88db267f fix loadSound() 2011-05-20 07:44:53 -04:00
Josh Holtrop
f78c42c8c8 update WFObj construction, loadFile()/loadTexture() 2011-05-19 23:14:10 -04:00
Josh Holtrop
f1bc763be2 update loadPhy() interface 2011-05-19 22:59:04 -04:00
Josh Holtrop
08dbe60b7b remove Engine::FileLoader 2011-05-19 22:55:09 -04:00
Josh Holtrop
e40a79435d update AV to remove FileLoader 2011-05-19 17:14:00 -04:00
Josh Holtrop
b4cacbd05d fix getFile() usage 2011-05-19 16:46:24 -04:00
Josh Holtrop
8028654ff2 beginning migrate to shaders
add a few submodules
generate C file store with cfs_gen
remove FileLoader/TextureLoader
add initial color shaders for wfobj objects
2011-05-18 17:17:06 -04:00
Josh Holtrop
cd1e26318a move source files to "src" subdirectory 2011-05-17 16:11:55 -04:00