Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Maya API   (RSS)

Temple scene with Maya Fluids, Particle Dynamics and Realflow Meshes

Here is a brief demonstration of Maya fluids, particle dynamics and Nurbs combined together to create an early morning Temple scene effect. The light source is being animated with soft body particle dynamics, while the smoke emitting from sticks is typical

Maya 2010 to include Compositing and Camera Tracking Tools

Autodesk, as usual, announced its next version of Maya at Siggraph. The interesting part, however, is the range of tools planned to be shipped as part of it: Maya Composite high dynamic range compositing system Matchmoving camera tracking system Additional

Displaying the currently selected components with MSelectionList

The MGlobal::getActiveSelectionList() offers a convenient way of accessing the currently selected objects in the view. However, if you wish to find the selected components then you need to use the MSelectionList's getDagPath() method. It returns the dagPath

How to find the Shading Groups for a Shape node in Maya API?

Given the DagPath for any Mesh object, listing the Shading Groups connected to it is easy. The MFnMesh::getConnectedSetsAndMembers() will do the trick as shown below: MStatus ListShadingGroups(const MDagPath& inputShapeDagPath) { if(inputShapeDagPath.hasFn(MFn::kMesh))
 
Page view tracker