can I link a card to a cameras movement ?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  03 March 2010
can I link a card to a cameras movement ?

is it possable to link a card to a cameras movement in nuke. I have some CG footage I want to aways be infront of the camera. I'm only just starting out with nuke so sorry if its a very simple thing.
__________________
My Battersea power station project http://forums.cgsociety.org/showthr...p?f=43&t=666794

My Website
 
  03 March 2010
in short...what you have to do is, connect the camera's transform and rotate values with the card. that makes it constrained to the camera's motion basically.
after that also connect the camera's focal lenght and horizontal aperture to the same attributes on the card.
you then can control how far away you want the imageplane from the cam with the z-knob on the card.

that's how i would do it


cheers
c.
 
  03 March 2010
Thank you

Thanks Christopher I will give that a go
__________________
My Battersea power station project http://forums.cgsociety.org/showthr...p?f=43&t=666794

My Website
 
  03 March 2010
Just put a transform Geo on your card. Then drag the "axis" input into your camera.

set cut_paste_input [stack 0]
version 5.2300
push $cut_paste_input
Camera2 {
 rot_order ZYX
 rotate {10 0 0}
 name Camera1
 selected true
 xpos 212
 ypos -45
}
set N125b2b90 [stack 0]
Card2 {
 inputs 0
 control_points {3 3 3 6 

1 {-0.5 -0.5 0} 0 {0.166667 0 0} 0 {0 0 0} 0 {0 0.166667 0} 0 {0 0 0} 0 {0 0 0} 
1 {0 -0.5 0} 0 {0.166667 0 0} 0 {-0.166667 0 0} 0 {0 0.166667 0} 0 {0 0 0} 0 {0.5 0 0} 
1 {0.5 -0.5 0} 0 {0 0 0} 0 {-0.166667 0 0} 0 {0 0.166667 0} 0 {0 0 0} 0 {1 0 0} 
1 {-0.5 0 0} 0 {0.166667 0 0} 0 {0 0 0} 0 {0 0.166667 0} 0 {0 -0.166667 0} 0 {0 0.5 0} 
1 {0 0 0} 0 {0.166667 0 0} 0 {-0.166667 0 0} 0 {0 0.166667 0} 0 {0 -0.166667 0} 0 {0.5 0.5 0} 
1 {0.5 0 0} 0 {0 0 0} 0 {-0.166667 0 0} 0 {0 0.166667 0} 0 {0 -0.166667 0} 0 {1 0.5 0} 
1 {-0.5 0.5 0} 0 {0.166667 0 0} 0 {0 0 0} 0 {0 0 0} 0 {0 -0.166667 0} 0 {0 1 0} 
1 {0 0.5 0} 0 {0.166667 0 0} 0 {-0.166667 0 0} 0 {0 0 0} 0 {0 -0.166667 0} 0 {0.5 1 0} 
1 {0.5 0.5 0} 0 {0 0 0} 0 {-0.166667 0 0} 0 {0 0 0} 0 {0 -0.166667 0} 0 {1 1 0} }
 name Card1
 selected true
 xpos 33
 ypos -126
}
TransformGeo {
 inputs 2
 translate {0 0 -1}
 name TransformGeo1
 selected true
 xpos 33
 ypos -23
}
push $N125b2b90
Scene {
 inputs 2
 name Scene1
 selected true
 xpos 55
 ypos 32
}
 
  03 March 2010
damn...i knew there was a slightly easier way . thanks!


c.
 
  03 March 2010
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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 03:13 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.