Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to texture an imported .3ds model

How to texture an imported .3ds model

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.7k 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.
  • C Offline
    C Offline
    charles_Tester
    wrote on last edited by
    #1

    In Qt3d, I have an articulated robot constructed out of multiple imported .3ds modules.

    It works really well, and looks great. Now I want to texture some of the .3ds models.

    How to do this?

    I tried doing this like in the qt3d/geometry example, but whenever I turn on the QGL::LitDecalTexture2D effect on the root node of the model, I get a segfault at runtime.

    I'm using QGLAbstractScene::loadScene with the "ForceFaceted" option to import the .3ds files into QGLSceneNodes.

    I just want to paint a number on the sides of some of the modules, which is why the qt3d/geometry example seemed so appropriate.

    1 Reply Last reply
    0

    • Login

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