Open Richard-coder opened 1 year ago
You're right, unfortunately Pangolin does not support multi-texture loading for objects right now. It gets most of the needed info through to the shader, but the shader needs some extra logic to pick between them, as you have discovered.
I have a Wavefront OBJ model with two texttures, like following.
I can load the model successfully, but while I try to render the model, I can only get the render view with one texture. If i use
texture_0
, I can get scene view with Model0_0000.png correctly. If i usetexture_1
, I can get scene view with Model1_0000.png correctly. I can't get scene view with Model0_0000.png and Model1_0000.png together correctly.I'm sure the obj file has no problem, because it can be rendered correctly by MeshLab and Open3D.
Do you have any advice? Thank you!