Is it possible to change ImageTexture image using Xpresso?

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
abraminmotion
Licensed Customer
Posts: 19
Joined: Sat Aug 21, 2021 3:57 am
Location: Los Angeles
Contact:

I'm a bit of an xpresso novice. I have a project where I need to have a ton of different images used as opacity maps for several different materials. I want to use xpresso to reference the folder with the image sequence and randomly assign a texture to the opacity of the material. Is this possible with xpresso? I was thinking using a linklist node, but i can't seem to get the string right.
Attachments
xpresso linklist.jpg
RTX 4090 / i9-12900K / 128GB RAM
User avatar
bepeg4d
Octane Guru
Posts: 10325
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
since you are dealing with an image sequence, another solution could be to use xpresso for generating the desired file name string, like "PATH+RANDOM_NUMBER+File extension", I guess :roll:

ciao,
Beppe
abraminmotion
Licensed Customer
Posts: 19
Joined: Sat Aug 21, 2021 3:57 am
Location: Los Angeles
Contact:

Thanks!!!
RTX 4090 / i9-12900K / 128GB RAM
Post Reply

Return to “Maxon Cinema 4D”