Giter Club home page Giter Club logo

cmt's People

Contributors

chadmv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmt's Issues

[Macos] compile issue

Cmake could not "find package" - issue was in this lines 34,35 of 'src/CMakeLists.txt'

CMake Error at src/CMakeLists.txt:34 (find_package):
By not providing "FindMaya.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Maya", but
CMake did not find one.

Could not find a package configuration file provided by "Maya" with any of
the following names:

MayaConfig.cmake
maya-config.cmake

Add the installation prefix of "Maya" to CMAKE_PREFIX_PATH or set
"Maya_DIR" to a directory containing one of the above files. If "Maya"
provides a separate development package or SDK, be sure it has been
installed.

and

CMake Error at src/CMakeLists.txt:35 (find_package):
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Eigen3", but
CMake did not find one.

Could not find a package configuration file provided by "Eigen3" with any
of the following names:

Eigen3Config.cmake
eigen3-config.cmake

Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.

cmake version 3.16.2.
Eigen extracted to third-party/Eigen
Maya 2020. All dev environment vars sets up - path of maya, devkitBase (Autodesk link). Examples compiles and works on 2020 (Autodesk link).

Im not pro in cmake configuration... Could you help? What need to dig?

maya 2018

thanks a lot about this project,
i try it in maya 2018.6,
there is some error about pyside2:
from PySide2.QtCore import QStringListModel

and there some plug-in error when run unit test runner :
RuntimeError: Plug-in, "cmt", was not found on MAYA_PLUG_IN_PATH.

i just want try skinning-converter which show in your youtube video
is the maya 2020 required?

error logs:

ERROR: test_create (test_cmt_rbf.RBFTests)

Traceback (most recent call last):
File "D:\github\OpenLight\Maya\Enviroment\modules\cmt\tests\test_cmt_rbf.py", line 12, in test_create
outputs=["{}.s{}".format(loc1, x) for x in "xyz"],
File "D:\github\OpenLight\Maya\Enviroment\modules\cmt\scripts\cmt\rig\rbf.py", line 21, in create
cmds.loadPlugin("cmt", qt=True)
RuntimeError: Plug-in, "cmt", was not found on MAYA_PLUG_IN_PATH.

======================================================================
ERROR: test_create_plot_demo (test_cmt_rbf.RBFTests)

Traceback (most recent call last):
File "D:\github\OpenLight\Maya\Enviroment\modules\cmt\tests\test_cmt_rbf.py", line 35, in test_create_plot_demo
add_neutral_sample=False,
File "D:\github\OpenLight\Maya\Enviroment\modules\cmt\scripts\cmt\rig\rbf.py", line 21, in create
cmds.loadPlugin("cmt", qt=True)
RuntimeError: Plug-in, "cmt", was not found on MAYA_PLUG_IN_PATH.

[CentOS] Invalid initialization of non-const reference of type Eigen::MatrixBase, maya 2019

on CentOs using Eigen 3.3.90 trying to compile for maya 2019, I get an error in linearRegressionSolver.cpp invalid initialization of non-const reference of type ‘Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >&’ from an rvalue of type ‘Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >’

as well as it was giving me error that asLong on MDataHandle is depricated and use asInt instead.

`/romanr/repos/nodes/linearRegressionSolver.cpp: In member function ‘void LinearRegressionSolver::setFeatures(const MatrixXd&, const std::vector<std::vectorAutodesk::Maya::OpenMaya20190000::MQuaternion >&, const MatrixXd&, const std::vector<Eigen::Matrix<double, -1, -1> >&, short int, double, double, SolverSpace)’:
/romanr/repos/nodes/linearRegressionSolver.cpp:112:26: error: invalid initialization of non-const reference of type ‘Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >&’ from an rvalue of type ‘Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >’
applyRbf(rd.block(0, i * 2, sampleCount, 2), rbf_, sampleRadius_[i] * radius_);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /romanr/repos/nodes/linearRegressionSolver.cpp:1:0:
/romanr/repos/nodes/linearRegressionSolver.h:113:6: note: initializing argument 1 of ‘void applyRbf(Eigen::MatrixBase&, short int, double) [with T = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>]’
void applyRbf(Eigen::MatrixBase& m, short rbf, double radius) {
^~~~~~~~

/romanr/repos/nodes/linearRegressionSolver.cpp: In member function ‘Eigen::VectorXd LinearRegressionSolver::solve(const VectorXd&, const std::vectorAutodesk::Maya::OpenMaya20190000::MQuaternion&, Eigen::VectorXd&, Eigen::MatrixXd&)’:

/romanr/repos/nodes/linearRegressionSolver.cpp:178:39: error: invalid initialization of non-const reference of type ‘Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&’ from an rvalue of type ‘Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >’
applyRbf(inputDistance.segment(startIdx, inputQuatCount * 2), rbf_, sampleRadius_[s1]);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /romanr/repos/nodes/linearRegressionSolver.cpp:1:0:
/romanr/repos/nodes/linearRegressionSolver.h:113:6: note: initializing argument 1 of ‘void applyRbf(Eigen::MatrixBase&, short int, double) [with T = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>]’
void applyRbf(Eigen::MatrixBase& m, short rbf, double radius) {
^~~~~~~~
`

[Windows] cl_invalid_context when testing OpenCL-enabled plugin in standalone mode

I've made a test case for my C++ plugin that uses the maya/MOpenCL* libraries. The usage of those OpenCL libraries is similar to your cvWrap plugin.

I can run the test case interactively (from the Maya GUI), and the test passes. However, if I run the test from Maya's standalone interpreter, the entire interpreter crashes with nothing more than the classic "Fatal Error" error. The crash occurs when my plugin invokes the clCreateBuffer command.

Have you been able to run any tests on your cvWrap plug-in, using the standalone mode? I would try, but I'm not sure what's involved with getting cvWrap to run.

Thanks for any thoughts!

Issue with windows build for Maya 2018

Hello,
I've issues building with CMake:

`D:\Dropbox (Siekiera)\maya_scripts\cmt-master3\build.2018>cmake --build . --config Release
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.

rbfNode.cpp
D:\Dropbox (Siekiera)\maya_scripts\cmt-master3\src\rbfNode.cpp(581): error C2039: 'asDouble4': is not a member of 'Autodesk::M
aya::OpenMaya20180000::MDataHandle' [D:\Dropbox (Siekiera)\maya_scripts\cmt-master3\build.2018\src\cmt.vcxproj]
C:\Program Files\Autodesk\Maya2018\include\maya/MDataHandle.h(75): note: see declaration of 'Autodesk::Maya::OpenMaya2018000
0::MDataHandle'
D:\Dropbox (Siekiera)\maya_scripts\cmt-master3\src\rbfNode.cpp(581): error C2530: 'values': references must be initialized [D:
\Dropbox (Siekiera)\maya_scripts\cmt-master3\build.2018\src\cmt.vcxproj]`

Any chance you'd know what I'm doing wrong?
Thanks in advance!
K

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.