I am sorry to ask just because it has been asked so many times, but my question is this. I want to billboard a quad using a cylindrical way, but i don't want to get the modelview matrix becuase i hate round-trip calls because they are slow and suck. Here is what i have i use the gluLookat because i like have a view and position vector.
Code :VECTOR3 vVec(mPlayer.View-mPlayer.Pos); angle = PIUNDER180*vVec.GetAngle(VECTOR3(0,0,1.f)); VECTOR3 axis(0,1.f,0); glRotatef(angle,axis.x, axis.y, axis.z);
now it works great until i get to a certain spot then it eats it and stops billboarding, Is it because of the gimbal lock because i have no f'n idea what or how to fix it.