CGTalk > Techniques > Compositing and Editing
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 10-31-2012, 12:55 PM   #1
c-r-u-x
Scout
 
c-r-u-x's Avatar
CGSociety Member
portfolio
Chris Offner
3D & VFX Generalist
Chris Offner
Berlin, Germany
 
Join Date: Jun 2012
Posts: 29
Need expression help with matching CG to flickering footage

Hey everyone,

so the scene I'm working on right now is an actress in the foreground getting lit by flickering/changing lights, both in brightness and in colour. The background (and floor in some shots) is completely CG.

How can I match the CG to the flickering/illumination changes in the plate without having to painstakingly animate everything manually?

Is there a way to sample an area of the footage, take the average value of that area for every channel and then look at the changes in value from one frame to the next and apply that difference to the CG background? And how would I go about building a tool like this?

I'm more or less completely inexperienced when it comes to using expressions so far - apart from the most basic stuff. How can I sample the average of an area (that I should be also able to animate so it tracks with the footage, they're all shots with a moving camera) and how can I then make Nuke compare these values from one frame to the next (or to one initial "reference frame")?

It would be awesome if somebody could help me out here.

Cheers,
Chris
__________________
https://vimeo.com/chrisoffner
 
Old 10-31-2012, 01:35 PM   #2
Ephisus
Veteran
 
Ephisus's Avatar
portfolio
Joel Loukus
Baltimore, USA
 
Join Date: May 2005
Posts: 60
What software are you using?
 
Old 10-31-2012, 02:08 PM   #3
c-r-u-x
Scout
 
c-r-u-x's Avatar
CGSociety Member
portfolio
Chris Offner
3D & VFX Generalist
Chris Offner
Berlin, Germany
 
Join Date: Jun 2012
Posts: 29
I'm sorry, I should have mentioned that of course. I'm using Nuke.
__________________
https://vimeo.com/chrisoffner
 
Old 10-31-2012, 11:18 PM   #4
julsVFX
Scholar
 
julsVFX's Avatar
portfolio
Julius I.
Double Negative
London, Germany
 
Join Date: May 2011
Posts: 58
I think what you are looking for is the curve tool
Within that node you can set an area to sample (put that on a spot that flickers in the footage), set it to sample the average intensities and link that data to a grade nodes gain for example.
That way you should get reasonable results with a bit of tweaking.
__________________

 
Old 11-01-2012, 09:46 AM   #5
c-r-u-x
Scout
 
c-r-u-x's Avatar
CGSociety Member
portfolio
Chris Offner
3D & VFX Generalist
Chris Offner
Berlin, Germany
 
Join Date: Jun 2012
Posts: 29
Quote:
Originally Posted by julsVFX
I think what you are looking for is the curve tool
Within that node you can set an area to sample (put that on a spot that flickers in the footage), set it to sample the average intensities and link that data to a grade nodes gain for example.
That way you should get reasonable results with a bit of tweaking.


Perfect, thank you - that was exactly what I was looking for.
__________________
https://vimeo.com/chrisoffner
 
Old 11-01-2012, 09:46 AM   #6
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:55 AM.


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