Sunday, April 27, 2008
Inside the Suit
Here's a look at a new project that I worked on with Treanor Brothers Animation for the LG mobile phone Iron Man campaign.
Visit Tony Stark's lab in 3D:
www.insidethesuit.com

Labels: Project News
+ posted by Paul @ 3:39 PM 0 Comments | Links to this post
send this post to a friend: 
 
 
Tuesday, April 22, 2008
Tip of the Week:
Deleting Startup Cameras in Maya
Every now and then, I run into a situation where I want to delete one or more of the startup cameras in my Maya scene (ie: persp, side, front, or top). If you have ever tried this yourself, you've noticed that you get an error message.
Like most things in Maya, if you dive under the hood, you can find a workaround. By default, the startup cameras are "undeletable," but you can turn this attribute on and off. Here's a quick MEL script that I wrote to take care of it. Just select the camera(s) that you want to remove and run the script.
$selectedObjects = `ls -sl` ;
for ($obj in $selectedObjects)
{
camera -e -sc 0 $obj ;
delete $obj
}
One thing to note is that Maya won't ever let you remove all the cameras from a scene. If you delete them all, it will automatically generate a new one. Without it, there would be nothing to show in the viewport.
Enjoy :)
$selectedObjects = `ls -sl` ;
for ($obj in $selectedObjects)
{
camera -e -sc 0 $obj ;
delete $obj
}
Labels: Maya, MEL, Tip of the Week

