[Interest] Qt3D Render in customized QtOpenGLContext
Sean Harmer
sean.harmer at kdab.com
Tue Sep 27 15:02:50 CEST 2016
On Tuesday 27 September 2016 12:20:45 Klos, Andreas wrote:
> Dear great Qt-Community,
>
> Can i render a Qt3D mesh into a customized QtOpenGLContext? If so, how can i
> determine which context should be used, to avoid the creation of a new
> rendering context.
Do you mean, providign your own context or just controlling the version and
profile of the context that Qt 3D creates?
For the latter just use QSurfaceFormat::setDefaultFormat() before creating the
QGuiApplication.
For the latter, this is more work but take a look at the implementation of the
Scene3D custom Qt QUick 2 item.
Cheers,
Sean
--
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