Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Unsolved Implement multiple vertex buffers per one renderable Entity

    General and Desktop
    qt3d 2.0
    2
    2
    657
    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.
    • K
      khanh_ha last edited by

      After reading Qt3d rendering module source code, I noticed that the smallest drawing element of Qt3d is RenderCommand, which reference to only one VBO (vertex buffer object) and shader. Such RenderComands created by RenderView whille recuring over the scene of entities in function (void RenderView::buildRenderCommands(Entity *node, const Plane *planes)) , allocating one RenderCommand for each renderable entity.

      So, my question is how Qt3D can support the problem where an entity contains multiple vertex buffers, all of which use the same material. For example, in 3D modelling applications (Blender, for example), a mesh object could be represented as a BVH or KDtree with a massive amount of leaf nodes (1000 - 1.500), each of which reference to a vertex buffer. It is possible that Qt3D could support this pattern?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Qt3D being still a tech preview, I'd recommend asking this question on the interest mailing list You'll find there Qt3D's developers/maintainers (this forum is more user oriented)

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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