c++ - Migrating a Qt QGL based project to use OpenGL 4.3 -


ever since first started current qt project around 6 months ago, has been using believe version 1.3 of opengl. of recently, i've been itching start improving way render things, , appears i'm missing many functions appear used in later opengl versions.

since qt apparently supports opengl 4.3, switch on multiple reasons, hear many functions no longer supported.

what best course of action migrating version 4.3?

for instance, mesh component of render-able objects in engine handles binding vertices through setattributearray();, , renders them through use of gldrawarrays(mode,start,range);

i'm worried may end having several hundred errors , substantially change way many things work, why i'm curious if has advice making change over.

my reasons wanting because i'm looking implement more graphical effects smaa or fxaa, shadows, or mipmaps, , tutorials i've found each of categories utilized functions above opengl 1.3

i didn't know of existence of qopenglfunctions , qopenglwidget classes, both extended new class of own acquire newer functions desired.

i used extend solely qglwidget, doing mentioned above, able maintain of previous work , change declarations.


Comments