Max script| Control Camera

Source: Internet
Author: User

Recording control camera part script notation
- The angle brackets <> lines in the feature are all from official documentation -simply refer to the type of the value and the specific usage

targetcamerapos:[-150,100,350]target:[targetobject pos:[0,0,20]isselection:on]--创建目标摄像机 位置  目标点位置 并选中

Characteristics:

$.Fov= -<camera>.curfovFloat  default: 45.0 --Float --Horizontal field of view modification$.fovtype =1\2\3<camera>.fovtypeInteger  default: 1 --integer --horizontal, vertical, diagonal$.orthoprojection = True <camera>.orthoprojectionBoolean  default: false--turn on, if enabled, the camera view looks like a user view$. type #free<camera>. type Name default: #free--Modify the camera type to free--type of camera:--#free-free camera (view can be set in any direction of the target)--#target-target camera (the camera will always align to the view of the target object)$.showcone = On<camera>.showconeBoolean  default: false--Show camera cone Light (pyramid) "conical rays appear in other viewports but do not appear in the camera viewports"$.showhorizon = On<camera>.showhorizonBoolean  default: false--show Horizon "a dark gray line appears in the camera viewport at the horizon level. "$.nearrange0.9<camera>.nearrangeFloat  default: 0.0 --animatable; Alias:near_env_range --atmospheric effects in close range$.farrangeTen<camera>.farrangeFloat  default: 1000.0 --animatable; Alias:far_env_range --atmospheric effects in a long distance range$.clipmanually = on<camera>.clipmanuallyBoolean  default: false--Enables definable clipping planes. --No camera geometry is closer to less than 3 units after manual cut is disabled$.nearclip5.0<camera>.nearclipFloat  Default: 1.0 --animatable, Alias:near_clip --closer to the object than with the near clipping plane is an invisible camera. $.farclip -<camera>.farclipFloat  default: 1000.0 --animatable, Alias:far_clip -objects that are far from the far-cut plane are invisible cameras. $.showranges = on<camera>.showrangesBoolean  default: false--Displays a rectangle in the conical light of the camera that turns yellow in the set of near and far range to be displayed. $.targetdistance = -<camera>.targetdistanceFloat  default: 160.0 --animatable, alias:target_distance --Set a point to use as an invisible target$.mpassenabled = on<camera>.mpassenabledBoolean  default: False --Boolean; multipass_effect_enabled --Enable/disable multi-process camera effects$.mpassrenderperpass = on<camera>.mpassrenderperpassBoolean  default: False --Boolean --Enable/disable rendering process options

Commonly used camera properties are so much, if there is expansion please find the official manual for yourself!

Max script| Control Camera

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.