Hello,
I want to randomize the texture of rect light as a projector, but I found sometimes the texture not loaded. How can I fix this ? or is there another workaround?
with rep.trigger.on_frame(): # interval=2, rgb + ir
with self.projector:
rep.modify.attribute("intensity", rep.distribution.sequence(projector_intensity_list))
rep.modify.attribute("texture:file",
rep.distribution.sequence(["file:///home/songlin/Omniverse/material/pattern.png"] * len(rgb_pos_list)))
rep.modify.attribute("isProjector", rep.distribution.sequence([True] * len(rgb_pos_list)))