Draw a massive amount of GL Vertex Buffer in one mesh using QT3D



  • Hi all,
    I am trying to use QT3D for a 3D modelling software, which requires to render a BVH tree, each of its nodes contains reference to a Vertex Buffer from mesh. In average, there are about 40.000 vertex buffers, and this amount could change during the modelling process when BVH nodes are splitted further. Assigning such Vertex Buffers to BVH nodes is necessary since I need to do partial drawing using OpenGL Scissor rectangle (only drawing changed BVH nodes to OpenGL). I thought about how to integrate it to QT3D, but it seems quite hard to do that. If I add all such BVH node vertex buffers to Qt3D as QEntity, it will create a really big entity tree.
    So, is there any way to integrate it to Qt3D.
    Hope to see your answer ^^


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.