Closed wungsui closed 8 months ago
Could you elaborate on what you meant by it turns out to be false
?
I could try to help if you can paste the error message here.
The code run successfully and don't throw error message,but the material are not mapped correctly, do I need modify the param in your function "create_and_assign_textures"?
If I want to import the room in blender,as you said,I should import the fbx to blender ,then using bpy to programmatically map the texture files back by using your code,it sounds like a hard work
l used your code to map the material files back to the assets the step is: 1.use your code to transfer the pkl.gz to obj,and I get a obj file 2.open blender and import this objthen create a material in the material properties 3.create a new script in blender and copy the function :create_and_assign_textures ,and run,but it turned out false
the blender script is: