Quantcast
Channel: Programmer's Town - Unix
Viewing all articles
Browse latest Browse all 227

//programmer2640.rssing.com/chan-67947766/article201-live.html

$
0
0

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.


Viewing all articles
Browse latest Browse all 227

Latest Images

Trending Articles



Latest Images