Switching Colors

Hi,

I just started with v4 some days ago.

Now I’m struggling with the following - probably easy solvable - problem:
I would like to modify the color of individual objects of a spread in dependency of their distance to the mouse. In the attached example in the Inspector everything looks alright, but in the Renderer all spots change their appearance everytime the mouse is close to one of them ?! And they not change their color but get striped with both colors.

Any idea what I am doing wrong?

Thanx.

SpreadColorSwitch.v4p (7.3 kB)

Hi,

it seems to have do with the segment node and its resolution. If you change resolution the stripes change, as if the number of stripes is handled as “Spreadcount”. Perhaps this is a bug !?

With sphere or quad it looks like you expected.

Markus

SpreadColorSwitch_sphere.v4p (8.3 kB)

Thank you Markus for your immediate help.

Rolf

i think you have to resample the colors first.

with a Segment (DX9) with resolution 24 you can use 24 different colors on each segment.

thats the difference to the other DX9-nodes.

SpreadColorSwitch.v4p (14.1 kB)