I don't believe that you can reverse all of that info.

gluLookAt performs the following operation to produce the transformation matrix:

| centerX - eyeX |

f = | centerY - eyeY |

| centerZ - eyeZ |

f = f / ||f||

UP' = UP / ||UP||

u = (f x UP) x f

The transformation matrix, M:

| s[0] s[1] s[2] 0 |

M = | u[0] u[1] u[2] 0 |

| -f[0] -f[1] -f[2] 0 |

| 0 0 0 1 |

As you can see, the only data regarding the center and eye positions are lost, as it's the *difference* between these values that is used in the matrix....

:\

gluLookAt performs the following operation to produce the transformation matrix:

| centerX - eyeX |

f = | centerY - eyeY |

| centerZ - eyeZ |

f = f / ||f||

UP' = UP / ||UP||

u = (f x UP) x f

The transformation matrix, M:

| s[0] s[1] s[2] 0 |

M = | u[0] u[1] u[2] 0 |

| -f[0] -f[1] -f[2] 0 |

| 0 0 0 1 |

As you can see, the only data regarding the center and eye positions are lost, as it's the *difference* between these values that is used in the matrix....

:\