Member
173 posts
Registered:
Jun 2008
What's the license for your MVDParser? I couldn't see anything on the website or in svn (I do have a habit of being blind tho).
Cool bit of cool BTW :-)
Member
75 posts
Registered:
May 2006
Hi!
Since it uses parts of Quake code it is under the GPL... I should probably add a license file to it :-S
I put it up on github also: https://github.com/JoakimSoderberg/mvdparser/tree/master/mvdparser
Member
375 posts
Registered:
Sep 2009
I'm building an Application that will need this great tool!!!
Thanks Cokeman!
(QW Nickname: AL.Kernell)
Member
73 posts
Registered:
Oct 2010
http://postimg.org/image/d488m8q2z/ - dag's jumps from dag vs griffin demo
http://postimg.org/image/lfgyrdtvz/ - griffin's work
mvdparser was used to create images. I just can't fully understand why there's only 12107 coordinates - it seems to be much less than 613 seconds * 76 fps...
Member
202 posts
Registered:
Dec 2006
By default, MVDs use much less than 76fps (i think around 30?) and just interpolate to smooth it out.
Member
73 posts
Registered:
Oct 2010
3.85 times less than 76 frames per second (20- fps average). So need to copy timestamps too to get info about jump speed..
3DNow! (c):
Member
375 posts
Registered:
Sep 2009
http://postimg.org/image/d488m8q2z/ - dag's jumps from dag vs griffin demo
http://postimg.org/image/lfgyrdtvz/ - griffin's work
WOW!!! how did you do it ???
(QW Nickname: AL.Kernell)
Member
286 posts
Registered:
Sep 2012
Deurk also had some awesome statistics with jump maps and so on, too bad he left with the code, there's some cool stuff to do with qw demos !
Member
73 posts
Registered:
Oct 2010
In mvdparser I inserted a few strings like
fprintf(fvano,"%.3lf ",mvd->players[num].origin[i]); // in NetMsg_Parser_Parse_svc_playerinfo function - This gives me coordinates
than simple opengl application - if you're intrested, every one here can get sources - just write a letter to <my_nickname> at (list.ru)
There's a lot of opengl stuff there, which doesn't really matter, and only 10 lines - reading coord file to array coords[][], and nine lines of giving points to opengl (Display() function)
Like that:
glBegin(GL_POINTS);
for(i=0;i<ncread;i++) {
glColor3d(specify color here R,G,B);
glVertex3d(coords[i][0],coords[i][2],coords[i][1]);
}
glEnd();
forgot one step - data in mvd is not complete - if coordinate does not change it could be not written to mvd.. so there is other utulity, expand. i'm not sure about all coords - there is some garbage in file which you'll be able to see too
http://www.mediafire.com/view/qlq6lx255ixj2z2/glsample.cpp
https://www.mediafire.com/?wzcc9q3c849ducc // usage: glsample.exe dagex
Member
49 posts
Registered:
Jul 2017
Next step to ultimate bot must be demo_storyteller, which would tell that dag goes and takes rl (loc file is supported), then goes up to grenade launcher...