how to rotate and zoom at the same time ?

hi all,
we are writing a program to visualize molecules at different time frames.using glRotatef we made the molecules rotate successfully.but when we tried to zoom in or zoom out using glLookat the rotated model ,it flips.is there any way to do both zoom and rotate together ?

thank you
arun

You do better use glTranslate.

gluLookat simply uses a combination of glTranslate and glRotate. One of the parameter your are changing for the zooming must be doing some kind of rotation.

The best thing to would be to write your own gluLookAt.