Quantcast

Jump to content

» «
Photo

C++ dff reader?

2 replies to this topic
ChrisBenoit!
  • ChrisBenoit!

    Player Hater

  • Members
  • Joined: 27 Dec 2005

#1

Posted 14 January 2012 - 05:10 PM

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

K^2
  • K^2

    Vidi Vici Veni

  • Moderator
  • Joined: 14 Apr 2004
  • United-States
  • Most Knowledgeable [Web Development/Programming] 2013
    Most Knowledgeable [GTA Series] 2011
    Best Debater 2010

#2

Posted 14 January 2012 - 06:38 PM

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.

ChrisBenoit!
  • ChrisBenoit!

    Player Hater

  • Members
  • Joined: 27 Dec 2005

#3

Posted 14 January 2012 - 08:54 PM

I have send you my mail adress!
So thanks!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users