Adding a right and left custom camera

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 01 January 2004   #1
Adding a right and left custom camera

Is there a way in Maya to change the default camera's so instead of having a side camera, there is a right and left camera at start up.
I can create all this after maya has been run, but I would like these to be default.


Richard Cheek
Personal project : The Goblin Abyss
Old 01 January 2004   #2
they are under View/predefined bookmarks.....put them on your shelf and then add them to your hotbox or a custom marking menu.
Old 01 January 2004   #3
ok...i tried following my advice....and although the bookmarks work....they mess with the camera....

this is what i use....just assign to your hotbox marking menu next to your persp/top/side menus...

it simply mirrors the currently selected orthographic camera....i couldnt get it to function predictably with the perspective camera...which is why it is not in the script.

flip Ortho

string $panel = `getPanel -wf`;
string $camera = `modelPanel -q -camera $panel`;

if ($camera == "top")

float $att = `getAttr top.rx`;

if ($att == -90)
{rotate -pivot 0 0 0 90 0 0 top;}
{rotate -pivot 0 0 0 -90 0 0 top;}

else if ($camera == "front")

float $att = `getAttr front.ry`;

if ($att == 0)
{rotate -pivot 0 0 0 0 180 0 front;}
{rotate -pivot 0 0 0 0 0 0 front;}

else if ($camera == "side")

float $att = `getAttr side.ry`;

if ($att == 90)
{rotate -pivot 0 0 0 0 270 0 side;}
{rotate -pivot 0 0 0 0 90 0 side;}

Old 01 January 2004   #4
Thanks for the reply. I worte a script similar to this, but I was hoping that someone would know how to set up the extra camera as default maya camera. I guess not, but the script seems like a good alternative.


Richard Cheek
Personal project : The Goblin Abyss
Old 01 January 2004   #5
there is a good script on
called SevenCameras.mel or something similar. adds bottom, left and back views to hotbox as well. it might help you.
Old 01 January 2004   #6
Are they all named correctly as well? The biggest problem I found with the predefined bookmarks was that all the extras (back/bottom etc) appear labelled as 'side' in both the viewport and the render globals which can be confusing. I'll try that script out, hopefully it's not an issue with that.

Old 01 January 2006   #7
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:55 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.