PDA

View Full Version : ObjectView like a TearOff Camera


Unaided
03-02-2008, 07:44 PM
*Moderators: Move this post to apropiate section.

I was make a custom dual layout, and always I wanted to put a Camera View on right place of layout. From ViewManager instances was not possible because editing vm.xsivw and set maxInstances = 2 (or more) tuning make which my XSI turn inestable and not redrawing correctly ViewManager.

I try copy the same method used in ViewportControls for TearOff Camera option. This option use a ObjectView panel with specifics parameters. like a lockstatus or displayall turn on.

Well, my problem is which XSi not load my custom layout with ObjectView panel viewing scene camera, but load Object View with Default camera, and shows orthogonal view.


This is the ObjectView section from my custom layout script:

<frame name="objectView" displayname="Tear Off Camera" type="Object View" primary="false" toolbar="own">
<properties>
<view>front</view>
<camera>camera</camera>
<displayall>true</displayall>
<lockstatus>true</lockstatus>
<modifycameras>true</modifycameras>
</properties>
</frame>

Chinny
03-05-2008, 02:52 PM
When you add the object view in edit>layout mode. Right click on it > properties. set the target content to "camera"

I think that is what you are asking for

Chin

Unaided
03-07-2008, 08:32 AM
I set target content to 'camera' how your said, but Object Viewer it is still showing Cameras >Default when I open scene.