Re: [Interest] QEntity

2017-04-11 Thread Igor Mironchik
Hi, 11.04.2017 14:38, Sean Harmer пишет: On Tuesday 11 April 2017 14:22:22 Igor Mironchik wrote: Hello, Approximately QEntity with cone mesh, phong material and transformation eats 200-250 KB of memory. And my question is it many, normal, or little? I don't know I've not measured it. But yo

Re: [Interest] QEntity

2017-04-11 Thread Igor Mironchik
Hello, 11.04.2017 14:38, Sean Harmer пишет: On Tuesday 11 April 2017 14:22:22 Igor Mironchik wrote: Hello, Approximately QEntity with cone mesh, phong material and transformation eats 200-250 KB of memory. And my question is it many, normal, or little? I don't know I've not measured it. But

Re: [Interest] QEntity

2017-04-11 Thread Sean Harmer
On Tuesday 11 April 2017 14:22:22 Igor Mironchik wrote: > Hello, > > Approximately QEntity with cone mesh, phong material and transformation > eats 200-250 KB of memory. > > And my question is it many, normal, or little? I don't know I've not measured it. But you can share materials/effects/tex

[Interest] QEntity

2017-04-11 Thread Igor Mironchik
Hello, Approximately QEntity with cone mesh, phong material and transformation eats 200-250 KB of memory. And my question is it many, normal, or little? Thank you. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailma

Re: [Interest] QEntity & QTransform

2017-04-05 Thread Andy
If I understand your question, there's no need to remove/add the component - just change the QTransform. Everything will update using magic. --- Andy Maloney // https://asmaloney.com twitter ~ @asmaloney On Wed, Apr 5, 2017 at 2:50 PM, Igor Mironchik wrote: >

[Interest] QEntity & QTransform

2017-04-05 Thread Igor Mironchik
Hello guys, Is it normal practice? removeComponent( d->m_transform ); d->m_transform->setScale( 0.5f ); addComponent( d->m_transform ); If I want to apply changed transformation... Or for such tasks there is a better solution? ___ Interest mailing