PDA

View Full Version : Back Ortho Camera


ghempton
03-25-2003, 04:30 AM
How do I set up an orthographic camera that displays the back of my model? This has to be really easy, but I'm having troubles figuring it out.

Maya Ayanami
03-25-2003, 04:40 AM
I dont know if this is possible

Emergence
03-25-2003, 04:51 AM
duplicate the front ortho camera and rotate 180 in y.

you may need to move the camera's position to the other side of the model and reset your cliping planes.

-Richard

chk
03-25-2003, 05:43 AM
You can also create a new camera, position it how you like, then go to attributes>orthographic views... and check orthographic.

I've used arbitrary angle orthographic cameras as an easy way of capturing textures for LOD's. I wish there was a way to have the manipulator orient its axes off a camera angle... that way you manipulate easily on planes based off a specific surface rather than in just xyz.

steveblake
03-25-2003, 03:29 PM
I 'think' this mel script will flip whatever ortho camera your in...
(from Jeremy Cantors AnimToolBox.mel)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

global proc flipCam() {
string $currCam = `lookThru -q`;
float $currCamTransX = `getAttr ($currCam + ".tx")`;
float $currCamTransY = `getAttr ($currCam + ".ty")`;
float $currCamTransZ = `getAttr ($currCam + ".tz")`;
float $currCamRotY = `getAttr ($currCam + ".ry")`;
float $currCamRotX = `getAttr ($currCam + ".rx")`;
if (`gmatch $currCam "side*"`)
{
setAttr ($currCam + ".tx") (-1 * $currCamTransX);
float $temp = `getAttr ($currCam + ".ry")`;
if ($temp > 0)
setAttr ($currCam + ".ry") ($currCamRotY - 180);
else
setAttr ($currCam + ".ry") ($currCamRotY + 180);
}
else
if (`gmatch $currCam "front*"`)
{
setAttr ($currCam + ".tz") (-1 * $currCamTransZ);
float $temp = `getAttr ($currCam + ".ry")`;
if ($temp > 0)
setAttr ($currCam + ".ry") ($currCamRotY - 180);
else
setAttr ($currCam + ".ry") ($currCamRotY + 180);
}
else
if (`gmatch $currCam "top*"`)
{
setAttr ($currCam + ".ty") (-1 * $currCamTransY);
float $temp = `getAttr ($currCam + ".rx")`;
if ($temp > 0)
setAttr ($currCam + ".rx") ($currCamRotX - 180);
else
setAttr ($currCam + ".rx") ($currCamRotX + 180); }
}

-------------

try it and see..

:)

webster
03-25-2003, 03:32 PM
In your front view go to "view"-->"predef. bookmarks" --> back"

ghempton
03-25-2003, 11:13 PM
Thanks guys. Webster's way is obviously the easiest. I should have seen that myself.

CGTalk Moderation
01-14-2006, 05:00 PM
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.