IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
  Reply to this topicStart new topicStart Poll

 C++ dff reader?

 
ChrisBenoit!  
Posted: Saturday, Jan 14 2012, 17:10
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 27, 2005

gr.gif

XXXXX



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
Users WebsitePMICQ
  Top
 

 
K^2  
Posted: Saturday, Jan 14 2012, 18:38
Quote Post


Vidi Vici Veni
Group Icon
Group: Zaibatsu
Joined: Apr 14, 2004

us.gif

Member Award




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.
PMMSN
  Top
 

 
ChrisBenoit!  
Posted: Saturday, Jan 14 2012, 20:54
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 27, 2005

gr.gif

XXXXX



I have send you my mail adress!
So thanks!
Users WebsitePMICQ
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG