SoSeparator *root = new SoSeparator;
SoCube *mycube = new SoCube; mycube->width = 1.5; mycube->height = 2.7; mycube->depth = 2.1; SoSphere *mysphere = new SoSphere; mysphere->radius = 0.9;
SoMaterial *myblue = new SoMaterial; myblue->diffuseColor.setValue(0.0, 0.05, 0.9);
SoTransform *mytrans = new SoTransform; mytrans->translation.setValue(1.2, 0, 2.8); mytrans->rotation.setValue(SbVec3f(0 1 0), 1.57);