Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elbow bending does not work correctly in Blender 3.3.x #154

Closed
chlbrn opened this issue Nov 23, 2022 · 7 comments
Closed

Elbow bending does not work correctly in Blender 3.3.x #154

chlbrn opened this issue Nov 23, 2022 · 7 comments
Assignees

Comments

@chlbrn
Copy link

chlbrn commented Nov 23, 2022

elbowbending
Here is a comparison between genesis 8 female figure in Blender 3.2 and 3.3.
As you can see the elbow doesn't bend correctly.
It is the same file just opened with different Blender version.
It works fine in Blender 3.2 but I think bending related JCMs don't work as intended in Blender 3.3.

Here is the complete description

System Info:
Operating System: Windows 11 pro 22H2
Graphics card: Geforce RTX 2080ti 522.30

Blender Version
3.3.0 and 3.3.1

Daz and Bridge version
Daz 4.20.0.17
Bridge 2022.2 revision 18.42

Exact steps to reproduce the error

  1. Open Daz studio and load genesis 8 basic female figure
  2. Use send to menu to open bridge
  3. Leave everything default only add JCMs to Morphs and check 'Export Morphs' option
  4. Accept all option and wait for exporting
  5. Open Blender 3.3.x and show side tab and in Daz to Blender tab hit Import New Genesis Figure button.
  6. Save file and close Blender
  7. Open Blender and load the file just saved
  8. In pose mode, rotate forearm or use IK to make elbow bend, the incorrect result will appear.

I tried installing the bridge from Daz install manager and manual installation from github, both are the same on my end.
In Blender 3.3, few times it worked but most of the time it just didn't work for me.
However I tied to open that file in Blender 3.2, it worked again. So it has to be an error with Blender 3.3
Any help would be appreciated

@chlbrn
Copy link
Author

chlbrn commented Dec 4, 2022

@danielbui78 Hi Daniel, are you still developing the bridge? Could you please take a look at this problem?
Thanks in advance

@danielbui78
Copy link
Contributor

Yes, I'm looking into. Sorry for delays, thanks for your patience.

@danielbui78 danielbui78 self-assigned this Dec 5, 2022
@danielbui78
Copy link
Contributor

I've been trying to get DazToBlender to break and cause the errors that you have described, but I have not yet been able to do so. I am working on updates including a troubleshooting script but these won't be completed until mid-January. Until then, please double-check the "Auto Run Python Scripts" setting and make sure it is OFF and make sure you are explicitly allowing python scripts to run every time you import instead of permanently turning it on, and make sure you have the JCM morphs present and that they are active and being applied and that the JCM is correctly linked as a driver type "Scripted Expression".

auto run python scripts

verify JCMs are present and active

driver type scripted expression

@chlbrn
Copy link
Author

chlbrn commented Dec 16, 2022

Thanks for your detailed reply. It seems weird to me on my PC. Most of the JCMs are totally working fine for both Blender 3.3 and 3.2 but only elbow and knee bending JCMs don't work very well. I will keep testing and try to find why.

@chlbrn
Copy link
Author

chlbrn commented Dec 26, 2022

@danielbui78 Hi Daniel,
After some trial and error, I found some strange behavior on my end.
In Blender 3.3, shape key: pJCMForeArm_75_L/R and pJCMForeArm_135_L/R doesn't update along with elbow bending.
However, if I double click those shape key value in Object Data Properties tab, it works again.
The problem is that when I close Blender and re-open Blender, those shape key drivers don't update again.
Could you check this?

@chlbrn
Copy link
Author

chlbrn commented Dec 27, 2022

I tried Blender 3.4.1 yesterday. And it gave me the same result as 3.3.x
I found error inside driver editor, here is the error when I just opened file:
DriverError1

and after I updated dependencies it works again:
DriverError2

It shows slow python expression warning but it works as intended. I think by default Blender doesn't update all driver dependencies but I don't know why. Most of the drivers work fine without warning or error. But there are at least 8 drivers are affected(2 for left arm, 2 for right arm, 2 for left leg and 2 for right leg).
Can you verify this? @danielbui78

@chlbrn
Copy link
Author

chlbrn commented Dec 28, 2022

Hi Daniel,
I think I found the cause. After disabling a 3rd party addon called 3D Hair Brush, the shape key drivers work as intended.
Probably there exist some compatibility issues between DTB and 3D Hair Brush. But after all, I am able to make DTB work again.

@chlbrn chlbrn closed this as completed Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants