An icosahedron is used to illustrate the draw3DText()
function.
Use this function to draw text as if it was a normal object of your 3D scene. You simply have to define the text position and its normal.
Note the draw3DText()
function is deprecated since it requires the GLUT
library, which is no longer needed by libQGLViewer. This example is kept in case Qt introduces a
appropriate 3d drawing function.
Go back to the examples main page