tyFlow Forum
Shapes distribution by texture on Surface - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: Feature Requests (https://forum.tyflow.com/forum-4.html)
+--- Thread: Shapes distribution by texture on Surface (/thread-2859.html)



Shapes distribution by texture on Surface - markusbauer - 01-17-2022

Hey, 
How do you scatter different shapes based on RGB values from texture on a surface.
It works with cluster but texture would be great (see screenshot).
thanks


RE: Shapes distribution by texture on Surface - tyFlow - 01-17-2022

Cluster values are integral (0, 1, 2, 3, 4, etc) which is why they work as Shape operator indices...whereas texture values are real (0.001, 0.91, 0.2293, etc). You can use a Script operator to multiply and round them to get them into the range you want for Shape operator indexing.


RE: Shapes distribution by texture on Surface - markusbauer - 01-24-2022

(01-17-2022, 04:08 PM)tyFlow Wrote: Cluster values are integral (0, 1, 2, 3, 4, etc) which is why they work as Shape operator indices...whereas texture values are real (0.001, 0.91, 0.2293, etc). You can use a Script operator to multiply and round them to get them into the range you want for Shape operator indexing.

thank you. works great