Open Adblu opened 1 year ago
When you say "getting nothing", do you mean you have a blank image? If so, can you use plot_batch_individually to plot the mesh and the camera in the same plot, to check they are lined up the way you want.
What does the shading option do? From the image, it looks like it does something related to the lighting model, but I don't know how. "None" possibly corresponds to using AmbientLights in PyTorch3D. Perhaps "Face" makes the whole of each face be modelled as having a constant normal? To achieve that in PyTorch3D, perhaps do this: ensure that vertices are separately specified for each face, calculate face normals, and then make a new Meshes object with every vertex normal set to the corresponding face normal.
Yes, white/blank page.
Hi. I am trying to load into pytorch3d following file: eva.obj -> link
Here is the pytorch3D code:
At the end, Im getting nothing. How to modify following code so the image can be rendered properly in pytorch3d ?
Also, once I will load the file, how do I change "Shading" options as in meshlab ?