read the text node bbox, like 'nodename.bbox.x' etc
On Fri, Apr 17, 2015 at 10:11 PM, Jon Wesström <jwesst...@gmail.com> wrote: > Does anyone know of a clever way to have a dynamic background behind text? > > As of now, I do it manually with a rectangle tool, but that is rather > annoying. > > I know you could link the rectangle with the bounding box, or do some kind > of erode, thingy, but that stops working when you have two or more lines of > text that are of different lengths. > > You can kinda get there if you erode the text and then do a rather extreme > pixelization of the erode, to get straight lines, but that just sort off > works. > > I also got kinda close to solving it, by linking the message knob to > another text node and put in a script that changed all the characters to > 'n' and the font to windings (which makes every character to a box), I > could then erode that shit and make it work. > The problem with that solution was that the size in the new text node is > character-based, which meant that the size would differ between the to > nodes, if I changed the default vale. > > I'm kind off out of ideas right now. Does anyone have a clever solution? > > _______________________________________________ > 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