Kai-46 / IRON

Inverse rendering by optimizing neural SDF and materials from photometric images
BSD 2-Clause "Simplified" License
299 stars 24 forks source link

Exporting materials #10

Closed qinzhibao123 closed 2 years ago

qinzhibao123 commented 2 years ago

An error "index 0 is out of bounds for axis 1 with size 0" occurred while exporting the material. _vertices, face_vertices, texturecoords, face_texturecoords = loadmesh_and_checkuv(mesh_fpath, outdir) This code gets the shape of the variables texturecoords and face_texturecoords are both (0,0). Why?

Kai-46 commented 2 years ago

Can you use a text editor to open the "mesh_fpath" file to see if there's anything wrong?

Kai-46 commented 2 years ago

Closing due to inactivity.

flow-specter commented 2 years ago

I met the same problem... blender failed to export uv, have you solved the problem?