|04 April 2013||#1|
New York, USA
Join Date: Aug 2005
Attaching object to camera frustrum
I'm trying to attach a plane to the camera frustrum, but I don't see any option in Xpresso to extract the furstrum X and Y positions...
Is there any way to do this?
|04 April 2013||#3|
Join Date: Aug 2002
without having looked into tcastudios example the camera frustrum is a rather vague term
for me. what confuses me most is that you are referring to 2d coordinates, while both the
camera frustrum and the camera itself are actually 3d objects.
cameras are aligned along their z-axis. so if you want to place an object in the local camera
matrix and offset it along the z-axis by the focus distance f for example you have just to
multiply the camera matrix with the vector(0,0,f).
an quick example, i also added some nodes to scale fit the plane into the cameras fov.
Last edited by littledevil : 04 April 2013 at 02:46 PM.
|04 April 2013||#4|
Join Date: Nov 2006
here is my xpresso version of an image plane rig.
You can move the plane in z and the size fits accordingly.
To get the render size/ratio linked to the plane I grabbed a piece of coffee code from the german c4d forum (can`t remember where I got it from).
|04 April 2013||#8|
Join Date: Sep 2003
Thread automatically closed
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.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|