daz3d / DazToBlender

Daz to Blender Bridge
https://www.daz3d.com/daz-to-blender-bridge
Other
201 stars 46 forks source link

Import Pose: What do we do on the DAZ side? #127

Open elizaveta-markova opened 2 years ago

elizaveta-markova commented 2 years ago

What are we supposed to export from DAZ Studio to feed the Import Pose button in Blender? I tried a Pose Preset, but it didn't work. That is, on a fresh stock Genesis 8.1 male in default position, when I click the Import Pose button, he moves very slightly, not to the desired pose, and nothing is added to the pose library. On the other hand, if I pose him in DAZ Studio, Send To Blender, and then Import New Genesis Figure, he is posed correctly in the same pose. (Only with the stock figure, though: morphs break this, but I think that's a known issue.)

danielbui78 commented 2 years ago

When you click the "Import Pose" button, it should have opened a file selection window...

  1. What file are you selecting?
  2. Or is the file selection window not showing?

In the file selection window, if you select and open a DUF pose file from your Daz asset library, the pose should be applied to the your imported Daz figure in Blender. I will make a video to clarify the steps.

windreaver0118 commented 2 years ago

What are we supposed to export from DAZ Studio to feed the Import Pose button in Blender? I tried a Pose Preset, but it didn't work. That is, on a fresh stock Genesis 8.1 male in default position, when I click the Import Pose button, he moves very slightly, not to the desired pose, and nothing is added to the pose library. On the other hand, if I pose him in DAZ Studio, Send To Blender, and then Import New Genesis Figure, he is posed correctly in the same pose. (Only with the stock figure, though: morphs break this, but I think that's a known issue.)

The result of what I tested is that Import Pose can only import a pose duf file from DAZ pose products. It doesn't work for the users' pose preset duf...

danielbui78 commented 2 years ago

Sorry for confusion: Please use duf from the main Daz Content Library and NOT from the user-created content library.

I am looking into issue with loading user-created pose presets.

elizaveta-markova commented 2 years ago

Thanks for this. I see I can in fact import a stock DAZ pose. Of course, if I saved a pose and gave it to you, from your point of view it would be DAZ content rather than user content: I wonder if it would work then? A video would be nice, but I don't think it's needed: just a few words in the readme.

danielbui78 commented 2 years ago

Let me clarify: the problem is not the source of the content (user vs Daz), the problem is that Daz Studio is currently saving out the pose preset file with extra data which is breaking the pose loader code used by the bridge. I'm analyzing the differences in file output and the possible changes over time to the source code. Thank you for your patience.

elizaveta-markova commented 2 years ago

That makes sense. Thanks again.

windreaver0118 commented 2 years ago

Let me clarify: the problem is not the source of the content (user vs Daz), the problem is that Daz Studio is currently saving out the pose preset file with extra data which is breaking the pose loader code used by the bridge. I'm analyzing the differences in file output and the possible changes over time to the source code. Thank you for your patience.

Great! Many thanks!