
Now Download the cube example : cube.tar.gz.
main.cxx //A classic OpenMask main file
Cube.h //The Cube
Cube.cxx
PsvAnimalPartner.h //Generate the Performer graph
PsvAnimalPartner.cxx
PsvPointsInputHandler.h //Generate red points
PsvPointsInputHandler.cxx
PsvLinesInputHandler.h //Generate green lines
PsvLinesInputHandler.cxx
animal.OpenMASK3 //The OpenMask simulation tree
settings_1Window_1Viewport.3DVis.OpenMASK3
cube.pro //Generate the Makefile
Makefile
Compile and see the cube.
You can making it move with the keyboard's arrows.