DW_FitImageToCamera

User avatar
dwigfor
Posts: 395
Joined: 17 Nov 2009, 17:46

DW_FitImageToCamera

Post by dwigfor » 22 May 2013, 20:42

This compound allows you to fit and align an image to the camera's frustum. By adjusting the "Custom Z Depth", it will automatically scale the image and offset it from the camera in z space.

Usage:
*Create a null to hold the "Rig"
*Create a grid with a size set to the resolution you want to use (1920, 1080)
*Parent the grid to a null
*On Rig null, create nonsimulated ICE Tree.
.... Camera -> DW_FitImageToCamera -> Set Data (self._mySRT)->ICE
*On parented image null, create Simulated ICE Tree
.... Get Data (Rig._mySRT) -> Set Data (self.kine.global)->ICE

EDIT: updated Compound Properties
You do not have the required permissions to view the files attached to this post.

User avatar
Firebird
Posts: 80
Joined: 04 Jun 2009, 12:08
Location: Vienna

Re: DW_FitImageToCamera

Post by Firebird » 23 May 2013, 09:58

Hey thats a great little helper.
thanks alot.

Bullit
Moderator
Posts: 2513
Joined: 24 May 2012, 09:44

Re: DW_FitImageToCamera

Post by Bullit » 23 May 2013, 22:28

Thanks.