View Full Version : cube-sphere-new

01-07-2003, 08:53 AM
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
| /\ | <----eye(sphere)
---->eye(sphere) | \/ |
| |
| |

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

/| |\ <----eye(sphere) | |
---->eye(sphere) \| |/
| |
| |

01-07-2003, 11:54 PM
Your drawing are explanatory as h.ll http://www.opengl.org/discussion_boards/ubb/mad.gif
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:
callist(face);(or somthn like that, don't remeber for sure)