GraphicsView: Disable BSP index building?



  • The BSP index is useful when locating items. During scene creation, it can be very costly. In my case, I build up a complex scene, and I only need the BSP index after the scene is finished.

    My thought was that through setItemIndexMethod(NoIndex) I delay building up the index, and that the index is only built when I set it back to setItemIndexMethod(BspTreeIndex).

    As it is, the BSP tree index starts more than 1700 timers, and (according to a measuring tool) takes up about 25 % of my total opening time.

    Any ideas how to improve this (without tampering with Qt code)?
    Using 4.8.7



  • Damn. Login button on top right of browser does not work, so my post landed here. How can I login, take ownership of the post and move it to the General forum?



  • More specifically, when I click on the "Login" button, I get redirected to my profile page. I don't have any way to login there.



  • Interesting. I can reply to my posts as user "Asperamanca", but when I try to write a new post, I am "Guest"


  • Qt Champions 2016

    Guest said in GraphicsView: Disable BSP index building?:

    How can I login, take ownership of the post and move it to the General forum?

    I don't think you can, but I'll move the post.


Log in to reply
 

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