Using replicator randomilzer to creat multiple different material and collect it


hello isaac team, I have done multiple png image in a same folder and want to seem it as material, so I creat a omniPBR and change albedo map to the image path, and i’m wondering how to use script editor with rep.randomizer to change the material as the below video do to the table, changing frame by frame.

because after I saw the tutorial, only saw the way to creat a plane or a cube, and creat omniPBR and than using rep.randomizer to connect random omniPBR to the plane or cube


thanks for the reply.

@ryan910511 just another here passing by. i don’t do a lot of work with replicator, but what you’ve described reminds me of the way they were swapping out textures in the defect detection demo. it does more than texture randomization, you should be able to check out the code snippets here:

however, if you simply want to randomize textures, the replicator doc also has something for you:

https://docs.omniverse.nvidia.com/extensions/latest/ext_replicator/randomizer_details.html#randomizing-textures

1 Like

ok, i’ll try it !
thanks for your reply, i think it will help a lot.