42 Commits

Author SHA1 Message Date
Josh Holtrop
51c0ded005 fix compilation errors; compiling! 2011-04-19 17:05:17 -04:00
Josh Holtrop
18c4be6a42 remove WFMtl, I didn't like it 2011-04-19 16:58:19 -04:00
Josh Holtrop
a9ad715e4b finish readFaces() 2011-04-19 16:51:25 -04:00
Josh Holtrop
96737a0386 finish processInputLine() 2011-04-19 16:43:08 -04:00
Josh Holtrop
dffa5a98a5 add readFaces() and readVertexRef() 2011-04-19 16:26:59 -04:00
Josh Holtrop
476f4cde66 remove render(), gut processInputLine(), add m_faces map 2011-04-19 16:16:41 -04:00
Josh Holtrop
3f78016e26 coding style update 2011-04-19 16:00:25 -04:00
Josh Holtrop
e7f7ca4b3f add VertexRef 2011-04-19 15:59:55 -04:00
Josh Holtrop
f46f887472 replace m_data with m_vertices 2011-04-19 15:58:18 -04:00
Josh Holtrop
594642f489 finish load() 2011-04-18 12:40:59 -04:00
Josh Holtrop
28722f4c94 add WFObj::getLine() 2011-04-18 12:35:09 -04:00
Josh Holtrop
d59eb2ffe5 break compile; begin to modify for v2.0 2011-04-18 12:21:13 -04:00
Josh Holtrop
ebb39c8750 update README for v2.0 2011-04-18 10:56:34 -04:00
Josh Holtrop
7bc9afea4b add README v1.0 2011-04-18 09:16:24 -04:00
Josh Holtrop
d06888128c fix full path bug with loading texture files for materials 2011-03-08 13:44:34 -05:00
josh
b714c0b08f use CPPFLAGS in Makefile
git-svn-id: svn://anubis/misc/wfobj@254 bd8a9e45-a331-0410-811e-c64571078777
2010-10-26 20:08:50 +00:00
josh
8edddaf396 setting texture mode when blending
git-svn-id: svn://anubis/misc/wfobj@243 bd8a9e45-a331-0410-811e-c64571078777
2010-09-17 16:42:06 +00:00
josh
9920ba04b8 added enableBlending flag to WFObj rendering
git-svn-id: svn://anubis/misc/wfobj@242 bd8a9e45-a331-0410-811e-c64571078777
2010-09-17 16:18:19 +00:00
josh
11033c5876 fixed checkGLError()
git-svn-id: svn://anubis/misc/wfobj@238 bd8a9e45-a331-0410-811e-c64571078777
2010-02-25 16:45:50 +00:00
josh
b2ab1fc98b added DEBUG_GL_ERROR debug functionality
git-svn-id: svn://anubis/misc/wfobj@215 bd8a9e45-a331-0410-811e-c64571078777
2009-11-18 00:20:14 +00:00
josh
3a42a0cb47 pushing attributes before binding textures
git-svn-id: svn://anubis/misc/wfobj@212 bd8a9e45-a331-0410-811e-c64571078777
2009-11-16 22:30:39 +00:00
josh
d69b65e95f pushing attributes for GL_ENABLE_BIT
git-svn-id: svn://anubis/misc/wfobj@211 bd8a9e45-a331-0410-811e-c64571078777
2009-11-16 03:23:57 +00:00
josh
4a11b8f621 updated Makefile
git-svn-id: svn://anubis/misc/wfobj@186 bd8a9e45-a331-0410-811e-c64571078777
2009-10-18 16:33:59 +00:00
josh
663669a407 rename WFObj.hh to WFObj.h due to massive interface change; changed loader to use FileLoader and TextureLoader objects, accepting path via a FileLoader::Path argument instead of a raw string
git-svn-id: svn://anubis/misc/wfobj@180 bd8a9e45-a331-0410-811e-c64571078777
2009-10-17 21:25:22 +00:00
josh
81e6d24374 added header #ifndef
git-svn-id: svn://anubis/misc/wfobj@143 bd8a9e45-a331-0410-811e-c64571078777
2009-09-27 21:00:52 +00:00
josh
59f7e83a3f use spaces not tabs!
git-svn-id: svn://anubis/misc/wfobj@133 bd8a9e45-a331-0410-811e-c64571078777
2009-09-14 03:15:35 +00:00
josh
049cb20c7c fixed warning about const qualifier
git-svn-id: svn://anubis/misc/wfobj@132 bd8a9e45-a331-0410-811e-c64571078777
2009-09-14 00:26:48 +00:00
josh
e642818e4a added doTextureInfo option to WFObj::render() and WFMtl class methods
git-svn-id: svn://anubis/misc/wfobj@77 bd8a9e45-a331-0410-811e-c64571078777
2008-11-13 23:21:22 +00:00
josh
9a1902b1cb actually call updateAABB() when read vertex data...
git-svn-id: svn://anubis/misc/wfobj@43 bd8a9e45-a331-0410-811e-c64571078777
2008-03-03 02:08:28 +00:00
josh
95bd26e1f2 do not call m_loadTexture if it is null, retabbed
git-svn-id: svn://anubis/misc/wfobj@42 bd8a9e45-a331-0410-811e-c64571078777
2008-03-01 20:58:27 +00:00
josh
64fea9c370 added support for a file-loading function, possibly to load objects/materials from data in memory
git-svn-id: svn://anubis/misc/wfobj@41 bd8a9e45-a331-0410-811e-c64571078777
2008-02-20 03:41:37 +00:00
josh
9c3944c98e added axis-aligned bounding box computation and retrieval function
git-svn-id: svn://anubis/misc/wfobj@40 bd8a9e45-a331-0410-811e-c64571078777
2008-02-20 02:46:32 +00:00
josh
85c451e8c2 added Ns material support
git-svn-id: svn://anubis/misc/wfobj@37 bd8a9e45-a331-0410-811e-c64571078777
2008-02-15 01:30:06 +00:00
josh
125b2e0863 after glPopAttrib() set m_attributesPushed = false
git-svn-id: svn://anubis/misc/wfobj@33 bd8a9e45-a331-0410-811e-c64571078777
2008-01-31 04:17:19 +00:00
josh
7e63501f47 split Makefile for driver version and object-only version (default)
git-svn-id: svn://anubis/misc/wfobj@25 bd8a9e45-a331-0410-811e-c64571078777
2008-01-29 04:34:14 +00:00
josh
26e2833f82 merged WFMtl code into WFObj files, added loadTexture callback
git-svn-id: svn://anubis/misc/wfobj@24 bd8a9e45-a331-0410-811e-c64571078777
2008-01-29 03:04:22 +00:00
josh
0ba39b3669 materials rendering colors, still need texture support
git-svn-id: svn://anubis/misc/wfobj@23 bd8a9e45-a331-0410-811e-c64571078777
2008-01-28 01:30:29 +00:00
josh
8772342fdb closer to rendering materials with WFMtl
git-svn-id: svn://anubis/misc/wfobj@22 bd8a9e45-a331-0410-811e-c64571078777
2008-01-27 14:18:41 +00:00
josh
2fe1763b74 getting ready to call materials
git-svn-id: svn://anubis/misc/wfobj@21 bd8a9e45-a331-0410-811e-c64571078777
2008-01-27 14:05:42 +00:00
josh
5b34c54c96 added (in progress) WFMtl class, clear() method
git-svn-id: svn://anubis/misc/wfobj@20 bd8a9e45-a331-0410-811e-c64571078777
2008-01-27 14:00:34 +00:00
josh
14aca0a2e8 initial import
git-svn-id: svn://anubis/misc/wfobj@19 bd8a9e45-a331-0410-811e-c64571078777
2008-01-26 21:34:35 +00:00
josh
877696c605 made directory for Wavefront object parser
git-svn-id: svn://anubis/misc/wfobj@18 bd8a9e45-a331-0410-811e-c64571078777
2008-01-26 21:32:34 +00:00