For better Model3D module

Hello,
I’m trying to upload and view 3D models with gradio and find it useful. Here are my 2 quesions:

  1. How to upload a .obj file with material ? I can only update and view a 3D model only with meshes now. Now I write a function to translate an obj file to a .gltf file . Will there be better solutions?
  2. Will there be better ways to add a skybox or abackground picture rather than a single “clear_color” attribute ? Just like the three.js .

Hey @starrywintersky

  1. The model3d component should work with .obj meshes
  2. I think that’s a great idea, I’ll add that to the list of improvements we can make to the model3d component.

Any other ideas or suggestions to make the component better?