Re: [Nuke-users] Removing light flicker

2014-04-28 Thread Falko Paeper
You can also try the curvetools IntensityData to compensate flicker  
when you use it in combination with a grade node. After tracking a  
flickering area with the curveTool, use the following expression in  
the grades whitepoint for every single color channel:


CurveTool1.intensitydata

and in the grades gain:

CurveTool1.intensitydata(100)

while 100 is the frame you want to stabilize to


best,

Falko

Zitat von Gary Jaeger g...@corestudio.com:


Magno-
have you tried Re:Vision De:Flicker?

http://www.revisionfx.com/products/deflicker/

On Apr 26, 2014, at 1:42 PM, Magno Borgo li...@borgo.tv wrote:

Hi! Looking for tips and tricks on removing light flicker from stop  
motion/timelapse animation in post, any leads?

Nuke preferably, but also open to plugins and other options.

Thanks in advance.


--
Magno Borgo
Certified Nuke Trainer
www.boundaryvfx.com
www.borgo.tv
Brasil:Curitiba:GMT= -3
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Gary Jaeger // Core Studio
249 Princeton Avenue
Half Moon Bay, CA 94019
650 728 7060
http://corestudio.com






__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Re: [Nuke-users] ZDefocus buggy?

2014-02-07 Thread Falko Paeper

Thank you guys for the reply!

I double checked the sequence again and there where no NaNs what so  
ever. Guess I'll hope they had that fixed in newer versions.


Thanks!

Falko


Zitat von Doug Wilkinson d...@buck.tv:


Yea i've noticed this with zdefocus. i don't think that clamping fixed this
issue.


On Tue, Feb 4, 2014 at 6:50 PM, Frank Rueter fr...@beingfrank.info wrote:


 I have had this with an earlier version of ZDefocus but not recently.
Checking for NaNs is definitely a good idea.



On 05/02/14 15:27, Ryan O'Phelan wrote:

Any chance there are NANs in the renders?
Mental Ray?

R
On Feb 4, 2014 10:23 AM, Falko Paeper falko.pae...@filmakademie.de
wrote:


Hi Nukers,

has anyone of you guys ever got wierd artifacts (infinite color values)
or unstable comps using ZDefocus?

It happened twice now in two different companies with two different
projects and two different version of nuke (NukeX 7.0v6  NUKEX 7.0v9).

It appears on random frames (in a sequence of 300 frames on 2 or 3) and
(I think) only when the focus plane is animated and/or when I use multiple
ZDefocus Nodes in the same comp. Also the comp gets highly unstable and
crashes by only clicking on the ZDefocus node. In both cases the depth pass
was rendered with sitoa to EXR with the depth info stored in Alpha but I
doubt thats part of the issue since I checked the data and its all normal
(no broken pixels or unusual values).

The thing is, I can get rid of the issue by either disable automatic
layer spacing or shuffle the depthpass into another channel then depth?
But that only helps for one frame and it then will certainly appaers on a
another random frame. At least I can somehow fix it but its still pretty
annoying. Anyone with similar experiences or work arounds?

cheers

Falko

__
Falko Paeper

falko.pae...@filmakademie.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg | Germany

__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users




___
Nuke-users mailing listnuke-us...@support.thefoundry.co.uk,  
http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users




___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users







__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


[Nuke-users] ZDefocus buggy?

2014-02-04 Thread Falko Paeper

Hi Nukers,

has anyone of you guys ever got wierd artifacts (infinite color  
values) or unstable comps using ZDefocus?


It happened twice now in two different companies with two different  
projects and two different version of nuke (NukeX 7.0v6  NUKEX 7.0v9).


It appears on random frames (in a sequence of 300 frames on 2 or 3)  
and (I think) only when the focus plane is animated and/or when I use  
multiple ZDefocus Nodes in the same comp. Also the comp gets highly  
unstable and crashes by only clicking on the ZDefocus node. In both  
cases the depth pass was rendered with sitoa to EXR with the depth  
info stored in Alpha but I doubt thats part of the issue since I  
checked the data and its all normal (no broken pixels or unusual  
values).


The thing is, I can get rid of the issue by either disable automatic  
layer spacing or shuffle the depthpass into another channel then  
depth? But that only helps for one frame and it then will certainly  
appaers on a another random frame. At least I can somehow fix it but  
its still pretty annoying. Anyone with similar experiences or work  
arounds?


cheers

Falko

__
Falko Paeper

falko.pae...@filmakademie.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg | Germany

__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Re: [Nuke-users] PointPositionPass - 3DVectorFieldLUT MASKING

