Mail Archives: djgpp/1997/04/01/20:45:53
> In the docs for 'get_camera_matrix' it mentions that xup, yup, and
> zup need not be normal, does this also mean that they can be used as
> a point the camera is 'looking' at? Also, what is the performance hit
> on using floats for everything (in 3d) on a Pentium. I heard that in
> most cases it was actually faster than fixed, is this true?
I don't know about Allegro, but everything else I have ever used (D3D, OpenGL,
etc) wants the yup of the camera to be perpendicular of the forward projection
vector (the cross product of the plane from the camera position (eye) to the
viewing position)... Does Allegro have the equivalent of a gluLookAt() routine?
Floats are usually faster on the pentium - check previous mail archives, this
was a huge topic not long ago...
Leathal.
- Raw text -