Jump to content
  • Advertisement
Sign in to follow this  
chilledoutjohn

maya x file size too large?

This topic is 4304 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

Hello all The awnser to this maybe on the forums somwhere, i can't seem to find it. Basicly, any models i export from maya (maya 7) using the microsoft D3DMaya7ExportX.mll seems to be very large file size wise for what it is. a small untextured cube is litrally over a meg large and i cant seem to find any way of decreasing the file size. There seems to be no options within the export settings in maya when the .x format is sellected that allow me to alter anything. Im quite new to direct x so am probably doing something very wrong, but if anyone has any information that could help it would be appreciated cheers John.

Share this post


Link to post
Share on other sites
Advertisement
Maybe youre trying to export extra options that you don't need, like animation, and other stuff. How large is your cube. My exporter (even though im using Maya 8, its built against Maya 7 version) is exporting a 1x1x1 cube with no animation in the export options is 11.5kb, while the same dimension cube with anmation set to true (even though it has none) will be 45kb. So I suspect If your cube is roughly 200kb and has animation it would would be over a meg.

Share this post


Link to post
Share on other sites
I've not tried to use that exporter but those files sizes do sound totally daft.

If you open the file in HexEdit or Notepad and have a look at the first 16 characters you should be able to see how it is exported.

If you look 9 characters in...

xof 0303bin 0032 - binary format (pretty small)
xof 0303bzip0032 - binary compressed format (the smallest)
xof 0303txt 0032 - text format (bigger than god himself)

I suspect its exporting as text and with animation information too and that why its so huge. If you can read the data in notepad than thats the issue. If you have no options in the exporter to not export animation or change the export method then don't worry about it too much, it wont break anything, but if its for download then we need to find you a solution

D.

Share this post


Link to post
Share on other sites
Quote:
Original post by mono_eric3

If you can read the data in notepad than thats the issue.
D.


Actually you can read all exported x files in the notepad since theyre in ASCII code.

Share this post


Link to post
Share on other sites
Apologies, should have been more specific.

If the data is ledgible in notepad then the data is being stored as text. It will look pretty much like code in layout.

Binary X files will open in notepad but the only ledgible part will be the header. The rest will just look like random data.

D.

Share this post


Link to post
Share on other sites
Hi, thanks for all of your help

To mono_eric3, yes i checked the model in note pad and the code like thing was:
xof 0303txt 0032 - text format (bigger than god himself) For now its ok, but i have some rather more complicated low polly character models which are currently exporting at around the 10 meg mark, which is a bit of a worrie :). Im going to scout round a bit more to see if there are any other maya plugin's for direct x.

The current version of the plugin i have is 6, so i'll check the site, see if theres a newer release?

anyway, thanks again

John

Share this post


Link to post
Share on other sites
Update

There are export options, they are just not where the normal ones are, so i think i'm ok now (for a while at least) :)

Cheers

oh and incase anyone else has the same problem:

When the directX plugin has been installed and loaded another menu called DirectX will apear at the top of the screen over on the right, everything you need is in there.

John

[Edited by - chilledoutjohn on January 31, 2007 5:59:43 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!