2013-08-01 Thread Falko Paeper

Hey Vinny!

couldnt open that video file. Could you upload it again or just bring  
it upstairs ;).


lg falko

Zitat von Vincent Langer vincent.lan...@filmakademie.de:


sorry for the confusion.

here is a little video that shows what the current small WIP python  
script is doing:


www.vincentlanger.com/3dLut_PointPositionMask.mp4


basically all it does is to write the current alpha value to the  
corresponding xyz point data directly into a .vf vectorfield textfile.


so you get some kind of fake fast projection.

cheers,
Vincent


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users





__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Re: [Nuke-users] layered projection on merged geo

2013-07-22 Thread Falko Paeper
Have you tried to increase the samples in the ScanlineRender node to  
get rid of the artifacts?


Zitat von Michael Garrett michaeld...@gmail.com:


Actually, I'm still getting some minor artefacts using this method,
for whatever reason, with this particular geometryas opposed to
projecting across the merged geo. But once you add motion blur, it's
fine so I'll deal with it.


On 19 July 2013 15:27, Michael Garrett michaeld...@gmail.com wrote:

Thanks for the responses...Falko, your example seems to work, great! I
think it's counter intuitive to need to apply the MergeMat to each
separate piece of geo upstream of the MergeGeo or Scene node and I was
concerned there may be some artifacts doing it that way...but it works
which is what counts.

Michael




On 19 July 2013 13:54, Ari Rubenstein a...@curvstudios.com wrote:

Not sure what Falco suggested since I'm away from computer, but...

What about using an add channel node after your project3D shader,  
shuffle into this newly added channel, then place an apply  
material node for this after the mergeGeo ? (Not certain of this  
but seems feasible)


Ari
Blue Sky

Sent from my iPhone

On Jul 19, 2013, at 1:17 PM, Falko Paeper  
falko.pae...@filmakademie.de wrote:



You mean something like this?

set cut_paste_input [stack 0]
version 7.0 v8
Camera2 {
inputs 0
translate {-4.029312134 1.01058495 0.2428448796}
rotate {-11.9046 -90.3295517 -4.773383466e-008}
name Camera2
selected true
xpos 706
ypos -476
}
set Nd0009e50 [stack 0]
push $Nd0009e50
push $cut_paste_input
Camera2 {
translate {-1.36818707 0.9573410749 1.405868173}
rotate {-27.13930075 -46.7732 2.767881227}
name Camera1
selected true
xpos 699
ypos -714
}
Constant {
inputs 0
channels rgb
color {0 1 0 0}
name Constant4
selected true
xpos 571
ypos -849
}
Project3D {
inputs 2
name Project3D1
selected true
xpos 571
ypos -681
}
set Ncfc8a620 [stack 0]
Constant {
inputs 0
channels rgb
color {1 0 0 1}
name Constant3
selected true
xpos 782
ypos -825
}
MergeMat {
inputs 2
name MergeMat2
selected true
xpos 769
ypos -622
}
Cube {
name Cube2
selected true
xpos 769
ypos -585
}
push $Ncfc8a620
Constant {
inputs 0
channels rgb
color {0 0 1 1}
name Constant2
selected true
xpos 377
ypos -836
}
MergeMat {
inputs 2
name MergeMat3
selected true
xpos 377
ypos -657
}
Cube {
translate {0.129952 0.187936 0.805943}
name Cube1
selected true
xpos 377
ypos -561
}
MergeGeo {
inputs 2
name MergeGeo1
selected true
xpos 491
ypos -507
}
Scene {
inputs 2
name Scene1
selected true
xpos 494
ypos -462
}
push 0
ScanlineRender {
inputs 3
motion_vectors_type distance
name ScanlineRender1
selected true
xpos 484
ypos -321
}



Zitat von Michael Garrett michaeld...@gmail.com:


I want to layer a projection across individually textured merged geo.
I find this scenario extremely useful for adding touch-up projections
in areas where geo is overlapping and you want to create a blend area
because the texture looks nasty at the overlapping area.

I'm not sure if I'm having a brain fog today or if this is something
that really hasn't come up for me before in Nuke, but the only way I
can see to do this right now is to have two ScanlineRender outputs. I
need something like a MergeMat but it's the MergeGeo (or Scene node)
upstream of it that kills the ability to use it. I figured this would
possibly be a good application of BlendMat but I can't get that
working except with the underlying vertex colour. Thanks for any
insight here, or maybe I should put in a feature request?

Cheers,
Michael
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users




__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users





__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging

Re: [Nuke-users] layered projection on merged geo

