mayaMatchMoveSolver-v0.3.7
david-cattermole
released this
19 Oct 01:18
·
2741 commits
to master
since this release
Release v0.3.7 with new features to improve performance and stability, and with many bug fixes.
Download the archive file for your operating system and Maya version, and follow the INSTALL.md instructions.
Below is a list of the new features, changes and bug fixes in v0.3.7.
New Features
- (#18) Improved performance of Solver UI update and refreshing (~300% faster).
- (#160) Add "Set Auto" button to Solver UI Rootframe widget, calculating the root frames based on the currently added Markers.
- (#138) Automatically add newly created Markers to active Collection.
- (#77) Print pop-up warning and error messages to the viewport.
- Add Marker and Attribute "status" column displaying if an object is used by the solver or not.
- Add "Attribute Tools > Open Graph Editor" shelf menu, to open the Maya Graph Editor.
- Add "Rename Markers/Bundles" right-click menu option to Object tab in the Solver UI.
- (#123) Allow custom plug-in transform nodes to be used for cameras.
- Add
-withCameraDirectionRatio
flag tomaya.cmds.mmReprojection()
command. - Add output attribute
outCameraDirectionRatio
to themmReprojection
node. - Add documentation to explain how to override the shelf and menus for an individual user, see this page.
- Add missing documentation for "Sort Outliner Nodes" tool, see this page.
- (#146) Beta support for Maya 2018 and 2019 on MacOS.
Changes
- Changed default attributes add to the Solver UI when no attributes are selected in the channel box.
- Scale X, Y and Z attributes added by default.
- (#159) Add restrictions on what type of locator is considered a Bundle (all non-translates must be locked and non-keyable).
- (#153) Changed to short node names in the Solver UI Output Attributes widget.
Bug Fixes
- Fixed incorrect "Attribute Tools" shelf right-click menu, for the "minimal" shelf type.
- Fixed bug stopping Duplicate Markers tool from working correctly.
- Fixed bug in Convert to Screen-Space Transform and Convert to Marker tools, causing small screen-space Y translate offset.
- Fixed bug in deviation calculation that could cause the plug-in to crash Maya.
- (#162) Fixed forward slashes in the GUI for 3DEqualizer "Paste Camera" tool.
- (#161) Fixed incorrect forward slashes in file paths for Maya "Copy Camera" tool.
- (#153) Fixed incorrect node name queries in
mmSolver.api.Attribute
.
Changes for Developers
- Change build directory names, so each OS and Maya version produces a unique build directory name (multiple Maya version builds can happen at once).
- Added functions to API:
mmSolver.api.get_root_frames_from_markers()
mmSolver.api.action_func_is_mmSolverAffects()
mmSolver.api.SolverAffects()
mmSolver.api.Collection.get_attribute_used_hint()
mmSolver.api.Collection.get_attribute_used_hint()
mmSolver.api.Marker.get_used_hint()
mmSolver.api.Marker.set_used_hint()
- Add mmSolver.utils.event module, used for triggering events that happen in the mmSolver API.
- Added triggers when events happen in the API; mmSolver.tools.registerevents:
EVENT_NAME_MARKER_CREATED
EVENT_NAME_BUNDLE_CREATED
EVENT_NAME_COLLECTION_CREATED
EVENT_NAME_COLLECTION_MARKERS_CHANGED
EVENT_NAME_COLLECTION_ATTRS_CHANGED
EVENT_NAME_ATTRIBUTE_STATE_CHANGED
EVENT_NAME_ATTRIBUTE_CONNECTION_CHANGED
EVENT_NAME_NODE_NAME_CHANGED
EVENT_NAME_NODE_DELETED
EVENT_NAME_MEMBERSHIP_CHANGED
- Added command
maya.cmds.mmSolverAffects
to calculate "node affects relationships". - Fixed
SolverStandard
class when calculating root-frames in a non-global way. - Added new root frame solving strategy named
ROOT_FRAME_STRATEGY_FWD_INCREMENT_VALUE
.- The solver strategy will solve 3 frames at a time, moving forward in the list.
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
to[[1, 2, 3], [1, 2, 3, 4, 5, 6], [1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]]
- Fixed
mmSolver.api.SolverTriangulate()
and now no longer breaks. - Added one-liners for building and packaging from scratch.
- By default, the build scripts also create a (.zip or .tar.gz) package ready for release.
- (Windows MSVC) Stop logger macros from producing MSVC warning C4127.
- Add
UNUSED
macro to tell the compiler the variable is not used. - (#152) Reduce the amount of C++ compiler warnings.
Known Issues
- Solving per-frame animated attributes fails on Maya 2017 - it is recommended to use Maya 2018+
- Solver engine can become slow with many attributes.
- New v0.3.0 default values will not be used until a new Collection is created. Delete your previous Collection and create a new Collection using the
Solver UI > File > New Collection
menu item. - The Maya viewport is refreshed during solving to force Maya to evaluate all nodes in the solve. This causes slower performance (e.g. 6 seconds verses 30 seconds), but ensures accurate solver results. Users may wish to turn this feature off in the
Solver UI > Edit > Refresh Viewport
check box. - The test suite fails on 3 different solver tests, due to a deviation that is too high, this is intentional and will be fixed in a future version.
- The test suite fails to run on Maya 2018 with
mayapy
, the cause is unknown. - The
mmSolverType
command raises an error with certain flags on Maya 2016 for an unknown reason. This problem is specific to Maya 2016, the same command works on Maya 2017+.