[Sidefx-houdini-list] Random texture per polygon.

fsimerey simerey at di-m.com
Mon Feb 15 11:18:34 EST 2016


Hi,
in the material node, add a Local Overrives, pick a material, then in 
'Choose Parameter', select 'Color Map'.
The parameter name would become dif_map.
Then in the string field, enter your expression.

Francois

------------------------------------------------------------------------

François SIMEREY
fs at fsimerey.com
+33 06 30 41 25 58

fsimerey.com <http://fsimerey.com>
24, rue du groupe Manouchian
75020 PARIS - FRANCE

------------------------------------------------------------------------
On 02/15/2016 05:07 PM, Olivier Jeannel wrote:
> Hi list,
>
> Let's say I have a directory with 100 images named toto_$F.jpg (from 1 to
> 99).
> I'd like to have each polygon picking a texture randomly.
>
> I've searched the web and managed to have the UV per polygon setted
> correctly.
>
> Following an Odforce thread, I created a Primitive String attribute named
> "map"
>
> toto_`floor(rand($PR)*2.999)+1`.jpg    (testing on 3 pictures)
> I can see in the geometry spreadsheet that it is working well, each
> primitive has either a toto_1.jpg or toto_2.jpg or toto_3.jpg map attribute
> attached
>
> But can someone explain how to tell Houdini to use that "map" attribute in
> the base color map ?
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list




More information about the Sidefx-houdini-list mailing list