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. Add color to part of a mesh or OBJ Qt3D 5.9 in QML
Qt 6.11 is out! See what's new in the release blog

Add color to part of a mesh or OBJ Qt3D 5.9 in QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 675 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.
  • D Offline
    D Offline
    dillydill123
    wrote on last edited by
    #1

    In Qt3D 5.9, I am using scene 3D to render an .obj file and display it. I also have enabled object picking, so when a user selects part of the object, I know exactly where on the model they clicked. What I would like to do is add color to that part of the obj/mesh that the user clicked on. To be more specific, for the 'y' value that the user clicked on, I want to color a line all the way around the object model on that 'y' value. I've looked around online and can't find anything to help. Unfortunately I'm not familiar when it comes to 3D objects, meshes, etc. How can I color just part of a mesh in Qt 3D 5.9?

    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