FigureSculptor opened this issue on Dec 31, 2012 · 4 posts
FigureSculptor posted Mon, 31 December 2012 at 11:54 AM
The biggest gap in the DAZ Studio to Blender workflow for some time has been that it's very hard to bring poses and animations over. Blender doesn't support the FBX format for licensing reasons and none of the third party FBX importers are ready for prime time, the .obj format doesn't support armatures at all and, for some reason, and none of the other export options can be imported by Blender except Collada. In the past, my Collada exports that included animations wouldn't open, or would open without the pose/animation data. That left you with having to use the very buggy BVH exporter in DAZ Studio and then mapping the two armatures with bone contraints, which was time consuming and a pain and not worth the time - easier just to recreate the pose in Blender.
I've been hoping for this to be fixed for a while, so I periodically try to export animations from DAZ using different file formats and import them into Blender. Lo and behold, with the latest DAZ Studio Beta (combined with the latest Blender trunk, 2.65), it appears that whatever the problem was has been rectified. I don't know if it was a fix on the DAZ Studio side or the Blender side, but it's welcome either way.
I figure not everybody keeps checking this, but a few of you might be interested, so I thought I'd share my discovery.
You can get the latest beta at: http://www.daz3d.com/shop/daz-studio-pro-beta and the latest Blender at http://www.blender.org/download/get-blender/
If you want to export a figure from DAZ Studio to Blender with one or more poses, all you have to do now, is this:
Design your figure and clothings/accessories in DS as normal, but leave in the default position. If you do pose it, you can always get it back to the default pose by zeroing the figure's pose.
Once done, go to the Pose & Animate Tab
Go to the Timeline sub-tab (as opposed to AniMate or AniMate Lite)
Make sure you're at the first frame and add a keyframe
Advance one frame
Pose your character or select a pose from the library
Add a keyframe
Repeat steps 5 - 7 for each pose you want exported
Select File->Export and chose the Collada .dae exporter
Click the "Show Individual Settings" button to display all options.
Make sure the "Animation" checkbox is checked and that "include transformations" is also checked. Select other options as per your needs. Make sure that you're not exporting any morphs, however. Morphs must be baked, or Blender barfs trying to import the file. Never fear - you can import morphs directly into Blender using millighost's dsf-morph script from http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2834649 or by importing a separate file containing the morphed figure and joining the two objects as shape keys.
Open Blender 2.65 and import the .dae file. Make sure you have a timeline pane open. You should have your figure, attached to an armature, and if you skip through the timeline, you'll see all of your poses ready to add to a pose library. The model will still be rotated -90° on the X-axis because Blender and DS use different coordinate systems, and the materials will still be in need of some loving care (too much specularity, transparency maps not working, and no bump/specular/normal maps), but you'll have your poses and those other issues are trivial to fix.
This exact same process works with bringing animations over, however I'm not sure how to "bake" aniblocks from AniMate so that they export properly without having to add a keyframe at every frame first. Non AniMate animations export fine, however.