views:

50

answers:

1

Hi all,

ok what I want to do is to draw a quad in the scene that lays on a plane parallel to the view. So it should appear flat.

More in particular, I think I didn't get very well how the mechanism of gluLookAt works in comparison with the functions glTranslate and glRotate:

If I position the view "manually" using the functions glTranslate and glRotate whenever I draw an object its position is relative to the current view. And I understand that this is due to the transformation matrix in the stack.

However, when I use the gluLookAt (that should automatically set the view), the coordinates of the object I want to draw must be "absolute" to be shown properly.

Thanks in advance.

+1  A: 

This tutorial describes how to do billboarding in OpenGL.

genpfault
Thanks, that's exactly what I was looking for
Jack