Kent767
08-18-2002, 04:16 PM
To elminate the headache of trying to billboard a quad, could one possibly use gluLookAt in reverse?
as in
gluLookAt (Objectx,Objecty,Objectz,camX,camY,camZ); //for placing the objects to be billboarded
and then the actual camera placement being done w/
gluLookAt(camX,camY,camZ,focusX,focusY,focusZ);
in theory i think this would work, but I really don't know if there is something I'm missing (i've been trying various methods of billboarding and haven't been satisfied with many of the tutorials.
thanks,
Kent
as in
gluLookAt (Objectx,Objecty,Objectz,camX,camY,camZ); //for placing the objects to be billboarded
and then the actual camera placement being done w/
gluLookAt(camX,camY,camZ,focusX,focusY,focusZ);
in theory i think this would work, but I really don't know if there is something I'm missing (i've been trying various methods of billboarding and haven't been satisfied with many of the tutorials.
thanks,
Kent