399 Commits

Author SHA1 Message Date
Josh Holtrop
d043cf999c fix obj shader to remove uniforms 2011-07-15 12:25:18 -04:00
Josh Holtrop
9d33fa3c79 fix boxarena test object to specify materials for all surfaces 2011-05-27 16:26:05 -04:00
Josh Holtrop
943ef698dd update wfobj 2011-05-27 15:40:42 -04:00
Josh Holtrop
6952d2f9c0 locateResource() checks for full path already 2011-05-26 23:08:34 -04:00
Josh Holtrop
2f57e27988 remove executable bit from models 2011-05-26 22:57:40 -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
d7dfddda4e update glslUtil 2011-05-25 20:09:33 -04:00
Josh Holtrop
b7a0867fc2 update glslUtil 2011-05-25 17:09:46 -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
36fc988fa2 update glslUtil 2011-05-25 16:13:08 -04:00
Josh Holtrop
8094d60ac8 update TextureCache 2011-05-25 16:11:12 -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
6e5eafb8d9 add GL_GLEXT_PROTOTYPES to CPPFLAGS 2011-05-25 15:53:25 -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
3b940aa140 update glslUtil 2011-05-25 08:41:24 -04:00
Josh Holtrop
e5c1a3075e update glslUtil 2011-05-23 15:53:46 -04:00
Josh Holtrop
00c28804f6 add glslUtil submodule 2011-05-23 11:24:44 -04:00
Josh Holtrop
826a57107e fix CFS source list: glob everything under shaders/ 2011-05-23 10:21:49 -04:00
Josh Holtrop
c710dee00c add textured object shader; update names 2011-05-22 22:59:01 -04:00
Josh Holtrop
be15f95560 PhyObj::load() takes const ptr 2011-05-21 23:45:13 -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
89d98be780 remove FileLoader from PhyObj 2011-05-19 22:30:58 -04:00
Josh Holtrop
e40a79435d update AV to remove FileLoader 2011-05-19 17:14:00 -04:00
Josh Holtrop
6e29f8adf6 update TextureCache submodule 2011-05-19 16:55:17 -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
55fee6b9a9 use scons "Command" builder for sdl_keymap.cc 2011-05-17 16:33:38 -04:00
Josh Holtrop
cd1e26318a move source files to "src" subdirectory 2011-05-17 16:11:55 -04:00
Josh Holtrop
0579235c93 completely switch build system to scons 2011-05-17 15:42:54 -04:00
Josh Holtrop
cf3a986b49 add dist target to SConstruct 2011-05-17 15:33:23 -04:00
Josh Holtrop
45ebca0650 add initial SConstruct file; no dist/install yet 2011-05-17 13:17:54 -04:00
Josh Holtrop
2257c664d6 remove unnecessary WFObj/driver.cc file 2011-05-17 13:17:41 -04:00
Josh Holtrop
60b7747997 removed old wfobj directory 2011-05-16 17:05:14 -04:00