Re: [Interest] Subclassing of QEntity

2017-04-10 Thread Igor Mironchik
Hello. Got it!!! I had: void LeafPrivate::init() { m_mesh=newLeafMesh(q); q->addComponent(m_mesh); m_material=newQPhongMaterial(q); //m_material->setAmbient(Qt::darkGreen); m_material->setDiffuse(Qt::darkGreen); //m_material->setSpecular(Qt::darkGreen); q->addComponent(m_material); m_

Re: [Interest] Subclassing of QEntity

2017-04-10 Thread Igor Mironchik
10.04.2017 9:55, Igor Mironchik пишет: Hi, 09.04.2017 21:32, Sean Harmer пишет: Hi, Sounds odd. Can you file a JIRA and a test case please? Sorry, I missed - the problem is not in it. But the problem exists yet. What it can be? I increase the scale of new entities but they isn't seen.

Re: [Interest] Subclassing of QEntity

2017-04-09 Thread Igor Mironchik
Hi, 09.04.2017 21:32, Sean Harmer пишет: Hi, Sounds odd. Can you file a JIRA and a test case please? Sorry, I missed - the problem is not in it. But the problem exists yet. What it can be? I increase the scale of new entities but they isn't seen. Thanks, Sean On 09/04/2017 17:05, Igo

Re: [Interest] Subclassing of QEntity

2017-04-09 Thread Sean Harmer
Hi, Sounds odd. Can you file a JIRA and a test case please? Thanks, Sean On 09/04/2017 17:05, Igor Mironchik wrote: Hi, 09.04.2017 18:54, Igor Mironchik пишет: Hi, 09.04.2017 18:43, Igor Mironchik пишет: Hi, What should I know when subclassing QEntity? I subclassed, in c_tor() gave pa

Re: [Interest] Subclassing of QEntity

2017-04-09 Thread Igor Mironchik
Hi, 09.04.2017 18:54, Igor Mironchik пишет: Hi, 09.04.2017 18:43, Igor Mironchik пишет: Hi, What should I know when subclassing QEntity? I subclassed, in c_tor() gave parent node to c_tor() of QEntity. All is ok. If I populate scene before first rendering - everything is fine - I see all

Re: [Interest] Subclassing of QEntity

2017-04-09 Thread Igor Mironchik
Hi, 09.04.2017 18:43, Igor Mironchik пишет: Hi, What should I know when subclassing QEntity? I subclassed, in c_tor() gave parent node to c_tor() of QEntity. All is ok. If I populate scene before first rendering - everything is fine - I see all entities. But if I dynamically populate the

[Interest] Subclassing of QEntity

2017-04-09 Thread Igor Mironchik
Hi, What should I know when subclassing QEntity? I subclassed, in c_tor() gave parent node to c_tor() of QEntity. All is ok. If I populate scene before first rendering - everything is fine - I see all entities. But if I dynamically populate the scene then I see only that entities that were