View Full Version : SHIFT Tumble
Shady3D 09-24-2008, 08:09 PM hi all
one from the things that i love in ZBrush the camera controls when tumbling when u tumble then press shift it camera will be orthographic and will be in a specific view life front, back, top, and like that any one used Zbrush knows that.
so i was wondering can i do that in maya with mel
|
|
NaughtyNathan
09-25-2008, 09:59 AM
yeah.. click on the view cube! ;)
Shady3D
09-25-2008, 10:31 AM
what a good answer but that's not what i meant
NaughtyNathan
09-25-2008, 11:38 AM
ok... in that case then. no. There is no way (afaik) to do this using normal alt-dragging camera tumbling on a regular perspective camera in MEL. but you could fake it with an ortho cameras by unlocking ortho cameras, turning on "stepped" and changing the step rate to 90 degrees... open up your camera tumble tool settings... You can access most or all of this via MEL if you wanted to.
:nathaN
ewerybody
09-26-2008, 09:12 AM
what is tumbling?!?1
mean snapping to a specific angle when you are near it? like from front, top, side...?
The view cube btw: its pure evil!!! I got it disabled and every time some fool checks in a scene where he clicked on an ortho-view I have to either show the viewcube again and hit persp-mode or show persp-attributes and uncheck orthographic view! I think its just bad bad style to make the "persp"-cam orthographic! :banghead: If the view cube really would use the actual cams (that are in the scene anyway) it would be kind of ok.
But I'm faster with hotbox-stype-space+LMB+left/right/up/down anyway `:]
gashworm
09-26-2008, 10:26 AM
haven't really played with zbrush to understand how the tumbling works but I would imagine this would be posible to achieve with a scripjob set up somehow. Would it not be possible to set up a script job to query the perspective cameras transforms and test for a modifier key after each change.
This is the untested Idea. and could posibly chugg your maya camera a little
global proc perspToOrtho()
{
int $mods = `getModifiers`;
if ($mods & 1)
{
// do something like change from persp camera to ortho camera because shift is pressed. Probably also need to look at the rotation and translation of the camera in relation to the framed object to determine whether its top side or front camera
}
}
scriptJob -attributeChange persp.tx perspToOrtho;
scriptJob -attributeChange persp.ty perspToOrtho;
scriptJob -attributeChange persp.tz perspToOrtho;
CGTalk Moderation
09-26-2008, 10:26 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.