Real-time data into Maya

151 views
Skip to first unread message

Kenneth Ibrahim

unread,
Oct 24, 2013, 7:02:07 PM10/24/13
to python_in...@googlegroups.com
Does anyone have any experience reading real-time data from a stream/port into Maya (perhaps MIDI controllers, UDP, etc.) and if so the classes of the API involved? Or is the API not even necessary for this?

Ideally I'd like to read in a proprietary data stream into Maya to control the camera and other objects in the scene and use Python to do it.

Any info would be appreciated. Thx!

--
"God is a metaphor for a mystery that absolutely transcends all human categories of thought. It's as simple as that!" - Joseph Campbell

Justin Israel

unread,
Oct 25, 2013, 2:53:55 AM10/25/13
to python_in...@googlegroups.com

I've just done this using standard library threads and sockets, and then running api calls deferred to the main thread.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAP_aC5azzkCpZGo_ZBAg9V3oPcde2y%2BBXwJVDZfxyKvXKE0-aA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Chad Vernon

unread,
Oct 25, 2013, 4:41:50 PM10/25/13
to python_in...@googlegroups.com
You'll want to check out MPxThreadedDevice which is new in Maya 2014 I believe.

Kenneth Ibrahim

unread,
Oct 25, 2013, 8:15:55 PM10/25/13
to python_in...@googlegroups.com
Thx! I did see mention of that in one of my searches.


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages