python lop recook / file node recook / PDG /Solaris

   496   0   0
User Avatar
Member
8 posts
Joined: April 2025
Offline
i need to convert a .obj file into usd with materialX shader.my thought is first use a "File" node to load .obj file and read related .mtl file and save key info into geo, after that import sop into lop and save all mtl info into primvars. then use a python lop to read primvars and create the materialX node and assign to the mesh prim.
for a single obj it works fine. but after setup the Tops network to batch processing them i notice that the python node and the file node will not recook robustly which result to mesh match wrong material/ material using wrong textures.
is there anyway could recook/reload python lop and file node robustly?

here is my project fild that include some sample models.
https://drive.google.com/file/d/1RrpOgDdePE0INCboaGTrj07Su9e1zXuc/view?usp=sharing [drive.google.com]






and if there is some other better to achieve what i want?
thanks!
Edited by richardbao - Oct. 9, 2025 08:04:41

Attachments:
Enter_a_filename.png (104.4 KB)
Screenshot 2025-10-09 200415.png (88.9 KB)

  • Quick Links