Message 1 of 3
Displaying MPxSurfaceShape into Viewport 2.0?

Not applicable
06-07-2015
01:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have a custom MPxSurfaceShape (in C++) that displays a simple opengl sphere inthe Draw method. This displays well in the legacy Maya viewport, but not in the Viewport 2.0. I can't find any simple example on internet on how to do it. Would someone have a piece of code for me ?
I tried to look at the apiMeshShape example from Autodesk, but is far too complex for what I need.
Thanks.