Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/07/2005 at 07:38, xxxxxxxx wrote:
User Information: Cinema 4D Version: 9.x Platform: Windows ; Mac ; Mac OSX ; Language(s) : C.O.F.F.E.E ;
--------- I can read and set the Aperture and Focal Lenght of a camera object:
APERTURE=cambc->GetFloat(CAMERAOBJECT_APERTURE); FOCUS=cambc->GetFloat(CAMERAOBJECT_FOCUS);
cambc->SetFloat(CAMERAOBJECT_APERTURE,APERTURE); cambc->SetFloat(CAMERAOBJECT_FOCUS,FOCUS);
But, can I set the Field of View? If yes, what is the name of the parameter? And, will the Focal Lenght be automatically adjusted?
Rui Batista
On 27/07/2005 at 11:55, xxxxxxxx wrote:
Aperture sort of determines the FOV as a relation of (height/width)*FOCUS. There is no other way as far as I know.
On 27/07/2005 at 16:06, xxxxxxxx wrote:
The parameter name for the FOV is CAMERAOBJECT_FOV. Setting this (in radians of course) should change the aperture and focus automatically.
-Chris
On 28/07/2005 at 03:29, xxxxxxxx wrote:
Actually, I could only make it work by changing the FOCUS (CAMERAOBJECT_FOCUS). But what matters is that is working. Thank you all