So I’m getting familiar with x2egg and obj2egg, as this is the most familiar method I can work on. A couple of simple questions that are not in the help file of the exporter (afaik) which I’m curious to ask:
How do you export models with animations as separate files? Something like Ralph model with ralph-run.egg.pz, ralph-walk.egg.pz etc…
If it is possible to export models with a single file including with animation? How do you reference this on the script or code?
I’m not really sure. Does the .x format even support animations? In general, the best bet is to importing models into Blender, where you can use YABEE to export either separately or as one file.
Just load like Actor(“model.egg”) and then reference animations by name, ie. actor.play(“name”).
Wow, I thought this is old information! Of course, Direct X files support animations. Most old, new and established game engines directly supports the X format.
I just converted a .X file Dwarf model with animation to Egg format, works great Here is a short video using of this with pview vid.me/bBvV
I would really like to get a hold of this but I’m still having trouble in using YABEE. There’s no full instructions on how to do it and the samples that comes with the package fails to export and view properly in pview
Just to check: are you using the latest version of YABEE, taken from GitHub? (If you’re using YABEE 13.1, note that it’s an old version, I believe.)
The latest version should be available from the link in the first post of the YABEE thread, under “new versions”–note that the GitHub link seems to be the preferred one.
yes, that’s the one that I tried before and it’s throwing errors or would not load in pview. The simple one works ok but other than that, it fails to export properly.
Looking at the screenshot, you don’t seem to have selected the plant; I believe that YABEE exports only the selected objects. Note that the error indicates that “context.active_object”–which I’m inclined to guess is the object that holds Blender’s currently-selected object–is “None”.
A quick test on my side, using Blender 2.74 and the latest YABEE (I believe), seemed to correctly export and display in PView.
Ok so I finally got to export the dwarf with animations, yay!
The only problem I’m getting is the textures doesn’t get exported. I have to select Bake option instead of Simple to get something going but still it wasn’t exported right because it has 2 textures. Any pointers on how to properly do this?