texture strokes with sketch

carsol's icon

hi all...

im trying to recreate the same kind of stroke of the example patch jsui_splinestuff-example using the brush texture, but i cant find the way...

i guess is something about the "strokeparam texture" parameter but i dont find the right way to apply...

somebody can point me in the right direction please?

Max Patch
Copy patch and select New From Clipboard in Max.

this is the patch im using...

carsol's icon

Hi.... Nobody knows about this? Cant belive... :-)
Thanks!!

Joshua Kit Clayton's icon

2 things:

1. you need to bind the texture to sketch with @texture tex1
2. you need for each stroke point to specify an x axis texture coordinate from 0-1 with strokeparam texture

carsol's icon

BINGO! thanks Joshua!

peterxtian's icon

hey carsol, would you mind pasting that completed patch here? i'm at a loss of how to fix it ; /