Commit Graph

  • 57c46a686f fix compilation error not finding readlink() with gcc 4.9 on Linux master Josh Holtrop 2015-05-12 18:31:22 -04:00
  • e6a41718b7 copy m_aabb in copy constructor shaders Josh Holtrop 2011-07-15 13:49:41 -04:00
  • 9a483990a2 read the GL uniform locations Josh Holtrop 2011-07-15 12:42:16 -04:00
  • eed74a64f3 fix logic error unbinding shader program in the middle of an object Josh Holtrop 2011-07-15 12:25:56 -04:00
  • d043cf999c fix obj shader to remove uniforms Josh Holtrop 2011-07-15 12:25:18 -04:00
  • 9d33fa3c79 fix boxarena test object to specify materials for all surfaces Josh Holtrop 2011-05-27 16:26:05 -04:00
  • 943ef698dd update wfobj Josh Holtrop 2011-05-27 15:40:42 -04:00
  • 6952d2f9c0 locateResource() checks for full path already Josh Holtrop 2011-05-26 23:08:34 -04:00
  • 2f57e27988 remove executable bit from models Josh Holtrop 2011-05-26 22:57:40 -04:00
  • 7c8d754c53 disable program after using it Josh Holtrop 2011-05-26 22:39:29 -04:00
  • da09c3f3ba bind texture when switching material Josh Holtrop 2011-05-26 22:20:01 -04:00
  • 3209ec83c5 make sure to call obj.bindBuffers() for WFObj objects Josh Holtrop 2011-05-26 22:17:46 -04:00
  • 9caaa66a45 reset shader when using old display list Josh Holtrop 2011-05-26 22:05:32 -04:00
  • 73d418b35c build mipmaps for textures Josh Holtrop 2011-05-26 21:18:17 -04:00
  • d7dfddda4e update glslUtil Josh Holtrop 2011-05-25 20:09:33 -04:00
  • b7a0867fc2 update glslUtil Josh Holtrop 2011-05-25 17:09:46 -04:00
  • 9c2f883b31 fix loadTexture to use locateResource() Josh Holtrop 2011-05-25 16:17:25 -04:00
  • 0c361d3d5a fix shader source file name Josh Holtrop 2011-05-25 16:14:30 -04:00
  • 36fc988fa2 update glslUtil Josh Holtrop 2011-05-25 16:13:08 -04:00
  • 8094d60ac8 update TextureCache Josh Holtrop 2011-05-25 16:11:12 -04:00
  • a33a2c1ba3 remove unnecessary WFObj include from ag.cc Josh Holtrop 2011-05-25 16:08:43 -04:00
  • 9fc482dbcc pass Engine ref to Engine::Object for accessing program data Josh Holtrop 2011-05-25 16:08:02 -04:00
  • be307c2c32 draw model-based objects using shaders Josh Holtrop 2011-05-25 15:53:43 -04:00
  • 6e5eafb8d9 add GL_GLEXT_PROTOTYPES to CPPFLAGS Josh Holtrop 2011-05-25 15:53:25 -04:00
  • 7b497c73c5 remove static loadFile() Josh Holtrop 2011-05-25 09:26:24 -04:00
  • 96e4a66c2c create "obj" and "obj_tex" shader programs Josh Holtrop 2011-05-25 09:26:02 -04:00
  • 3b940aa140 update glslUtil Josh Holtrop 2011-05-25 08:41:24 -04:00
  • e5c1a3075e update glslUtil Josh Holtrop 2011-05-23 15:53:46 -04:00
  • 00c28804f6 add glslUtil submodule Josh Holtrop 2011-05-23 11:24:44 -04:00
  • 826a57107e fix CFS source list: glob everything under shaders/ Josh Holtrop 2011-05-23 10:21:49 -04:00
  • c710dee00c add textured object shader; update names Josh Holtrop 2011-05-22 22:59:01 -04:00
  • be15f95560 PhyObj::load() takes const ptr Josh Holtrop 2011-05-21 23:45:13 -04:00
  • 5a0eea19f5 fix qualifiers again Josh Holtrop 2011-05-21 23:43:49 -04:00
  • 07f4162581 fix some qualifiers dealing with loadFile() Josh Holtrop 2011-05-21 23:42:52 -04:00
  • 15c30e0d00 fix Engine::validatePath() to accept a const ref Josh Holtrop 2011-05-21 23:40:44 -04:00
  • 67010e02c2 add Engine::loadWFObjFile() Josh Holtrop 2011-05-21 23:33:28 -04:00
  • 278867b3c8 AV::Sound copies sound buffer to avoid memory leak Josh Holtrop 2011-05-21 23:20:50 -04:00
  • 8f1329fed8 fix a few compilation issues Josh Holtrop 2011-05-20 13:27:40 -04:00
  • af88db267f fix loadSound() Josh Holtrop 2011-05-20 07:44:53 -04:00
  • f78c42c8c8 update WFObj construction, loadFile()/loadTexture() Josh Holtrop 2011-05-19 23:14:10 -04:00
  • f1bc763be2 update loadPhy() interface Josh Holtrop 2011-05-19 22:59:04 -04:00
  • 08dbe60b7b remove Engine::FileLoader Josh Holtrop 2011-05-19 22:55:09 -04:00
  • 89d98be780 remove FileLoader from PhyObj Josh Holtrop 2011-05-19 22:30:58 -04:00
  • e40a79435d update AV to remove FileLoader Josh Holtrop 2011-05-19 17:14:00 -04:00
  • 6e29f8adf6 update TextureCache submodule Josh Holtrop 2011-05-19 16:55:17 -04:00
  • b4cacbd05d fix getFile() usage Josh Holtrop 2011-05-19 16:46:24 -04:00
  • 8028654ff2 beginning migrate to shaders Josh Holtrop 2011-05-18 17:17:06 -04:00
  • 55fee6b9a9 use scons "Command" builder for sdl_keymap.cc Josh Holtrop 2011-05-17 16:33:38 -04:00
  • cd1e26318a move source files to "src" subdirectory Josh Holtrop 2011-05-17 16:11:55 -04:00
  • 0579235c93 completely switch build system to scons Josh Holtrop 2011-05-17 15:42:54 -04:00
  • cf3a986b49 add dist target to SConstruct Josh Holtrop 2011-05-17 15:33:23 -04:00
  • 45ebca0650 add initial SConstruct file; no dist/install yet Josh Holtrop 2011-05-17 13:17:54 -04:00
  • 2257c664d6 remove unnecessary WFObj/driver.cc file Josh Holtrop 2011-05-17 13:17:41 -04:00
  • 60b7747997 removed old wfobj directory Josh Holtrop 2011-05-16 17:05:14 -04:00
  • ebe4b49a7f added .gitignore Josh Holtrop 2010-12-19 00:18:11 -05:00
  • df91f0fe92 fix ag.pickOne documentation return value name Josh Holtrop 2010-12-19 00:11:40 -05:00
  • 96f62c237b cleaned up Makefile a lot Josh Holtrop 2010-12-19 00:11:40 -05:00
  • 4cd5a61bc4 do not ignore sdl_keymap.h Josh Holtrop 2010-12-19 00:11:39 -05:00
  • 0b42c42237 include correct WFObj path Josh Holtrop 2010-12-19 00:11:39 -05:00
  • 49ee9b12b4 gen-sdl-keymap.pl no longer generating sdl_keymap.h Josh Holtrop 2010-12-19 00:11:39 -05:00
  • dc6994fcbf renamed wfobj subdirectory to WFObj Josh Holtrop 2010-12-19 00:11:39 -05:00
  • a0d66622db added "install" target Josh Holtrop 2010-12-19 00:11:38 -05:00
  • 5ebff00dbc bugfix in std.createPlanePointNormal with calculation of "d" parameter Josh Holtrop 2010-12-19 00:11:38 -05:00
  • 7924672b69 fixed texturing on quads Josh Holtrop 2010-12-19 00:11:38 -05:00
  • 0417ec2c29 bugfix: correct full path being sent to Engine constructor Josh Holtrop 2010-12-19 00:11:38 -05:00
  • bece35d270 added setPosition() for Quads Josh Holtrop 2010-12-19 00:11:37 -05:00
  • 1009f91302 enhanced polygon offset for quads Josh Holtrop 2010-12-19 00:11:37 -05:00
  • 65ecbe0d5c bugfix in Engine::Quad() constructor -- call dCROSS() before dNormalize3() Josh Holtrop 2010-12-19 00:11:37 -05:00
  • eb73749f69 added Engine::Quad::setColor() and ag::quad::setColor() Josh Holtrop 2010-12-19 00:11:37 -05:00
  • 8585f97e91 fixed bug in ag::quad::setOffset() Josh Holtrop 2010-12-19 00:11:36 -05:00
  • 19a7687086 fix Lua indexing bug in ag::createQuad() Josh Holtrop 2010-12-19 00:11:36 -05:00
  • 8be32add54 actually register ag.createQuad with lua Josh Holtrop 2010-12-19 00:11:36 -05:00
  • 97530106c2 actually do the polygon offset for quads Josh Holtrop 2010-12-19 00:11:36 -05:00
  • dff232ec66 created frontend functionality for creating Quad objects Josh Holtrop 2010-12-19 00:11:35 -05:00
  • 791fb14925 added backend functionality for Quads Josh Holtrop 2010-12-19 00:11:35 -05:00
  • 6e35afb4ad replace local cross_product() function with dCROSS() Josh Holtrop 2010-12-19 00:11:35 -05:00
  • 1dda197ca3 split Engine::Object functions into their own .cc file Josh Holtrop 2010-12-19 00:11:35 -05:00
  • 225d147b79 ignore .swp files Josh Holtrop 2010-12-19 00:11:34 -05:00
  • df953ef20f subdirectories work for real this time Josh Holtrop 2010-12-19 00:11:34 -05:00
  • 2edea049bd allow subdirectories in Lua-specified paths separated by ":" Josh Holtrop 2010-12-19 00:11:34 -05:00
  • 66b0bd3da5 updated "dist" Makefile target to use cp instead of svn export; added dist to .hgignore Josh Holtrop 2010-12-19 00:11:34 -05:00
  • 4d726dbf62 find full path to engine in linux using /proc/self/exe Josh Holtrop 2010-12-19 00:11:33 -05:00
  • 9e6bb1b22d added PLATFORM definition in Makefile, added .hgignore Josh Holtrop 2010-12-19 00:11:33 -05:00
  • 7b057bcf86 import svn:externals Josh Holtrop 2010-12-19 00:11:13 -05:00
  • d3da66da4b fix typo in doc Josh Holtrop 2010-10-04 00:11:07 +00:00
  • 2c98e88dae updated checkerpick.lua test script, moved it into lib/demo Josh Holtrop 2010-09-23 17:09:35 +00:00
  • e265cf21b7 fixed AABB and getSize() problem for boxes Josh Holtrop 2010-09-23 17:00:33 +00:00
  • e1aa35b4cd fixed bug in argument order in ag.loadModel() Josh Holtrop 2010-09-22 02:38:07 +00:00
  • 283d84aa25 added documentation for ag::object::setTransparency() Josh Holtrop 2010-09-17 17:10:13 +00:00
  • 11da99b3ad added ag::object::setTransparency() and Engine::Object::setTransparency() Josh Holtrop 2010-09-17 17:02:28 +00:00
  • 1a2213f39c added a test box with a partly transparent texture Josh Holtrop 2010-09-17 16:47:43 +00:00
  • 3e3ba194f9 setting texture mode when blending Josh Holtrop 2010-09-17 16:42:01 +00:00
  • 9ea65f4e65 added enable_blending parameter to objects Josh Holtrop 2010-09-17 16:37:51 +00:00
  • 7ea2aa3644 updated documentation for ag.pickObjects() and ag.pickOne() Josh Holtrop 2010-09-17 14:57:39 +00:00
  • ea623bdf65 changed tests/checkerpick.lua to use ag.pickOne() instead of ag.pickObjects() for efficiency Josh Holtrop 2010-09-17 14:48:24 +00:00
  • bfb0760ef1 added ag::pickOne() Josh Holtrop 2010-09-17 14:46:54 +00:00
  • a43935fdd6 added Engine::pickOne() Josh Holtrop 2010-09-17 14:27:34 +00:00
  • 89e065ebb5 added checkerpick test script with example for mouse motion selection on a grid Josh Holtrop 2010-09-17 03:34:38 +00:00
  • 7c7609045d ag.pickObjects() now sets pick_dist, pick_pos, and pick_normal attributes on the selected objects Josh Holtrop 2010-09-17 02:44:25 +00:00
  • d768feb8b4 updated .todo Josh Holtrop 2010-09-16 21:23:37 +00:00