Commit graph

16 commits

Author SHA1 Message Date
havoc
faf3d84d6e improved handling of weird files (such as blank lines as shader names), got rid of getline function (now just uses COM_ParseToken)
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5945 d7cf8633-e32d-0410-b094-e92efae38249
2006-02-05 19:42:07 +00:00
havoc
6b4a42106c new makefile with mingw support built in
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5728 d7cf8633-e32d-0410-b094-e92efae38249
2005-09-28 09:12:27 +00:00
havoc
447b4938de merged in Jalisk0's HalfLife2 .smd support (multiple bones affecting each vertex)
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5677 d7cf8633-e32d-0410-b094-e92efae38249
2005-09-02 09:50:55 +00:00
havoc
2fecf15875 fix a stupid bug that made vertex merging fail when vertices were owned by different bones, this tends to cause facetted shading in renderers that only smooth merged vertices, and it wastes cpu time anyway
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5664 d7cf8633-e32d-0410-b094-e92efae38249
2005-08-28 06:13:14 +00:00
havoc
3e53b6fc51 added rotate keyword
backported zmodel rootbone manipulations so that scale/origin/rotate work more consistently (should fix problems with animations after the reference frame not being affected properly by scale)


git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5569 d7cf8633-e32d-0410-b094-e92efae38249
2005-08-11 07:58:33 +00:00
havoc
5555f5a977 made keepallbones variable actually work, so bones aren't removed anymore even if unused
fixed 64bit warnings


git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5515 d7cf8633-e32d-0410-b094-e92efae38249
2005-07-08 10:33:51 +00:00
havoc
386b72165c added #ifdef WIN32 to use stricmp instead of strcasecmp on WIN32 in shader name comparison, and a couple little things
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5112 d7cf8633-e32d-0410-b094-e92efae38249
2005-03-21 07:18:57 +00:00
havoc
96d66f5f0f fixed line endings (back to what they should be)
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5110 d7cf8633-e32d-0410-b094-e92efae38249
2005-03-21 04:56:49 +00:00
havoc
bd7731272b some mild diff reduction with zmodel
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5109 d7cf8633-e32d-0410-b094-e92efae38249
2005-03-21 04:55:01 +00:00
havoc
10e79ba986 converted line endings to unix
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5108 d7cf8633-e32d-0410-b094-e92efae38249
2005-03-21 04:53:28 +00:00
havoc
4e2904b4da Vic fixed modelscale issues on root bones
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@4294 d7cf8633-e32d-0410-b094-e92efae38249
2004-07-30 00:12:31 +00:00
warp
af56444357 Copying the shader name lowercases everything, but the comparison to found shaders is case sensitive.
There were a /LOT/ of identical shader entries.


git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@3719 d7cf8633-e32d-0410-b094-e92efae38249
2003-12-11 03:41:33 +00:00
havoc
02e6ce7531 fix a very bad bug in parsing attachments (wrote to angles[3-6] when it should have written to angles[0-3])
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@3668 d7cf8633-e32d-0410-b094-e92efae38249
2003-11-29 20:20:58 +00:00
havoc
d8907778f7 changed model format to fix some braindamage in the original writer (which didn't really match up with the stated specifications, and the specifications had to be revised too)
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@2558 d7cf8633-e32d-0410-b094-e92efae38249
2002-10-24 02:57:31 +00:00
havoc
b6a4c68d39 MSVC 6 project
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@2416 d7cf8633-e32d-0410-b094-e92efae38249
2002-09-22 00:38:22 +00:00
havoc
d0b355ef1c Initial revision
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@2380 d7cf8633-e32d-0410-b094-e92efae38249
2002-09-16 19:59:21 +00:00