[Maya-Python] Re: python opengl - textured polygon

2013-04-29 Thread Daniel Lindsey
http://download.autodesk.com/global/docs/mayasdk2012/en_us/index.html?url=cpp_ref/basic_shape_8py-example.html,topicNumber=cpp_ref_basic_shape_8py_example_html This one is good as well. On Monday, April 29, 2013 2:04:42 PM UTC-7, Daniel Lindsey wrote: > You are correct, I was mistaken about the c

[Maya-Python] Re: python opengl - textured polygon

2013-04-29 Thread Daniel Lindsey
You are correct, I was mistaken about the class to use. However, here is the example I was talking about. It doesn't talk about texturing, but since you are making a mesh, this should work with a standard shader. http://download.autodesk.com/global/docs/mayasdk2012/en_us/index.html?url=cpp_ref

[Maya-Python] Maya hangs after script fails to execute during playback

2013-04-29 Thread Geoffrey Beatty
Project on GitHub: https://github.com/germantownstudios/AirSketch-Maya Some tests on Vimeo: https://vimeo.com/album/2300835 Continuing work on my project to use a mobile device's motion to draw 3D strokes within Maya. It's basically working, but I have a little glitch that is causing Maya to cra

[Maya-Python] Re: python opengl - textured polygon

2013-04-29 Thread Michał Frątczak
On Monday, April 29, 2013 4:50:33 AM UTC+2, Daniel Lindsey wrote: > You should use the mpxpolygon method I believe it is. And Maya has simple > examples in their example plugin files. Could you be more specific? I couldn't find mpxpolygon class (and any member of similar name) in docs and exampl