2013-07-19 Thread Falko Paeper

You mean something like this?

set cut_paste_input [stack 0]
version 7.0 v8
Camera2 {
 inputs 0
 translate {-4.029312134 1.01058495 0.2428448796}
 rotate {-11.9046 -90.3295517 -4.773383466e-008}
 name Camera2
 selected true
 xpos 706
 ypos -476
}
set Nd0009e50 [stack 0]
push $Nd0009e50
push $cut_paste_input
Camera2 {
 translate {-1.36818707 0.9573410749 1.405868173}
 rotate {-27.13930075 -46.7732 2.767881227}
 name Camera1
 selected true
 xpos 699
 ypos -714
}
Constant {
 inputs 0
 channels rgb
 color {0 1 0 0}
 name Constant4
 selected true
 xpos 571
 ypos -849
}
Project3D {
 inputs 2
 name Project3D1
 selected true
 xpos 571
 ypos -681
}
set Ncfc8a620 [stack 0]
Constant {
 inputs 0
 channels rgb
 color {1 0 0 1}
 name Constant3
 selected true
 xpos 782
 ypos -825
}
MergeMat {
 inputs 2
 name MergeMat2
 selected true
 xpos 769
 ypos -622
}
Cube {
 name Cube2
 selected true
 xpos 769
 ypos -585
}
push $Ncfc8a620
Constant {
 inputs 0
 channels rgb
 color {0 0 1 1}
 name Constant2
 selected true
 xpos 377
 ypos -836
}
MergeMat {
 inputs 2
 name MergeMat3
 selected true
 xpos 377
 ypos -657
}
Cube {
 translate {0.129952 0.187936 0.805943}
 name Cube1
 selected true
 xpos 377
 ypos -561
}
MergeGeo {
 inputs 2
 name MergeGeo1
 selected true
 xpos 491
 ypos -507
}
Scene {
 inputs 2
 name Scene1
 selected true
 xpos 494
 ypos -462
}
push 0
ScanlineRender {
 inputs 3
 motion_vectors_type distance
 name ScanlineRender1
 selected true
 xpos 484
 ypos -321
}



Zitat von Michael Garrett michaeld...@gmail.com:


I want to layer a projection across individually textured merged geo.
I find this scenario extremely useful for adding touch-up projections
in areas where geo is overlapping and you want to create a blend area
because the texture looks nasty at the overlapping area.

I'm not sure if I'm having a brain fog today or if this is something
that really hasn't come up for me before in Nuke, but the only way I
can see to do this right now is to have two ScanlineRender outputs. I
need something like a MergeMat but it's the MergeGeo (or Scene node)
upstream of it that kills the ability to use it. I figured this would
possibly be a good application of BlendMat but I can't get that
working except with the underlying vertex colour. Thanks for any
insight here, or maybe I should put in a feature request?

Cheers,
Michael
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users





__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Re: [Nuke-users] How to parse text inside a user knob expression, or is there a better way?

2013-05-10 Thread Falko Paeper

Try this:

set cut_paste_input [stack 0]
version 7.0 v4
push $cut_paste_input
PostageStamp {
 name PostageStamp1
 label \[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 1] \)\] 0] \ \] 2]\}]

 selected true
 xpos -112
 ypos -207
 hide_input true
 postage_stamp true
 addUserKnob {20 User}
 addUserKnob {1 text}
 text (1.1223 1.1881 1.2673)(0.1574 0.1245 0.0909)(2.0573 \n 2.0574 2.0575)
}

Use the first number(1) to select one of the three bracket pairs. The  
second number(0) just deletes the last braket so no need to change  
that. And the last one (2) selects the single values inside each  
braket pairs.


best
falko


Zitat von Nat Jencks natjencks.li...@gmail.com:

Hi, sorry for the relatively simple question, but I'm relatively  
inexperienced with TCL and Python in nuke and this seems like it  
should be very easy.


I have a text string defined as a userknob which I have called  
CDL_TextValues. This contains a user enterable string which will be  
in teh format of (1.1223 1.1881 1.2673)(0.1574 0.1245  
0.0909)(2.0576 2.0576 2.0576) I just need to take these individual  
numeric values and enter them into specific variables which can be  
defintes as an expression, in my case, the OCIOCDLTransform node.


I'd liek to use a range funciton to simply take the 2nd through 7th  
character and use that number.


So I'd like to set the expression for my value to be range  
(CDL_TextValues 2 7). But I can't get it to work... seems liek the  
native TCL commands dont support the range function, and I'm not  
sure how to do this.


Thanks for any help!

best-
-Nat Jencks




___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users





__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Re: [Nuke-users] How to parse text inside a user knob expression, or is there a better way?

2013-05-10 Thread Falko Paeper

This probably makes it easier to understand:

set cut_paste_input [stack 0]
version 7.0 v4
push $cut_paste_input
PostageStamp {
 name PostageStamp3
 label \[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 1] \)\] 0] \ \] 2]\}]

 selected true
 xpos -300
 ypos -172
 hide_input true
 postage_stamp true
 addUserKnob {20 User}
 addUserKnob {13 pos1}
 pos1 {{\[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 1] \)\] 0] \ \] 0]\}]} {\[expr \{\[lindex  
\[split \[lindex \[split \[lindex \[split \[knob  text] \(\] 1]  
\)\] 0] \ \] 1]\}]} {\[expr \{\[lindex \[split \[lindex \[split  
\[lindex \[split \[knob  text] \(\] 1] \)\] 0] \ \] 2]\}]}}

 addUserKnob {13 pos2}
 pos2 {{\[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 2] \)\] 0] \ \] 0]\}]} {\[expr \{\[lindex  
\[split \[lindex \[split \[lindex \[split \[knob  text] \(\] 2]  
\)\] 0] \ \] 1]\}]} {\[expr \{\[lindex \[split \[lindex \[split  
\[lindex \[split \[knob  text] \(\] 2] \)\] 0] \ \] 2]\}]}}

 addUserKnob {13 pos3}
 pos3 {{\[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 3] \)\] 0] \ \] 0]\}]} {\[expr \{\[lindex  
\[split \[lindex \[split \[lindex \[split \[knob  text] \(\] 3]  
\)\] 0] \ \] 2]\}]} {\[expr \{\[lindex \[split \[lindex \[split  
\[lindex \[split \[knob  text] \(\] 3] \)\] 0] \ \] 3]\}]}}

 addUserKnob {1 text}
 text (1.1223 1.1881 1.2673)(0.1574 0.1245 0.0909)(2.0573 \n 2.0574 2.0575)
}


best
falko


Zitat von Falko Paeper falko.pae...@filmakademie.de:


Try this:

set cut_paste_input [stack 0]
version 7.0 v4
push $cut_paste_input
PostageStamp {
 name PostageStamp1
 label \[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 1] \)\] 0] \ \] 2]\}]

 selected true
 xpos -112
 ypos -207
 hide_input true
 postage_stamp true
 addUserKnob {20 User}
 addUserKnob {1 text}
 text (1.1223 1.1881 1.2673)(0.1574 0.1245 0.0909)(2.0573 \n  
2.0574 2.0575)

}

Use the first number(1) to select one of the three bracket pairs.  
The second number(0) just deletes the last braket so no need to  
change that. And the last one (2) selects the single values inside  
each braket pairs.


best
falko


Zitat von Nat Jencks natjencks.li...@gmail.com:

Hi, sorry for the relatively simple question, but I'm relatively  
inexperienced with TCL and Python in nuke and this seems like it  
should be very easy.


I have a text string defined as a userknob which I have called  
CDL_TextValues. This contains a user enterable string which will be  
in teh format of (1.1223 1.1881 1.2673)(0.1574 0.1245  
0.0909)(2.0576 2.0576 2.0576) I just need to take these individual  
numeric values and enter them into specific variables which can be  
defintes as an expression, in my case, the OCIOCDLTransform node.


I'd liek to use a range funciton to simply take the 2nd through 7th  
character and use that number.


So I'd like to set the expression for my value to be range  
(CDL_TextValues 2 7). But I can't get it to work... seems liek the  
native TCL commands dont support the range function, and I'm not  
sure how to do this.


Thanks for any help!

best-
-Nat Jencks




___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users





__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users





__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Re: [Nuke-users] How to parse text inside a user knob expression, or is there a better way?

2013-05-10 Thread Falko Paeper
For some reason i got an  in the text input :). Of course this has  
to be deleted and than replace pos3.z expression with this:


[expr {[lindex [split [lindex [split [lindex [split [knob  text] (]  
3] )] 0]  ] 2]}]


best
falko


Zitat von Falko Paeper falko.pae...@filmakademie.de:


This probably makes it easier to understand:

