Message 1 of 19
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
It seems there is no way in max to convert a old camera in a new Physical Camera...
I have made a script for this:
old_cameras = $Camera* as array old_cameras = (for o in old_cameras where o.baseObject.category == #standard collect o) for old_cam in old_cameras do ( new_camera = Physical_Camera() new_camera.transform = old_cam.transform new_camera.specify_fov = true if old_cam.type == #free then ( new_camera.targeted = false ) else ( new_camera.targeted = true new_camera.target_distance = old_cam.targetDistance ) for prop_name in getPropNames old_cam do ( if hasProperty new_camera prop_name then ( prop_value = getProperty old_cam prop_name setProperty new_camera prop_name prop_value ) ) )
Jens
------------------------------------------------------------------------------------------------------------------
https://github.com/jedie/3dsmax_bugs | https://github.com/jedie/3dsmax_patches
------------------------------------------------------------------------------------------------------------------
https://github.com/jedie/3dsmax_bugs | https://github.com/jedie/3dsmax_patches
Solved! Go to Solution.