Hi Igor,

Instancing is already supported by Qt3D.

QGeometryRenderer has properties for instanceCount and firstInstance.

https://doc.qt.io/qt-5/qt3drender-qgeometryrenderer.html

When instanceCount is higher than 1, Qt3D will use instanced draw calls.

Also QAttribute has a divisor property you can use to control the rate
at which vertex attributes are read (per vertex, per instance ...).

We don't have higher level elements that make use of instancing yet. We
have ideas about having something like a NodeInstantiator that does
instancing for you under the hood, hopefully for 5.11 or 5.12.


On 11/16/2017 06:30 AM, Igor Mironchik wrote:
> Hello,
>
> What's the plans/state of instanced rendering in Qt 3D?
>
> Thank you.
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
Paul Lemire | paul.lem...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel: France +33 (0)4 90 84 08 53, http://www.kdab.fr
KDAB - The Qt, C++ and OpenGL Experts


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to