Hi everybody
Like most people, i started with pyqt to build complex GUI inside maya
but i got confused, why python? why not C++ since pyqt is just a warp
around qt after all, and maya support it.
Also, it should be easier to manager when you write a plugin, right?
Thank for dropping by :D
--
Yes, well, why C++, why not assembly or straight up binary? Now I'm
confused too! :)
Joking aside, in a nutshell I suppose it's a matter of choosing the right
tool for the right job, Python is more prone to rapid prototyping whereas
C++ provides better performance and options. Whether it's easier
Most of the UI's I write are interacting with *other* legacy ui's (whether
authored via mel, Python cmds, or PySide) , or parts of the DAG. If the
only access I had to them was through the c++ api I'd probably shoot myself
:P Having access to PySide (for me) makes the actual interaction part
You don't always immediately get better performance by choosing C++ over
python. It depends specifically on what your application is doing. A UI
that is presenting a bunch of options and buttons to perform API actions in
Maya is most likely going to have zero different between it being written
in
For me, it's been because I've been scaling up in complexity - start out
with the ol make-it-in-mel, then when that became insufficient for what
i was after, to pyqt/pyside. It's also something that's got less
complexity (in a fashion) and less dev environment overhead so
*theoretically* someone