検索 - User list
Full Version: Component Material in For-Each Loop?
Root » Solaris and Karma » Component Material in For-Each Loop?
jedmitchell
Is it possible to use a For-Each loop to add a dynamic number of component material variants to a Component Builder setup? The workflow for adding geometry variants with a loop, as documented in the Chris Rydalch video (https://youtu.be/EgTqz6y_oAs [youtu.be]), doesn't seem to have an analog for the materials that I can figure out.

This setup, using regular LOP nodes, will create 5 variations of the inputs:diffuseColorattribute:


Trying to replicate it with Component Builder nodes doesn't work out of the box, and in fact the Component Output node doesn't even register a valid input in this arrangement (I suspect because of the For-Each node interrupting the upstream connection to the Component Material):


Seems like there must be some metadata moving through the Component Material node that isn't making it through the loop. Is there another way to set this up, or is it impossible to use the Component nodes to achieve this kind of dynamic variation?

I've attached my demo scene file to play with. Thanks!
toto_le_velo
Hello, I'm encountering a similar issue with looping over a componentgeometry. Did you find any solution to this ?
Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB