Dear Core4D brains,
i am currently trying to build a "relative" xpresso rig, that basically is supposed to do the following:
1. Find the first material tag on the Object that the xpresso tag is attached to (seems to work in my current rig)
2. Find the Material that is used/referenced in the material tag
3. Find the Bitmap shader in the color/diffuse channel of the material
4. Get the Filename from the Bitmap shader (to do various things with it)
I am trying to make this whole setup relative, so that when i duplicate the entire group (Extrude with one child object) - it will find the first Material applied to that new duplicate, rather than referencing the material from the first group. I am trying to use the Hierarchy node to achieve this, but something seems to be missing, since it's not fully working when duplicated.
Also, i can't figure out how to get the 3rd step to work - i can't seem to get the Bitmap shader relatively to the Material that was found... All i get is the "Texture" Output port, but it doesn't seem to get me anywhere..
Am i trying to do something that is not possible with Xpresso or requires Python?
I have attached my reduced setup of this - hopefully someone can help me figure it out!
Thanks in advance
Best regards
Sundance
XPressoRig.zip