cube-sphere-new

thanks a lot for your answers.
your solution to my fullscreen problem mode
worked but in my second question i think i didn’t explained enough.Imagine that i want to make a very very simple head.The cube will be the head an i want the spheres to
be the two eyes.when i see the face from the one side i want to see a sphere and behind the sphere the cube but when i rotate my scheme i want the face to looks like
-------SIDE
|--------|
| /\ | <----eye(sphere)
---->eye(sphere) | / |
| |
| |
|________|<-----face(cube)

---------rotation 90 FACE

		 |--------|
		/|        |\ &lt;----eye(sphere)               |           |

---->eye(sphere) | |/
| |
| |
|________|<-----face(cube)

Your drawing are explanatory as h.ll
Problem: order of translations&rotations+loadidentity&push/popmatrix
Answer: use display lists, draw your face and then (even if you dont understand what you’re doing with rotations) everything will work fine, because you’ll be rotating “one” solid object. Like:
glrotatef(45,0,1,0);
callist(face);(or somthn like that, don’t remeber for sure)