I believe that node is busted that it doesn't use the standard expression language and for me it breaks if I use more than one channel for example a * 2 no problem a>0 ? a*2 : a breaks
I don't know if there is a bug report for that yet Florian Strobl On Wed, Apr 11, 2012 at 09:41, Christopher Horvath <[email protected]>wrote: > Hi Nuke-Python, > > I have a DeepExpression node with an expression for rgba.red, rgba. green, > and rgba.blue - the expressions are as follows: > > rgba.red: deep.front * rgba.alpha > rgba.green: deep.back * rgba.alpha > rgba.blue: (deep.front + deep.back) * 0.5 * rgba.alpha > > I have alpha, deep.front, and deep.back expressions turned off, and this > DeepExpression node is then placed inside a gizmo. When I use this gizmo, > after a small amount of time working in the Nuke UI, I start getting error > messages that say, > > DeepExpression2: could not find knob "rgba.alpha" again > > DeepExpression2: could not find knob "deep.front" again > > DeepExpression2: could not find knob "deep.back" again > > DeepExpression2: could not find knob "rgba.alpha" again > > DeepExpression2: could not find knob "deep.front" again > > DeepExpression2: could not find knob "deep.back" again > > > Does anybody have any suggestions about why this might be happening, or > how to fix the expressions so they don't complain? > > > The gizmo looks like this: > > > Gizmo { > > inputs 1 > > addUserKnob {20 Deep} > > addUserKnob {41 volumetric_composition l "volumetric composition" T > DeepToImage2.volumetric_composition} > > } > > Input { > > inputs 0 > > name Input1 > > xpos 389 > > ypos -105 > > } > > DeepExpression { > > chans0 {rgba.red rgba.green rgba.blue -rgba.alpha} > > rgba.red "deep.front * a" > > rgba.green "deep.back * a" > > rgba.blue "(deep.front+deep.back) * 0.5 * a" > > name DeepExpression2 > > gl_color 0xff3838ff > > xpos 389 > > ypos -65 > > } > > DeepToImage { > > name DeepToImage2 > > xpos 389 > > ypos -39 > > } > > Shuffle { > > black blue > > out2 depth > > name Shuffle1 > > xpos 389 > > ypos 5 > > } > > Output { > > name Output1 > > xpos 389 > > ypos 35 > > } > > end_group > > -- > I think this situation absolutely requires that a really futile and stupid > gesture be done on somebody's part. And we're just the guys to do it. > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
