Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
var Human_Eye_Fov = 39.598; function Undistort_Viewport() { var ActiveCamera = ccbGetActiveCamera(); ccbSetSceneNodeProperty(ActiveCamera, "FieldOfView_Degrees", Human_Eye_Fov); editorUpdateAllWindows(); } editorRegisterMenuEntry("Undistort_Viewport()", "Undistort Viewport"); Error report: ReferenceError: ccbGetActiveCamera is not defined If this works, the viewport will look really really good. As in correct to the Human Eye. |
||||
|
Ah, yes, you are right. That function doesn't exist in the editor, so that's not possible. Sorry. |
||||
|
"Ah, yes, you are right." Does that mean you will update the viewport FOV on your next update ? Plus the ability to rotate around selected object, that could make Coppercube REALLY AWESOME ! |
|