Notifications
Clear all

[Closed] switching bitmaps based on custom attribute?

I have an object with a custom attribute on it. I would like the Ca to be used to swap the diffuse texture of another object

I have an array of filenames and i was thinking of using openbitmap and basically running some kind of maxscript to say :

$object.maps.diffusemap.birmap = bitmaplist[x]

where x is the custom attribute

is this possible?

3 Replies
 PEN

Yes this is.

 JHN

But will it work on rendertime?

yeah managed to wrap it up in a function that is called after a frame is rendered

thanks for your help Paul and JHN :d