View Full Version : Cant find front camera
McKertis 09-11-2005, 07:42 AM I'm getting tired of this stupidity...
When i save my scenes - this is what i get in script editor :
// Warning: Could not find an appropriate startup camera: front. A substitute will be used. //
And when i reload scene - there is side view where front should be. No matter what layout i use, if there is front - it will be side. And it happens each and every time, many times, many scenes...what IS going on here ?
|
|
thinsoldier
09-11-2005, 08:07 AM
this used to happen to me a lot as well, sometimes a re-install would fix it. But once fixed if I opened a scene which was afflicted with the problem, it would return. I wound up tracking down every file I had which did that, export it's contents as obj and re-import them into a new file. Luckily for me I'm just a wanna-be modeler and didn't have any animation so .obj export was fine for me. I would like to think somewhere on highend3d there is a script that addresses this problem.
Digit
09-11-2005, 10:58 AM
I also get this problem but I dont have a solution, Im afraid. I have read another thread on CGtalk on this subject but dont think there was definitive fix for it.
ephemeros
09-11-2005, 09:43 PM
save you scene as *.ma (maya ascii), then make an empty scene, save it also as *.ma and open them with a text editor. copy the lines creating your desired camera into the work scene and save. eg, for copying the top camera from the new scene, copy this lines:
createNode transform -s -n "top";
setAttr ".v" no;
setAttr ".t" -type "double3" 0 100.1 0 ;
setAttr ".r" -type "double3" -89.999999999999986 0 0 ;
createNode camera -s -n "topShape" -p "top";
setAttr -k off ".v" no;
setAttr ".rnd" no;
setAttr ".coi" 100.1;
setAttr ".ow" 30;
setAttr ".imn" -type "string" "top";
setAttr ".den" -type "string" "top_depth";
setAttr ".man" -type "string" "top_mask";
setAttr ".hc" -type "string" "viewSet -t %camera";
setAttr ".o" yes;
don't forget to make a backup first if you're not used to edit maya files, or with mel scripting.
CGTalk Moderation
09-11-2005, 09:43 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.