Gizmo with shadows/midtones/highlights

Hi everyone.

I want to create a gizmo to add grain based on several parameters AND affecting in different ways to shadows/midtones/highlights. I’m a little lost right now.

I thought that I could use the ColorCorrect as a base and use its "Range" curves (which contains s/m/h) to affect different parts of the image. I guess I should somehow extract the information from the ColorCorrect for every region and use it as 3 mattes to the grain nodes… that’s the theory, but I’m not really sure how to implement
it.

I’m attaching an image with what I think whould be done in theory. In red, I’m marking the parts I’ve no idea how to proceed.
(The Grain nodes work by using the alpha channel, that’s why I’m copying the matte first to the alpha channel).

Any help would be very appreciated.
Many thanks.

Attached Thumbnails

Click image for larger version

Name:	s_m_h.jpg
Views:	N/A
Size:	18.5 KB
ID:	10431
 

free video ( french )

Problem with an easy script

I have written a simple script that adds a TimeOffset node after a Read or a FrameRange node.

Quote:

import os
import nuke

def offsetNode():
sn = nuke.selectedNode()
if sn.Class() == ‘Read’:
fr = int(sn[‘first’].value())
to = nuke.createNode(‘TimeOffset’)
to[‘time_offset’].setValue(-fr)
elif sn.Class() == ‘FrameRange’:
fr = int(sn[‘first_frame’].value())
to = nuke.createNode(‘TimeOffset’)
to[‘time_offset’].setValue(-fr)


This works very nice. But when I try to convert it so I can just select all the nodes I want to have offsets added it dies…

Quote:

import os
import nuke

def offsetNode():
sn = nuke.selectedNodes()
for n in sn:
if n.Class() == ‘Read’:
fr = int(sn[‘first’].value())
to = nuke.createNode(‘TimeOffset’)
to[‘time_offset’].setValue(-fr)
elif n.Class() == ‘FrameRange’:
fr = int(sn[‘first_frame’].value())
to = nuke.createNode(‘TimeOffset’)
to[‘time_offset’].setValue(-fr)


It prints that "list indices must be integers". That I know but where is a list there? I am certain that the solution is super easy I’m just super blind. Any help?

>> Position Pass, ROTATION into nuke.

Hi everyone,

I’d like to make with "expression node" a rotation of a Ppass,
Do you know the maths involved for this ?

Thanks.

Hide menu bar

Hi, is there any way to hide the menu bar???

Thanks.

Changing slider limit…

Hi folks,

I looking to find how to change slider limit into Nuke like Shake. I’m bulding my gizmos would like to change the limite of some slider like Blur limited at 100 px for something else.

And and other thing I would like to change it’s incremention of slider for something more smooth. Thank you for your help!

Cheers!:rollbaby:

Controlling Switch Nodes at render time

Hi, Is there any way to control switch nodes from the write node? I want to output differant flavours (colour etc) of the comp at render time.

Tracking a Mask.

Hello to everyone. Si, this is my first post, i hope you can help me.

Look, i Match tracking a shoot in Pftrack, then export the camera to Cinema 4d, from Cinema 4d render the object that i want to integrate with the footages. From there everything just fine, but when i have to composite in Nuke, appear the problem.

I need to roto some elements in Nuke, and then make that the mask that i create move along with the camera move of the footage. In Eyeon Fusion i can assign the track info to the mask, so i dont need to move the masks every frame.

And the question, Its there any way to used the tracking data to the masks positon?.

Shake expression ??

hi guys,

is there any way to achieve the shake motion with expression script ? if i did inside FFI/flameflinInferno* i just did with two axis node one is the expression and one is more control kinda adjustment.

more clear : – let’s say there is a jet plane coming by into the camera. then i add shake motion– i know it can be done manually, or even i can do inside FFI systems but i just wonder how to do inside Nuke.

thanx for the effort

cheers

RotoPaint Intersecting existing alpha

I am trying to use a rotopaint node to reveal portions of a framestack in my scene, but the object has an existing alpha. I want the rotoshape to intersect the existing alpha, showing only the areas where the existing alpha and the rotoshape overlap, but it seems to be replacing the alpha instead. How do i get it to intersect rather than replace?