Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / SDK / Manipulator with MItGeometry as plug slow down while draging
  RSS 2.0 ATOM  

Manipulator with MItGeometry as plug slow down while draging
Rate this thread
 
56158
 
Permlink of this thread  
avatar
  • Total Posts: 2
  • Joined: 29 January 2008 08:19 PM

Hi,

I started from the componentScaleManip.cpp example from the devkit.
In method componentScaleManip::connecToDependNode(), I only changed “MItSurfaceCV” for “MItGeometry” so the scaling can operate on a polygonal mesh.

Then in Maya I use the tool on a polygonal plane with several subdivision on a selection of approximatly 20 to 30 components (ie. vertices).

I notice that while I drag the manipulator, the update is slower and slower.
Indeed while the mouse cursor is smoothly followed by the manipulator screen representation at the begining of a drag, it is not the case anymore after several drag motions in many directions (without button release in the meantime): a lag happens.
Similarly the visual refresh of the manipulator needs a while when releasing the button after a long drag (or an excessively long drag).

The lag appears only with MItGeometry, not with MItSurfaceCV plugs

I observe this phenomenon on 2010, 2011 & 2012 versions of Maya.

Can anyone replicate the problem?
Does anyone have an explanation of the problem and even better a solution?

Thank you

Cheers,

Damien



Replies: 0