Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Blender 2.5 and U3d file.; small issue
Topic Started: Nov 10 2010, 08:52 PM (630 Views)
jasnsathome
Member
[ *  * ]
I'm trying to export a model from blender 2.54 using the u3d exporter. The model is suppose to have 40 keyframes but when it is exported it will have a random amount of frames and some or the frames aren't transformed at all. The model is suppose to have 1 to 40 frames and in the model viewer or game it has like 83. What was originally the first frame is now the 41'st frame. The model also has the slash in the seem i read about in another post. I am new to using blender and u3d and assume its a user error,and was hoping someone had a simular problem and could help me out. Here is a blender file if someone could look at it and see if I am doing something wrong.
One more thing, the export script isn't reporting any errors on export at the moment.
Thanks agian to anyone who gives it a look. I will try to give more info if needed just ask and I will do my best.
Attached to this post:
Attachments: BadAnimation.blend (1.07 MB)
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
The exporter is programmed to export all actions for every armature, one after the other. In Blender 2.5x actions are no longer bound to particular objects, thus every existing action can be used for every armature (even if it does not do anything there). This is what the exporter does. Your Blend file contains a total of four actions. You can see them in the outliner in the list of all data blocks. The exported *.u3d file has an animation that plays one action after the other, but the ArmatureAction.001 is the only one that actually does something.

So this is not a bug, but it is quite confusing behavior indeed. These things were very different in Blender 2.49 and the exporter for Blender 2.5x is still in alpha stage. I will add some features to make it easier to work with actions. Probably there will be an option to define a list of actions that are to be regarded and console output, telling which action has been written to which range of frames. Thanks for the report.
Offline Profile Quote Post Goto Top
 
jasnsathome
Member
[ *  * ]
Thank you very much for the reply. I was not aware of the extra actions I never really looked in the 'datablock' section. I deleted the unused actions and all is well. For anyone else who has this issue try deleting the animations in 'Datablock' instead of the 'scenes' tab. The way to completely delete a resource is to uncheck the 'fake user' tab and set 'users' to 0. then save the blend file and reopen it. Thank you agian for the help.

By the way i figured out that the seem splitting in the middle is caused by mirroring half the uv coordinates and stacking them on top the opposite side. I dont know why this causes a gap but a workaround is to just make a seem instead of mirroring.
Edited by jasnsathome, Nov 12 2010, 02:20 AM.
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply