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.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

Reply via email to