Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. More than one material in one mesh ?

More than one material in one mesh ?

Scheduled Pinned Locked Moved Game Development
3 Posts 2 Posters 1.2k Views
  • 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 Offline
    T Offline
    triton13
    wrote on last edited by
    #1

    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
    0
    • T Offline
      T Offline
      triton13
      wrote on last edited by
      #2

      Did anyone faced similar problems?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved