Does anyone know how to convert vrml viewpoint which has to following attributes:

fieldOfView fov_angle

orientation x, y, z, angle

position x, y, z

to a gluLookAt, which composes of position,

aim, and up vectors.

Any help or web page link will be much appreciated. Many thanks.