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

Solver UI - Add Enable "Pre-Solve" Checkbox #187

Closed
david-cattermole opened this issue Dec 19, 2020 · 1 comment
Closed

Solver UI - Add Enable "Pre-Solve" Checkbox #187

david-cattermole opened this issue Dec 19, 2020 · 1 comment
Assignees
Labels
enhancement maya tool A user tool inside Maya.
Milestone

Comments

@david-cattermole
Copy link
Owner

Feature

Using the Basic solver tab will run a mmSolverAffects command before solving to validate all the inputs to the solver. A simple term for this would be a "pre-solve".

Many times, users don't "want" this pre-solve to happen because it takes a long time to ensure the inputs are valid.
As a hack, users use the Legacy solver tab, which does not add the mmSolverAffects pre-solve.

To transition users from the (soon to be deprecated) Legacy solver tab to the Basic solver tab, it would be helpful to either A) reduce the time spent in mmSolverAffects, or B) allow users to disable the pre-solve feature, or C) detect automatically when the mmSolverAffects will provide significant benefits and auto-enable it.

Expected behavior:
Users do not need to wait a long time before solving.

Actual behavior:
The solver takes a number of seconds, especially for complex rigs, to pre-solve before starting the actual per-frame solve.

Software Versions

  • mmSolver version: v0.3.10+
  • Maya version: All supported
  • Operating System (OS): All supported
@david-cattermole david-cattermole added enhancement maya tool A user tool inside Maya. labels Dec 19, 2020
@david-cattermole david-cattermole added this to the v0.3.12 milestone Dec 19, 2020
@david-cattermole david-cattermole self-assigned this Dec 19, 2020
david-cattermole added a commit that referenced this issue Jan 23, 2021
Allow the user to turn on/off the Marker/Attribute "used hints".

The default is now to turn this feature off by default.

Issue #187
@david-cattermole
Copy link
Owner Author

A new check box "Evaluate Object Relationships" has now been added to the Basic and Standard solver tabs.

In previous versions of mmSolver v0.3.11 and below, solver "affects" relationships were always calculated.

The feature is turned off by default. For complex solves, the feature can be turned on and will save a lot of time when solving with many Markers. The documentation page for the Basic and Standard solver tabs has also been updated to explain this.

Turning this feature on can slow the solver down by 10 seconds on some scenes - depending on the complexity.
However for very big solves, this feature can save a significant amount of time.

This feature will be released with v0.3.12.

David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement maya tool A user tool inside Maya.
Projects
None yet
Development

No branches or pull requests

1 participant