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. I don't understand how png files are used as textures for meshes
QtWS25 Last Chance

I don't understand how png files are used as textures for meshes

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 233 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.
  • S Offline
    S Offline
    sofiane
    wrote on last edited by
    #1

    There are examples on qt creator that show 3d objects, with the use of textures as .png files, are rendered and decorated, what's facinating me, is how does qt know how to paste a texture pattern based on a png image into the 3d mesh. We can color a mesh, but using a png image file as a texture, is the process predictable?

    1 Reply Last reply
    0
    • fcarneyF Offline
      fcarneyF Offline
      fcarney
      wrote on last edited by
      #2

      Somewhere, at some point, there is some kind of UV mapping. I would suggest learning to UV map objects in a program like Blender3D to get an idea of how this works. You can then apply this knowledge to learn how Qt is doing this.

      C++ is a perfectly valid school of magic.

      S 1 Reply Last reply
      3
      • fcarneyF fcarney

        Somewhere, at some point, there is some kind of UV mapping. I would suggest learning to UV map objects in a program like Blender3D to get an idea of how this works. You can then apply this knowledge to learn how Qt is doing this.

        S Offline
        S Offline
        sofiane
        wrote on last edited by
        #3

        @fcarney Do you know how to import skeleton, armature from blender to Qt3d?

        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