Y-axis terrain constraint that uses Maya's raytrace api for crowds in the viewport.
Includes test scene up in test/data and visual studio project
I did a smooth deformer that averages vertices based on a paintable vertex weights. Option to keep border edgesat position.Create by "deformer -type smoothDeform" mel, paint in Modify > Paint attributes tool. Option to keep border edges at position. Useful for smoothing animated meshes.
A simple cell noise generator Software/Hardware Renderer 2d Texture node
(Windows 32: python and swig-.dll/.pyd, should run on any maya supporting python).
Has random, grid and heaxgon mode. Cell noise generati
on code is based on
To install put all python files in your plugin directory.
Load cellNoise.py, create texture in Hypershade.
·Has random, grid and heaxgon mode (0, 1, 2).
·If you have cells with jagged edges increase texture size attribute.
Install: Copy ks_LODTextureGUI.mel in you script directory.
and .mll into the plugin directory (i.e. C:\Programs\Autodesk\Maya2008\bin\plug-ins).
Start the GUI by loading the plugin (in the plugin manager).
Scales textures of selected objects in the current viewport (nurbs or polygon objects) down and sets them in the shader to save memory when rendering large scenes.
·Lets you select all objects in or off the current viewport (usefull if you want to reduce textures used in reflection objects off camera). Provides relative (by percent) and absolute scaling (fixed pixel width).
·You can choosee to keep the original image format for LOD textures or convert them to. iff. Creates attributes at texture nodes with file path per LOD.
·Option to automatically restore scene (or selected objects) to full resolution textures.
·Option to remove LOD attributes from scene.
·If texture scaling fails for any reason the file is added to an Error-bin in the Hypershade.
·No support for mentalray textures yet
·if shaders are assigned to different (selected and unselected) objetcs textures get scaled down anyways
To create Texture LODs:
·If you are using a texture directory other than "sourceimages" in your project directory please set it in the workspace (File > Project > Edit Current)
·Make an object selection.
·If you want to add on/off screen objects in current viewport and hit the "Select add off screen objects" or "Select add objects visible in camera" button.
·Select your scale properties and prefered image format, hit the "scale textures down" button.
·Selected objects are automatically assigned to a new display layer to make it easier to reselect them.
To restore to LOD1/full resolution:
·hit "Restore textures (original resolution)" button.
·"Remove LOD Attributes" removes the dynamic attributes from the file nodes but does NOT reset the textures to LOD1 in the file nodes,
it just keeps the current texture.
my public maya plugins.