NasirKhalid24 / CLIP-Mesh

Official implementation of CLIP-Mesh: Generating textured meshes from text using pretrained image-text models
MIT License
422 stars 37 forks source link

How do I visualize the generated mesh on a website? #3

Closed zhizdev closed 1 year ago

zhizdev commented 1 year ago

Hi Nasir,

Thanks for the great work! This is super creative and the results look better than DreamFields.

Quick question: how do I visualize the generate meshes on a website, like the meshes on your project website (https://github.com/NasirKhalid24/CLIP-Mesh)?

I tried to convert the .obj to .gltf but without any success. The converted texture looks very different on https://modelviewer.dev/.

Thanks!

NasirKhalid24 commented 1 year ago

For the website it uses model-viewer and loads a .glb file

The models were actually loaded in to blender and then exported - I suspect the alpha channel of the texture maps are not being applied as thats the common error when the textures look very different