ChrisBenoit! Posted January 14, 2012 Share Posted January 14, 2012 Hey, I write a little program and I try to load dff files (no success now confused.gif ). Is there somewhere a dff reader WITH Source Code (C++). I don't know how to get the vertexs data's correctly from the dff file (and normals, texture coords, ...) so I hope someone can help me with a code! Thx Greetz Link to comment Share on other sites More sharing options...
K^2 Posted January 14, 2012 Share Posted January 14, 2012 I wrote a DFF loader for San Andreas. It loads the structure into memory, and it specifically parses the geometry chunks, since I needed it for map geometry. With documentation on DFF formats, you should be able to modify it for your needs. It is basically written as a library. You can use it to improve your own code, or just use my loader if you like. I can send you the whole thing. Just PM me your e-mail. Prior to filing a bug against any of my code, please consider this response to common concerns. Link to comment Share on other sites More sharing options...
ChrisBenoit! Posted January 14, 2012 Author Share Posted January 14, 2012 I have send you my mail adress! So thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now