openai / shap-e

Generate 3D objects conditioned on text or images
MIT License
11.68k stars 951 forks source link

Problems with encode_model #107

Closed 1341828568 closed 1 year ago

1341828568 commented 1 year ago

thank you for the excellent work! I have a problem with encode_model. I ran encode_model.ipynb, and whenever I input a colored mesh ply file or obj file with mtl and texture(have been scaled and posed same as models generated by shap-e), it outputs strange things. i use 'decode_latent_mesh' and it generates only three vertices, and nerf renders nothing. but there are no problems with text conditioned generation. thanks for the help!

1341828568 commented 1 year ago

And pictures rendered by blender are so dark. left is model in meshlab, right is rendered by blender.

image

Is it correct?

1341828568 commented 1 year ago

output mesh in meshlab shows that it contains three vertices,but In fact, it looks like this:

image
1341828568 commented 1 year ago

I changed my blender version from 3.6.0 to 3.4.1 and it workd.

HaiderSaleem commented 7 months ago

I changed my blender version from 3.6.0 to 3.4.1 and it workd.

Hi,

Can you please help me with the following error:

[90](file:///C:/Users/../blender/render.py:90) raise RuntimeError(f"render failed: output file missing") [91](file:///C:/Users.../blender/render.py:91) else: [92](file:///C:/Users/.../Anaconda3/envs/shap/Lib/site-packages/shap_e/rendering/blender/render.py:92) raise RuntimeError(f"render failed: output file missing. Output: {output}")