PDA

View Full Version : change fov with modifier


Wheiraucher
02-03-2011, 06:29 PM
Hi. I need a modifier that modifies the FOV of the underlying camera. Just like the skew modifier is able to distort the frustrum this modifier should affect just the FOV. I don't think a modifier exists that does that, but would like to know if it is possible somehow.

Would you think there is a way to create such a modifier with maxscript or do I need the sdk?

thanks in advance, David

blake_spector
02-03-2011, 06:43 PM
You could create a custom attribute using the attribute holder and wire that value to the FOV of the camera.

Wheiraucher
02-03-2011, 06:51 PM
You could create a custom attribute using the attribute holder and wire that value to the FOV of the camera.

No, that won't do. I want many references of the same camera with just a different fov on all of them. If I wire a property of an instanced camera all cameras will share the wiring. And in the end all will have the same fov again, but through wiring. that is why I want the change to be modifier based. Modifiers can be different on each reference. So that would take care of the instance/wire problem.

blake_spector
02-03-2011, 06:59 PM
Oh, i see... yea, won't work with referenced cams - true.
Sounds a bit more complicated then, since the FOV is somewhat a value from the base object itself.

JHN
02-05-2011, 06:48 PM
It cannot be done.
I would store all camera's that should be referenced in some array, and loop over all camera's and change all settings you want except fov that you get from the CA on the modifier.
It would be cool if taper would work on a camera, like skew. That would be your solution...

-Johan

CGTalk Moderation
02-05-2011, 06:48 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.