tyPreview Overlay MAXScript - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: Feature Requests (https://forum.tyflow.com/forum-4.html) +--- Thread: tyPreview Overlay MAXScript (/thread-2571.html) |
tyPreview Overlay MAXScript - Moe - 08-10-2021 Hello there I would like to suggest the possibility to constantly evaluate/calculate a variable in the overlay MAXScript string. For example, I want to add the the lens focal length ("mycamera.curFov"), it works, but when I got an animated focal length the string get stuck on the first value Thanks you. RE: tyPreview Overlay MAXScript - tyFlow - 08-11-2021 The MAXScript overlay does execute every frame and I just tried it now on a test scene with a camera that has an animated FOV and the tyPreview overlay updated without issue. What's the exact script that you're using? RE: tyPreview Overlay MAXScript - Moe - 08-11-2021 Sorry you are right the MAXScript overlay work properly with normal cameras. In my case, I'm using typreview through MAXScript and scene with xref camera. For example, I have this simple script : Code: fn preview = With this configuration the fov doesn't seem to update. Maybe a limitation du to xref cameras :/ RE: tyPreview Overlay MAXScript - tyFlow - 08-11-2021 Hmm yes that seems like it could be an xref limitation....do you have the same issue with the MAXScript overlay of the legacy preview tool? RE: tyPreview Overlay MAXScript - Moe - 08-11-2021 We are still using max 2019 at work so we don't have the preview overlay but I tried "(getActiveCamera()).fov" in the MXS snippet on max 2020 and it works (even with xref cameras). |