| Course Page | Previous | Next |
mElite 04: Let's pass to 3DUsing your knowledge about gluPerspective, gluLookAt, and 3D model provided by glut you have to
#include "eliteutils.h"in the beginning of the program and use this function call drawEliteObject(coriolis_numberOfFaces, coriolis_vertex, coriolis_face, coriolis_material)to draw the satellite. These utilities also include the function renderBitmapString(GLUT_BITMAP_HELVETICA_18, "whatYouWant")where GLUT_BITMAP_HELVETICA_18 is an example of font and "whatYouWant" is an example of string that you can replace with what you pefer. You can click >>here<< to download an example of what you have to realize. You have to run chmod +x melite4bif you want a successful execution of the program. |
| Course Page | Previous | Next |