Qt5.11 It is necessary to deduce jointly the text and 3D object. In function paintGL () sequentially I cause display 3D object means OpenGL (, glBindBuffer...) also I superimpose on them the text means QPainter. Separately they are displayed, and jointly are not present, an open country color glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);.
I do as in examples, but does not work, as soon as I cause p.begin (this); objects OpenGL cease to be displayed.
By the way in examples "old" functions because of which are used these are examples do not gather many.
↧
//programmer2640.rssing.com/chan-67947766/article201-live.html
↧