Cube OpenGL ES 2.0 example▲
Sélectionnez
&
lt;RCC&
gt;
&
lt;qresource prefix=
"/"
&
gt;
&
lt;file&
gt;cube.png&
lt;/
file&
gt;
&
lt;/
qresource&
gt;
&
lt;/
RCC&
gt;
The Cube OpenGL ES 2.0 example shows how to write mouse rotateable textured 3D cube using OpenGL ES 2.0 with Qt. It shows how to handle polygon geometries efficiently and how to write simple vertex and fragment shader for programmable graphics pipeline. In addition it shows how to use quaternions for representing 3D object orientation.
Article lu fois.
The Qt Company Ltd.
Publié le 27 décembre 2024 - Mis à jour le 27 décembre 2024
&
lt;RCC&
gt;
&
lt;qresource prefix=
"/"
&
gt;
&
lt;file&
gt;cube.png&
lt;/
file&
gt;
&
lt;/
qresource&
gt;
&
lt;/
RCC&
gt;