Daz to Blender Update 2.0
Richard Haseltine
Posts: 100,791
This week Daz released an update to the Daz to Blender Bridges. Here are the items in the update. Enjoy!
- Animations will now export out of Daz to Blender
- Fix import issues of the skeleton from Daz to Blender
- Rotations
- Rotation Order
- Updated Morph Exporting Setup
- Now Has Presets
- All Morphs for the characters can be chosen
- Can Choose Morphs from Window
- Support for Blender Versions 2.90 and 2.91
Comments
There is error when importing 8.1 figure
line 179, in bodyTexture
NodeArrange.toNodeArrange(ROOT)
UnboundLocalError: local variable 'ROOT' referenced before assignment
Right now 8.1 is not supported in Daz to Blender thank you for sharing the info we will look into it. You can also add your issue on our Github - Blender Issues, So if anyone in the community has an idea before we get to it.
Hi Folks,
I'm making use of the latest bridge to see how well it imports figures into Blender. I don't think I'm using it incorrectly and to get it to behave I had to make some alterations to one of the files. Below is a decription of a few issues I've had. Sorry it's a bit long-winded and hopefully there is a simpler solution than the one described below.
Andy
----
My configuration is:
Issue 1
If I don't specify any pJCM morphs in the DAZ Script dialog Daz to Blender: Morph Names, no joint morphs are exported to Blender. This results in the figure mesh being the wrong shape around the joints if the figure is exported in a posed position. This also happens to default-posed figures posed in Blender.
So I went back into DAZ and exported the figure with every pJCM morph available in the Daz to Blender: Morph Names dialog. This was an improvement.
Issue 2
Having solved issue 1, there are parts of the mesh that are wrong. For example, if I export the G8F figure using 2 poses (one being the mirror of the other), one pose will have the right elbow correctly shaped, whilst in the mirror pose the left elbow is not.
I know Blender uses drivers to tie bones to shapekeys, so I went looking through Blender looking for the drivers. The shapekey for the left elbow was not being applied as the formula was wrong. I then looked at some other drivers and noticed issues. These are:
I went digging through the bridge files and found Database.py in AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\DTB. The two sections of interest are tbl_mdrive_g3 and tbl_mdrive. These tables set up the drivers and the properties in these tables backed up what I waas seeing in Blender, so if I was to fix the issues I was seeing, it would be here.
The Solution
Two tables have been modified. Below is a snapshot of the changes I've made. I should note that, I don't know what happens with characters beyond G3F and G8F base figures or to clothing.
Awesome thanks for sharing this! You can also push requests directly to our GitHub for edits you made for the code. We would of course test it out first but, that way I wouldn't miss this awesome work you did.
https://github.com/daz3d/DazToBlender/tree/develop
Hi Sam,
That's done. https://github.com/daz3d/DazToBlender/issues/14. I've also pasted an example image of the feet - one foot demonstrating the issue and the other foot with the fix to rFoot. I keep on thinking this is an issue with my installation, but I have checked the version in Blender and the installation date of the dsa file in Daz and everything looks perfectly fine. Hopefully testing will confirm the issue. The feet bones are obvious as are the shoulder/collar bones.
On a different note concerning Richards original note for this thread, he stated that the rotation and rotation orders had been changed. I assume he is talking about the bone rotation axis on the joints. Is it safe to assume that in 2.1.0 onwards that these will no longer change - essentially locked for future releases? I ask because one idea I had was creating a Blender file to hold just poses with one base figure to ensure those poses work correctly. Then you would import your characters using the Bridge in another file and link/append any poses you want from the poses file. I think that would improve the management of various resources in Blender. However if I created such a library file with 2.1.0 and then the next release of the Bridge changed the bones rotation axis, that would probably be a breaking change and invalidate the poses file used against new characters.
I've also had issues with trying to use animation keyframes as a means of export poses en masse. On import into Blender I haven't seen a correctly posed figure yet. For now I am assuming user error!
Andy
Blender 2.91
Daz to bridge v2.1
Issues:1, No control rig for IK/FK in imported character g3/g8
Issue:2, after rigify, While Posing Limbs have strage limitations, They wont rotate in corect directions
How to fix that.......