small md5mesh & md5anim loader class

if anybody is interested I’ve made
a small md5mesh & md5anim loader class.
full source code for class and a small linux viewer here :
http://www.nowan.net/cb/3d

animation is not perfect, I’m still working on it, but it works fine for several anims

suggestions for improvement are very welcome!

have fun!
cbwan

It’s a new dawn, it’s a new day, it’s a new life, and I’m feeling good!

edit: changed url & added linux to ‘linux viewer’ =)

[This message has been edited by cbwan (edited 12-02-2002).]

Cool. Thanks for sharing. Have to try it out right away

I was wondering, since md5 and other doom formats are just a text files, if anyone has created a lex and yacc files for them?

I was planning on doing it myself, but I have been unable to get ahold of the, admittedly illegal, materials I would need to test it :slight_smile:

I’ve come to the conclusion that any future file formats I create will be text files (compilable into binary if necessary), and lex/yacc are much easier than writing parsers by hand.

Originally posted by Nakoruru:
I was wondering, since md5 and other doom formats are just a text files, if anyone has created a lex and yacc files for them?

Yes, well pretty much. That post on flipcode where I found the first md5mesh loading code has it in there by the same person who posted the md5mesh code.

-SirKnight

I decided to post the link so you wont have to search for it your self. http://www.flipcode.com/cgi-bin/msg.cgi?showThread=00006455&forum=3dtheory&id=141

-SirKnight

[This message has been edited by SirKnight (edited 12-02-2002).]

Cool. I’ll have a go at removing any backing up from the lex grammar (if there is any).