Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Specifically I need to change the Vertical Lens Shift at certain points in time. I have found that I can read the current settings like this:
MaxSDK::IPhysicalCamera* physical_camera = dynamic_cast<MaxSDK::IPhysicalCamera*>(camera_inode->EvalWorldState(0).obj);
for (int frame{ 0 }; frame < 20; ++frame) {
Interval I;
Point2 const P{ physical_camera->GetFilmPlaneOffset(frame * ticks_per_frame, I) };
// P.y contains the value I want to change on the camera
}
... but there is no "SetFilmPlaneOffset" method in the IPhysicalCamera class, and I can't figure out how to change this or any camera setting.
If anyone can point me in the right direction, that would be very helpful!
Solved! Go to Solution.