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. How to load 3D objects in scene3D dynamically QML?
Forum Update on Monday, May 27th 2025

How to load 3D objects in scene3D dynamically QML?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 472 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.
  • J Offline
    J Offline
    jxgeoffrey
    wrote on 23 Jan 2018, 14:44 last edited by
    #1

    In my QML project, I have a Scene3D component in which I load my 3D model. This part is a single QML file and likewise I have different QML files for different screens and use StackView to navigate between them.

    But, whenever I navigate to the QML which hosts the Scene3D component the transition lags/gets stuck for few seconds half way through the transition and then loads.

    How to avoid this chock up? I thought Loader might be of help. But Loader doesn't work in Scene3D.

    Below is the extract of what I am trying to do currently:

    Scene3D
    {
         id: scene3d
         anchors.fill: parent
         anchors.margins: 10
         focus: true
         aspects: ["input", "logic"]
         enabled: false
         cameraAspectRatioMode: Scene3D.AutomaticAspectRatio
    
    
        //This is an entity file which has the 3D model
        ThreeDObj
        {
    
        }
    
    }
    
    This works fine but there is that choke up issue. Is there any efficient way to avoid that?
    
    1 Reply Last reply
    0

    1/1

    23 Jan 2018, 14:44

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved