Sunday, 28 December 2014

Maya tips 004 - Custom button 002

Create custom button for 4 panel display with preffered camera view and shading

Everytime i open my assignment, the panels always mixed up. So this is to safe time setting up the right camera views i usually work with.

Script is this :

lookThroughModelPanel persp modelPanel1;
modelEditor -edit -displayAppearance smoothShaded -activeOnly false modelPanel1;
modelEditor -e -displayTextures false modelPanel1;

lookThroughModelPanel side modelPanel2;
modelEditor -edit -displayAppearance smoothShaded -activeOnly false modelPanel2;
modelEditor -e -displayTextures false modelPanel2;

lookThroughModelPanel front modelPanel3;
modelEditor -edit -displayAppearance smoothShaded -activeOnly false modelPanel3;
modelEditor -e -displayTextures false modelPanel3;

lookThroughModelPanel shot_cam modelPanel4;
modelEditor -edit -displayAppearance smoothShaded -activeOnly false modelPanel4;

modelEditor -e -displayTextures True modelPanel4;


Panel 11 is Perspective View, All shaded without texture.
Panel 12 is Side View, All shaded without texture.
Panel 13 is Front View, All shaded without texture.
Panel 14 is shot_cam View, All shaded with texture.






No comments:

Post a Comment