pytorch3d icon indicating copy to clipboard operation
pytorch3d copied to clipboard

Generate textures on a mesh

Open hanyangyu1021 opened this issue 1 year ago • 1 comments

Here's the setting. I have a mesh without texture. It only has vertices and faces. I want to add texture on it. Below is my code. But the generated mesh in plot_scene is always blue. And when i want to save the .glb file, I file no texture added on it. image image Anyone knows where is wrong?

hanyangyu1021 avatar Sep 19 '24 14:09 hanyangyu1021

plotly_vis ignores TexturesUV because as far as I remember, plotly itself does not have the needed functionality. If plotly now has it, it would be good to add it.

The saving question may be a Trimesh thing. Maybe you can use the native experimental_gltf_io stuff in PyTorch3D to write a glb file with the texture in.

bottler avatar Sep 20 '24 11:09 bottler