Sign in to follow this  
codingsmallcat

who is know the format of xfile(binary file)?

Recommended Posts

codingsmallcat    127
hi guys I have some xfile (binary file) ,I need tranfe it to another format.so I need know how to read their vertex ,textrue and bones. could you tell me how to do it? Or do you know the format of binary file? thank you.

Share this post


Link to post
Share on other sites
NiteLordz    808
What i did was used to the techinique in the nvidia sdk ( i believe the skinned instance sample ) where they load in the binary x model using the dx9 loader, lock the vertex/index buffers, pull the data i need, and write it out to a seperate format. it also shows you how to pull the bone structure and weights along with the textures needed.

this helped me out alot.

Note, i do this in a seperate program, so that i am not depenedent on any dx features inside my actual engine

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this