Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Import STL models and make Texture looks properly



  • Hello to everybody!

    First of all, sorry for my poor English.

    I'm trying to import some models in .stl format to my scene with QMesh and attach to them material (QDiffuseMapMaterial) with texture in diffuse().
    My models comes without any build in materials, just mesh.

    But when scene is rendered, all models is in solid color, witch seems to be main color from my texture.

    Looks like I need to do some "Unwrap" mesh (like in Blender) to make my texture looks properly, but I can't find out how to do that. My meshes looks like Box, so it is there any kind of box unwrapping in PyQt3D?

    (I'm using PyQt5 5.11.3 and PyQt3D 5.11.3)

    Thank for you reply.


Log in to reply