Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt3D: loading a .mtl file into a QMaterial component?
Forum Updated to NodeBB v4.3 + New Features

Qt3D: loading a .mtl file into a QMaterial component?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 642 Views 1 Watching
  • 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.
  • D Offline
    D Offline
    diegocarrillo
    wrote on last edited by
    #1

    Hello everyone,
    I'm currently developing an application in which I need to load a 3D model, defined by a .obj file that contains the mesh data, and a .mtl file that contains the respective textures description.
    What I want to do is to load the .obj into a QMesh and the .mtl as a QMaterial and set them as components of the same QEntity. The QMesh works fine, but I wanted to know if it is possible to load the .mtl file and how should I do it?

    1 Reply Last reply
    3

    • Login

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