Commit graph

41 commits

Author SHA1 Message Date
havoc
71be9440ad Corrected names in credits to be more accurate and consistent.
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@12485 d7cf8633-e32d-0410-b094-e92efae38249
2020-01-09 05:37:52 +00:00
divverent
677781d1dc remove useless info
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@11525 d7cf8633-e32d-0410-b094-e92efae38249
2011-11-05 14:11:13 +00:00
divverent
81a9165d09 put scene name in parsed part of the framegroups file
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@11524 d7cf8633-e32d-0410-b094-e92efae38249
2011-11-05 14:08:37 +00:00
divverent
0fcc90c474 improve animinfo dummy lines
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@9500 d7cf8633-e32d-0410-b094-e92efae38249
2009-11-17 07:39:51 +00:00
divverent
26c35e2721 dpmodel: when writing MD3, check the TAG_ prefix case INsensitively (blender default is apparently tag_ and not TAG_)
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@9338 d7cf8633-e32d-0410-b094-e92efae38249
2009-10-16 06:43:51 +00:00
divverent
e4d251cab9 remove the nogramegroups directive, instead assume framegroups when fps are defined
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@9216 d7cf8633-e32d-0410-b094-e92efae38249
2009-09-19 20:39:26 +00:00
havoc
12d6a90a42 fix crash when scene is given as the last command in the script and has
no fps statement


git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@9147 d7cf8633-e32d-0410-b094-e92efae38249
2009-08-27 05:35:53 +00:00
divverent
2dea5fe10e do not write a start comment to the animinfo file, as the QC code cannot skip it
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@9063 d7cf8633-e32d-0410-b094-e92efae38249
2009-07-18 14:25:27 +00:00
divverent
a90b15c57c fix dpmodel writing animinfo wrong
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@9038 d7cf8633-e32d-0410-b094-e92efae38249
2009-07-02 08:14:24 +00:00
divverent
516370f232 dpmodel: new keyword "noframegroups" makes an anim framegroup-less even if framegroups are activated.
This is achieved by creating lots of dummy frame groups...

PLEASE TEST


git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@9036 d7cf8633-e32d-0410-b094-e92efae38249
2009-06-30 09:13:55 +00:00
divverent
b82b9b2f3c add a "framegroups" command for dpmodel.txt to use the new .framegroups format.
If this command is not used, .animinfo is written.
This is done because writing both formats at once makes no sense (if both exist and are used, everything will be broken).


git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@9028 d7cf8633-e32d-0410-b094-e92efae38249
2009-06-21 19:43:10 +00:00
divverent
3c3d0fb7e5 dpmodel: support "noloop" by writing a 0 or 1 for whether the scene is to be looped as a fourth value per line
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@9026 d7cf8633-e32d-0410-b094-e92efae38249
2009-06-21 19:30:14 +00:00
divverent
3eec849b89 add "output" and "mesh" commands to be more like zmodel
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@8814 d7cf8633-e32d-0410-b094-e92efae38249
2009-03-18 19:41:39 +00:00
havoc
f1f6490651 added generation of .dpm.animinfo files
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@8805 d7cf8633-e32d-0410-b094-e92efae38249
2009-03-12 12:06:21 +00:00
havoc
ccc780161f added support for scene <filename> fps <framerate> command
added output of .qh file for each model compiled, containing QC vector
definitions for each animation of the form:
vector anim_modelname_animname = 'firstframe framecount framerate';


git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@8799 d7cf8633-e32d-0410-b094-e92efae38249
2009-03-11 17:16:17 +00:00
divverent
5eb7767497 same fixes for dpmodel: optional args for scale and rotate, and fixed orientation of model
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@8794 d7cf8633-e32d-0410-b094-e92efae38249
2009-03-11 07:36:28 +00:00
divverent
502009c9f4 same changes for dpmodel (non-uniform scale, inverting polygon sense, arbitrary rotation)
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@8614 d7cf8633-e32d-0410-b094-e92efae38249
2008-12-29 10:55:15 +00:00
havoc
8dcd53ca1b fixed normals in md3 conversion, the pitch/yaw bytes in md3 are actually
longitude/latitude, and hence the longitude is 0 for straight up, 90 for
horizontal, and 180 for down (where as pitch would be 0 = horizontal)
this is apparently a VERY common mistake in md3 exporters


git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@8405 d7cf8633-e32d-0410-b094-e92efae38249
2008-07-15 08:59:03 +00:00
havoc
5a32ebecff another attempt at fixing modelscale
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@8279 d7cf8633-e32d-0410-b094-e92efae38249
2008-05-07 05:42:55 +00:00
havoc
6cef7296cf fix model scaling bugs (no longer scales bones, now just enlarges the
mesh and bone positions, giving the same result but with scale 1
matrices)


git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@8278 d7cf8633-e32d-0410-b094-e92efae38249
2008-05-06 03:43:27 +00:00
havoc
270e43253d implemented texturedir command (adds a prefix on all textures, usually used to put them in the same directory as the model will be in)
added .qc frame list file generation
fixed md3 export bugs that caused it to export the first frame repeatedly instead of proper frames


git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@6677 d7cf8633-e32d-0410-b094-e92efae38249
2007-01-02 12:16:49 +00:00
havoc
1450b5aefb added some blank lines
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@6676 d7cf8633-e32d-0410-b094-e92efae38249
2007-01-02 12:15:13 +00:00
havoc
b3ed742072 added md3 output, so every compile produces both a dpm model and a md3 model
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@6452 d7cf8633-e32d-0410-b094-e92efae38249
2006-06-09 10:01:28 +00:00
havoc
ad04c72eda added a readme file
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5947 d7cf8633-e32d-0410-b094-e92efae38249
2006-02-05 20:29:26 +00:00
havoc
fcff514085 added example files
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@5946 d7cf8633-e32d-0410-b094-e92efae38249
2006-02-05 20:29:04 +00:00
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