06-25-2018, 11:33 AM
Hello,
I'm a .NET WPF developer and I'm looking for a 3D Toolset able to Load and Show different types of 3D models.
I downloaded your PowerToys Samples and I tryed to load different 3D model files using the Assimp Model Viewer sample under Assimp importer/exporter section.
While I was able to correctly load OBJ files with specific textures, I couldn't load correctly PLY files with a JPG file as a texture: the mesh is loaded but has a generic beige color.
Looking to the code I saw that the AssimpWpfImporter class use the ReadModel3D method to load the file and you can specify a Texture path. I tried to put the path of the JPG file there but nothing changed.
What I'm doing wrong?
Thank you for the support.
I'm a .NET WPF developer and I'm looking for a 3D Toolset able to Load and Show different types of 3D models.
I downloaded your PowerToys Samples and I tryed to load different 3D model files using the Assimp Model Viewer sample under Assimp importer/exporter section.
While I was able to correctly load OBJ files with specific textures, I couldn't load correctly PLY files with a JPG file as a texture: the mesh is loaded but has a generic beige color.
Looking to the code I saw that the AssimpWpfImporter class use the ReadModel3D method to load the file and you can specify a Texture path. I tried to put the path of the JPG file there but nothing changed.
What I'm doing wrong?
Thank you for the support.

