ホームLastNewsICE › カメラのAutoZoomコンパウンド

www.si-community.com • View topic - "AutoZoom", Camera compound

カメラのAutoZoomコンパウンド

Land-Y
投稿者: Land-Y | 投稿日時: 2011-12-28 18:25
タグ: , , , , ,

http://www.si-community.com/community/viewtopic.php?f=19&p=14080

AutoZoom

Si-communityより

カメラのオートズームです。
コンパウンドをダウンロード後

Nullを取り出してコンパウンド適応。
カメラをつないでパラメーターを弄ります。

詳しくはヘルプと記事参照。 

AutoZoom Help 

 


 

start frame

This is the frame at which the auto-zoom control is reset. It's only really needed when "smoothness" is used (see below). By default, this is automatically set to the current scene's start frame, but can be overriden if needed.

weight

The strength of the overall effect. When this is 1, the camera FOV is fully controlled by the compound. When set to 0, the fov is set to the value of the "fallback fov" parameter (see below). In-between values blend between the two.

This is useful in case you only need auto-zoom for certain parts of the scene. Animating this value lets you gradually blend in and out of the auto zoom functionality.


fallback fov

This is the camera FOV to gradually "fall back" to when "weight" is less than 1.

Note :

Since the Camera FOV parameter is constantly being written to by this compound, if you want to manually set or animate the FOV while using this compound (in order to blend between auto and manual zoom), you should set or animate "fallback fov" instead of the camera's actual FOV directly.

smoothness

When this is set to 0, zooming works instantly. But in this case, if the motion of the target geometry is too sudden or otherwise extreme, instant zooming can look really bad. A higher smoothness value will make the zooming, ehm... what's the word... ah yes, smoother. It should help ease out any sudden changes.

Good values are usually between 10 and 30, but you can use less or more if needed.

zoom to fit

Determines what the camera will zoom to.

  • Geometry : the camera will auto zoom to the connected mesh object(s).
  • Bounding Box : the camera will zoom to a "virtual" bounding box defined by the "BBox min" and "BBox max" coordinates (see below).



fit mode

The frame boundaries for the auto zoom operation.

  • Vertical : the camera will zoom to fit the selected target(s) vertically.
  • Horizontal : the camera will zoom to fit the selected target(s) - surprise, surprise - horizontally.
  • Full (Auto) : the camera will adapt to whatever angle (horizontal or vertical) is wider, so that no part of the zoom target is ever out of frame in any axis.



offset type

This is an added offset, or adjustment, to the calculated angle.

  • None : this is a magical setting, that applies no offset to the calculated FOV. Don't try to figure out how it's done - it's patented.
  • Action Safe : sets the frame boundaries to the camera's Action Safe region. The camera will zoom until the target(s) fit this region.
  • Title Safe : this is the same as "Action Safe", but for a different frame region. I 'll let you guess which one.

    (s ı s, :su)

  • Manual (%) : adjusts the FOV to a percentage of the calculated angle. At 100% it's the same as having no offset. In effect, changing this to under or over 100% tightens or widens the shot respectively.
  • Manual (+/-) : this is similar to "Manual (%)", but instead of adjusting to a percentage of, it adds to (or subtracts from) the calculated angle. A setting of 10 adds 10 degrees to the FOV (wider), -10 subtracts 10 degrees (tighter), etc.



manual offset

This value is the setting used when one of the two "Manual" offset modes is activated. When using "Manual (%)", this represents the percentage of the calculated FOV. When using "Manual (+/-)", this is the absolute value (in degrees) to add to the caculated FOV angle.



limit mode

In many situations, the calculated zoom could result in extreme (and unrealistic in every way) angles, like 1 or even 0 degrees, or a full 180. This setting optionally limits the resulting angle between "min FOV" and "max FOV" values (see below).

  • Offset first then limit : this does what it says (no... really ?). First it applies the selected offset (if any), then limits the resulting angle between the min/max values. This is the safest and recommended mode.
  • Limit first then offset : this does the opposite. First it limits the calculated FOV between the min/max values, then adds the selected offset (if any) on top of that. This should be used carefully, since it can result in extreme (and ugly) values like ...0, or even >180.
  • No limits : this is another mysterious setting that somehow applies no limits to the calculated angle (another patent pending on the code for that). Again, use with care, ugly extreme values are lurking.



min FOV / max FOV

These are the min/max values for the Limit setting.



BBox min / BBox max

These are the coordinates of the min / max points of a "virtual" bounding box.

Only used when "zoom to fit" is set to "Bounding Box". Really, I 'm not kidding.







Notes :

  • Remember, this compound does not direct the camera to the target, it only zooms to it . You will most probably want to use it in conjuction with a camera direction constraint, pointing at the same object(s) that the compound will zoom to.
  • When using "smoothness" (and most of the time you probably will be), make sure you plot the camera's actual FOV parameter before network-, motion-blurred, or non-sequential rendering. Because of the somewhat dynamic nature of the smoothness effect, jumping forwards and backwards in the timeline will not work (that's why the "start frame" parameter is there; it resets the zooming at the start of the scene).
  • When using this compound, you should no longer set or animate the camera FOV "Angle" parameter directly . Instead, if needed, you should set or animate the "fallback fov" parameter of the compound . One reason to do that is to be able to gradually transition from auto-zooming to manually controlled FOV (and vice-versa) using the "weight"parameter.
  • Always use this compound in a null's ICE tree, never in an ICE tree on the camera itself . For some reason it doesn't work properly (might have something to do with how Softimage / ICE evaluates things).
  • While using this compound, if you have the controlled camera selected and play back the scene, again it will not work right. And again I suspect evaluation order issues. Just remember to not have the auto-zoomed camera selected when previewing .



Questions, comments, suggestions, etc, all welcome. Shoot them this way :

nixx (some symbol) animatethis (a different symbol) gr

- nick 

NewsTag

ホーム ニュース フォーラム UserBlog 道場Wiki
Powered by XOOPS Cube Legacy 2.1.7 2001-2009 XOOPS Cube Project
cvELD.net project [ Softimage & XSI道場 ] since 2004 1/1