If you wanted to make this a science project, you could look at the shape 
object's evaluate() method which returns a cubic curve from the shape. You can 
query any position along the cubic curve via getPoint() where 0 is the start 
and 1 is the end of the curve. So with some clever hacking you might be able to 
use this to generate a color expression or vectors to get you  there.


On Apr 28, 2011, at 5:50 PM, Dan Walker wrote:

> Thanks Frank! 
> 
> On Wed, Apr 27, 2011 at 5:05 PM, Frank Rueter <[email protected]> wrote:
> I don't think this is possible at the moment
> 
> On Apr 28, 2011, at 11:55 AM, Dan Walker wrote:
> 
>> Hey all,
>> 
>> Anyone know of a way to create a color ramp on a paint stroke?  Yeah, I know 
>> that's kinda vague, but I'll try to explain and I've attached a simple nuke 
>> comp with a visual representation of what I'm talking about....
>> 
>> Created a paint stroke
>> Deleted the in-between control points on the paint stroke leaving 3 control 
>> points, (0, 1, 2)
>> Wanting a way to control the color of the paint stroke by editing ANY kind 
>> of values for the control point(s) (0 = 1.0, 1 = 0.5, 2 = 0.3)
>> Looked at the ascii .nk script and didn't see any (under the hood) type of 
>> values that would correspond to color.
>> 
>> I guess what I'm looking for is a Vector type paint approach but, looks as 
>> though I may be SOL...
>> 
>> Thanks in advance!
>> 
>> -Dan
>> 
>> 
>> <rotopaint_test2.nk>_______________________________________________
>> Nuke-users mailing list
>> [email protected]
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> 
> 
> _______________________________________________
> Nuke-users mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> 
> 
> _______________________________________________
> Nuke-users mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to