[Interest] [Qt3D] QText2DEntity not appears if QLayerFilter is used
ev.mipt at gmail.com
Mon Nov 18 07:56:02 CET 2019
Thank for the feedback!
Lack of recursive QLayer is the first think I thought of. That's why there
is walkEntity function in test example, and it says that there is only one
entity - QText2DEntity :
Entity: Qt3DExtras::QText2DEntity(0x33a3d4e0) Components:
No internal entities. Also I had checked QText2DEntity source precisely on
this aspect and hadn't seen anything.
I'm currently using Qt 5.9.5 and don't have recursive property, I will
check it in qt 5.14 latter.
пн, 18 нояб. 2019 г. в 09:03, Paul Lemire <paul.lemire at kdab.com>:
> Hi Oleg,
> From what I can see in the code, QText2DEntity doesn't draw anything, but
> it instead instantiates internal Qt3D Entity instances to do the drawing.
> Therefore if you set the QLayer on QText2DEntity, it won't be set on the
> internal entities and won't draw.
> One option might be to set the recursive property to true on your QLayer
> so that setting it on QText2DEntity also makes it pickup all of its
> children Entities.
> I hope that helps,
> On 11/17/19 2:18 AM, Oleg Evseev wrote:
> Did somebody successfully work with QText2DEntity in 3d scenes with
> Here is my project https://bugreports.qt.io/browse/QTBUG-80092.
> QText2DEntity doesn't appear.
> https://github.com/Nonmant/Qt3DExtras-QText2DEntity-Example without
> Layers works fine.
> This is the bug or maybe I set something wrong?
> Thanks in advance for any help.
> With regards, Oleg.
> Interest mailing listInterest at qt-project.orghttps://lists.qt-project.org/listinfo/interest
> Paul Lemire | paul.lemire at 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest