On 25/10/2016 02:15, Surya Kiran Gullapalli wrote:
In regular opengl, if we want to modify the current modelview matrix, we can use glMatrixMode followed by any operation on that matrix. How to do the same using Qt3d Api. I can only see QEntity::addComponent with QTransform as the argument. Which sets the transformation matrix, but how can i get the current modelview matrix and do more operations on it. I'm using Qt 5.7.
Where do you need it? CPU side? Main thread? backend thread? GPU? How many cameras do you have? Which one of those should be used to create the modelview?
Cheers, Sean -- Dr Sean Harmer | sean.har...@kdab.com | Managing Director UK KDAB (UK) Ltd, a KDAB Group company Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090 Mobile: +44 (0)7545 140604 KDAB - Qt Experts _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest