Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    More than one material in one mesh ?

    Game Development
    2
    3
    927
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      triton13 last edited by

      Greetings everyone!

      I have a question about Qt3D.

      Is there a way to use .mtl file for .obj file ?
      Or can somebody share the experience of succesfull .3ds file import ? ( as far as i understand, many materials can be in one mesh single .3ds file)

      The idea is to have a single 3d model with different materials, without necessity of breaking the model for many obj.

      The example of desired code for obj:

      MeshExample {
          material_id1: MyMaterial { diffuseColor: Qt.rgba(r, g, b, a) }
          material_id2: MyMaterial {diffuseColor: Qt.rgba(r, g, b, a) }
          }
      

      Thanks in advance, and sorry if the question kinda entry level.

      1 Reply Last reply Reply Quote 0
      • T
        triton13 last edited by

        Did anyone faced similar problems?

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          Hi and welcome to devnet,

          Qt3D being pretty young, I'd recommend asking this question to the interest mailing list. You'll find there Qt3D's developers/maintainers.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply Reply Quote 1
          • First post
            Last post