i use a mouse chop > record chop > limit SOP chain to draw some geometry on the screen.
Is there a way to have the texture coordinates not being streched over the whole lengthening stroke/geometry? Instead I’d like to repeat/mirror the uv cordinates/textures after a certain spatial distance has been drawn.
hope that made sense. Basically it should look like you are unrolling an infinate texture …
The Resample SOP will give you evenly-spaced points. Then maybe you can use a Point SOP to assign U value based on point number ($PT) times a constant.
Alternately, do a SOP to DAT, then get the length between adjacent points into a new column “length” (Evaluate DAT). Then get the cumulative length into another column (Evaluate DAT), then scale that into a new column that represents U and convert DAT to SOP. You will have to handle the first or last row specially, but that can be done via the Evaluate DAT’s second input containing the formulas.