|
|
|
Tell us what you think of the site.
|
Autodesk Media & Entertainment User Community
|
Autodesk® 3ds Max®
|
|
Autodesk® Maya®
|
|
Autodesk® Softimage®
|
|
Autodesk® MotionBuilder®
|
|
Autodesk® Mudbox™
|
|
Autodesk® ImageModeler™
|
|
Autodesk® Sketchbook® Pro
|
|
Autodesk® Smoke on Mac®
|
| Changing default camera clip settings of Producer Perspective camera?
|
|
|
We are working in a fairly large scale with our assets.
Because of this, each time I open my environment in motionbuilder, I must change the Far Plane option for the Producer Perspective camera (default = 4000 / My Settings = 40000) in order to see the entire set.
I can certainly create my own camera with the larger far clip plane but was wondering if there was a way - through the interface, through hacking a config file, or through a script - to permanently change the clip settings for the default mobu perspective camera.
Thanks.
|
|
|
|
hello,
If you save your scene with the new Far Plane setting for the Producer Prospective Camera, it will load each time you open the file.
hope this helps.
Kelly
MotionBuilder QA
|
|
|
|
Kelly,
Thanks for the reply and suggestion.
Unfortunately, that doesn’t seem to work for me. I change the far clip plane on the producer perspective camera each time I open my scene (from 4000 to 40000) and save the scene with these settings. But, upon re-opening the scene, the producer perspective camera’s far clip plane settings are, once again, at their default of 4000.
Any thoughts?
Thanks.
|
|
|
|
You can unzip and copy the attached python script into your PythonStartup folder to accomplish this.
The default WIN32 location is C:\Program Files\Autodesk\MotionBuilder 2009\bin\config\PythonStartup
from pyfbsdk import *
lScene = FBSystem().Scene
lSceneCameras = lScene.Cameras for lSceneCamera in lSceneCameras:
if lSceneCamera.Name == "Producer Perspective":
lSceneCamera.FarPlaneDistance = 40000.0
It should then run this script each time you launch.
Let me know if there are any problems.
Thanks!
|
|
|
|
Raitch,
Thanks for your reply and for your script.
I installed it and it does solve the far-clipping plane issue each time I first open motionbuilder.
But because the script only works on start up, I am still getting the same clipping plane issue each time I open my files.
It doesn’t seem to matter that I save them with the larger far clipping plane, re-opening them always seems to get me the default far clip plane value.
Any other ideas?
Thanks.
|
|
|
|
I just tried opening a new file, setting the clipping plane and then reopening. It seems to work for me.
Two questions… when you save are you saving with base cameras checked on? And then when you open are you opening with base cameras checked on?
|
|
|
|
|
|