[Interest] Qt3d Get current modelview matrix

Sean Harmer sean.harmer at kdab.com
Tue Oct 25 09:24:30 CEST 2016

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?



Dr Sean Harmer | sean.harmer at 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

More information about the Interest mailing list