Sign in to follow this  

parsing x files

This topic is 4750 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. I've been searching this forum & google for several weeks now, trying to find out how to parse an x file in DirectX. I tried the tutorial at http://www.gamedev.net/reference/articles/article1493.asp for parsing x files in an article, but it doesn't have all my needs. I need to be able to extract information of objects in the x file such as the position (x,y,z) and their dimensions. Is this even possible in the x file architecture? When I look at the x file, I don't see any information that would tell me their position. I'd like to be able to do this is C# (.NET) rather than C++, since I don't enjoy string manipulation in C++. The goal would be to have someone build a game level using MAX, export to x format, then I can extract the position & dimensions of objects and load it into a game for collision detections. If you could help out, point me to the right sources, that'd be great. Thanks!

Share this post


Link to post
Share on other sites

This topic is 4750 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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