set cut_paste_input [stack 0]
version 7.0 v4
push $cut_paste_input
PostageStamp {
 name PostageStamp3
 label \[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 1] \)\] 0] \ \] 2]\}]

 selected true
 xpos -300
 ypos -172
 hide_input true
 postage_stamp true
 addUserKnob {20 User}
 addUserKnob {13 pos1}
 pos1 {{\[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 1] \)\] 0] \ \] 0]\}]} {\[expr \{\[lindex  
\[split \[lindex \[split \[lindex \[split \[knob  text] \(\] 1]  
\)\] 0] \ \] 1]\}]} {\[expr \{\[lindex \[split \[lindex  
\[split \[lindex \[split \[knob  text] \(\] 1] \)\] 0] \ \]  
2]\}]}}

 addUserKnob {13 pos2}
 pos2 {{\[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 2] \)\] 0] \ \] 0]\}]} {\[expr \{\[lindex  
\[split \[lindex \[split \[lindex \[split \[knob  text] \(\] 2]  
\)\] 0] \ \] 1]\}]} {\[expr \{\[lindex \[split \[lindex  
\[split \[lindex \[split \[knob  text] \(\] 2] \)\] 0] \ \]  
2]\}]}}

 addUserKnob {13 pos3}
 pos3 {{\[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 3] \)\] 0] \ \] 0]\}]} {\[expr \{\[lindex  
\[split \[lindex \[split \[lindex \[split \[knob  text] \(\] 3]  
\)\] 0] \ \] 2]\}]} {\[expr \{\[lindex \[split \[lindex  
\[split \[lindex \[split \[knob  text] \(\] 3] \)\] 0] \ \]  
3]\}]}}

 addUserKnob {1 text}
 text (1.1223 1.1881 1.2673)(0.1574 0.1245 0.0909)(2.0573 \n  
2.0574 2.0575)

}


best
falko


Zitat von Falko Paeper falko.pae...@filmakademie.de:


Try this:

set cut_paste_input [stack 0]
version 7.0 v4
push $cut_paste_input
PostageStamp {
name PostageStamp1
label \[expr \{\[lindex \[split \[lindex \[split \[lindex \[split  
\[knob  text] \(\] 1] \)\] 0] \ \] 2]\}]

selected true
xpos -112
ypos -207
hide_input true
postage_stamp true
addUserKnob {20 User}
addUserKnob {1 text}
text (1.1223 1.1881 1.2673)(0.1574 0.1245 0.0909)(2.0573 \n  
2.0574 2.0575)

}

Use the first number(1) to select one of the three bracket pairs.  
The second number(0) just deletes the last braket so no need to  
change that. And the last one (2) selects the single values inside  
each braket pairs.


best
falko


Zitat von Nat Jencks natjencks.li...@gmail.com:

Hi, sorry for the relatively simple question, but I'm relatively  
inexperienced with TCL and Python in nuke and this seems like it  
should be very easy.


I have a text string defined as a userknob which I have called  
CDL_TextValues. This contains a user enterable string which will  
be in teh format of (1.1223 1.1881 1.2673)(0.1574 0.1245  
0.0909)(2.0576 2.0576 2.0576) I just need to take these  
individual numeric values and enter them into specific variables  
which can be defintes as an expression, in my case, the  
OCIOCDLTransform node.


I'd liek to use a range funciton to simply take the 2nd through  
7th character and use that number.


So I'd like to set the expression for my value to be range  
(CDL_TextValues 2 7). But I can't get it to work... seems liek the  
native TCL commands dont support the range function, and I'm not  
sure how to do this.


Thanks for any help!

best-
-Nat Jencks




___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users





__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users





__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users





__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg

Re: [Nuke-users] how to create an alpha from a photo with white bg

2013-03-25 Thread Falko Paeper

Something like this?:

set cut_paste_input [stack 0]
version 7.0 v4
push $cut_paste_input
Expression {
 expr3 r==1?g==1?b==1?0:1:1:1
 name Expression2
 selected true
 xpos -225
 ypos 91
}
Dilate {
 channels alpha
 size {0 0}
 name Dilate1
 selected true
 xpos -93
 ypos 85
}
Blur {
 channels alpha
 name Blur3
 selected true
 xpos 17
 ypos 85
}
Premult {
 name Premult1
 selected true
 xpos 156
 ypos 91
}


Zitat von NotDaBod nuke-users-re...@thefoundry.co.uk:

I have a photo of a leaf on a white bg. I'm trying to create an  
alpha for just leaf. I have a feeling it's a real simple thing but I  
can't figure it out.


I've tried the keyed node but I get nothing.


I want use the leaf on a card in 3d.

Thanks








__
Falko Paeper

Tel. 0173 74 84 449
falko.pae...@filmakademie.de | falko-pae...@web.de
Skype: fpaeper
Karlsplatz 1 | 71638-Ludwigsburg


This message was sent using IMP, the Internet Messaging Program.

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users