Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Create dynamic geometry with Qt3D and C++
QtWS25 Last Chance

Create dynamic geometry with Qt3D and C++

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.2k 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
    DDraw
    wrote on last edited by
    #1

    Hi guys,
    I'm new to Qt3D and I have a simple question: which is the best way to dynamically create 3D geometry for rendering using Qt3D?

    With "dynamically create 3D geometry" I mean to generate vertices and triangles in c++.

    Can you please provide an example - few lines of code - ?

    Thanks in advance!

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Hi DDraw, welcome to the Qt forums,

      This question has been asked recently in another thread. You might also look in there...

      Good to see Qt3D gets a lot of interest. Unfortunately, not all the examples of the QT3D developers made it in the latest build.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      1
      • D Offline
        D Offline
        DDraw
        wrote on last edited by
        #3

        Hi Eddy,
        thank you for the prompt reply.
        I already checked this example but unfortunately it does not work inside my environment - I probably missed some Qml-to-c++ porting.
        I succeded in viewing a few points but it does not show any triangles - this was the reason why I asked a "minimal c++ only example".

        Is there any other example I can check for having a minimal - but complete - c++ implementation?

        Thanks for your help.

        DDraw

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          @DDraw If you don't find what you want in the released examples, you can look into the future version on github.

          Qt Certified Specialist
          www.edalsolutions.be

          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