-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fbx exporter - Maya file naming #10
Comments
Thanks for the report! And the FBX Export part, since the ASCII structure is a bit complicated to deal with, I have not complete the function yet (still lots of bugs). But I just found another way to export FBX very successfully. Unity now offers "FBX Exporter" in AssetStore, and it can also export animations. You can use the UnityAnimationRecorder to record animations into Unity's .anim file format. And then you use the Unity's FBX Exporter to export the model with the animation. I've just test it and it was fast and successful. Please have a try! |
Wow!! I actually was coding on top of your code... I can send you later. |
Sure, please feel free to make a pull request when you done, I will definitely look into it. When I was doing the FBX part, I found there are some setting are really tricky. For example, the time unit FBX use to store the animation key frames, it is a very large number. So I was thinking about using FBX SDK to export, rather than reading the ASCII code by myself. But I didn't want to learn FBX SDK that time lol. But after completing the very simple version of FBX exporter, I found there were too many problems, so I was thinking about the SDK again. But ... now Unity release the FBX Exporter, and it's totally free. So maybe there's no reason to reinvent the wheel now though. :P |
Nevermind! However, seems like it is not possible to have the runtime FbxExporter working. |
@smarcosanderson alright I will do some test today! |
Well, I did not actually do a pull, so my scripts are kind messy... but I zipped them here, so you can take a look if you want to.... I just change the ones in FbxExporter folder and also the TransformTracker, in order to use another thread. |
@smarcosanderson thank you, I definitely check them out. I've done some test with the Unity's FBX Exporter , but it seems that humanoid animation is not supported for now (do not support hierarchy bones). So for now maybe the best way to export humanoid animation is through Maya Exporter. |
@newyellow sorry, but what you mean by, humanoid animation is not supported? Because I could animate through your script (since setting the clip as Legacy) and then export it as a fbx at runtime, but only in the editor... I am looking for a way I could export it from the standalone player. But, yes.. Maya has "less" complications, however, the application I am builting requires load and export of models at runtime... I could not find any runtime importer for Maya. otherwise, I would use it. Thanks. |
First of all thanks for the initiative and the project!!
Well, I am facing some problems with the fbx export.
For a simple file, it is taking over 1 hour to complete the process, and failing in the last stage.
I changed a bit your code, since it was hanging my Unity.
the cause of that was the while loops being executed (and called through the Update function)
If you have a sample of fbx would be helpful. I tested with some from Mixamo, after open them in Maya and export as ASC II.
Many Thanks,
Marcos
Ps. I should mention that I notice that for Maya files, whenever some Transform is named with special character such as : the process fail showing the error: Could not find part of "transformName"_dataX
The text was updated successfully, but these errors were encountered: