camera - Setting FOV in Maxscript -


i new mascript , autodesk - have simple script, places camera , want change fov, horizontally , vertically.

i using example provided max-script documentation, , script looks following:

rgb_cam = freecamera name: "foo"  position:[0,0,0] rgb_cam.fov float default: 45.0 

the second command gives me error:

-- type error: call needs function or class, got: 45.0 -- maxscript callstack: --  thread data: threadid:8848 --  ------------------------------------------------------ --  [stack level: 0] --  in top-level 

so guess, way function called wrong, documentation said so. lastly, change horizontal fov, not vertical 1 - how can change via maxscript?

i using autodesk 3ds max 2018 - student version

you have assign value fov parameter, this:

rgb_cam = freecamera name: "foo"  position:[0,0,0] rgb_cam.fov = 33.0 

what documentation telling fov defaults 45 , float value, line not valid piece of code.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -