Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

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

    QML and Qt Quick
    2
    3
    77
    Loading More Posts
    • 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
      sofiane last edited by

      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 Reply Quote 0
      • fcarney
        fcarney last edited by

        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 Reply Quote 3
        • fcarney
          fcarney last edited by

          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 Reply Quote 3
          • S
            sofiane @fcarney last edited by

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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post