[Interest] [Qt3D][Threads] A right way to do calculations for qt 3d entities in separate thread

Oleg Evseev ev.mipt at gmail.com
Sat Apr 15 20:09:36 CEST 2017

> We do something analogous with the sceneparser plugins which for the scene
> file being loaded, it creates a QEntity subtree complete with
> GeometryRenderer, Material, Transform components. These are then moved to
> the main thread with QObject::moveToThread and grafted into the main tree
> with QNode::setParent(placeToGraftThisSubTreeIn).

Thanks, Sean. Such approach with creating entity tree from another thread
is somehow clear, but what to do with updating vertex and index buffers of
geometry of entity from another thread? Can be there any nice solution else
then prepare updating data and rules how it should be applied in separate
thread and passing them through signal to the main one and only there
update geometry?

With regards, Oleg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170415/128ee9ce/attachment.html>

More information about the Interest mailing list