Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. How to display an array of vertices as a mesh in QML3D.
Forum Updated to NodeBB v4.3 + New Features

How to display an array of vertices as a mesh in QML3D.

Scheduled Pinned Locked Moved Unsolved Game Development
1 Posts 1 Posters 512 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.
  • L Offline
    L Offline
    lockheed
    wrote on last edited by
    #1

    How to runtime generate a square, curved pipe between given points? I have already a curved line between them (thanks to Bezier), and now the challenge is to 'inflate' it. Turn 2d line into 3d curved cuboid. I have a basic knowledge how to turn a line into an vertex of triangles. But I am green, when it comes to display them inside QML.

    The first step is to load array of floats with triangles vertices into QBuffer I think. But what goes next?

    1. How to generate such an array from a line (array of 2d points).
    2. How to render QBuffer into QML 3D scene?
    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