Hi Im trying to make my text in billboard effect! but i cant even rotate a text. Did as the demos but didnt work, Any ideas?
renderer.begin3DRendering();
gl.glMatrixMode(GL2.GL_MODELVIEW);
gl.glPushMatrix();
renderer.setColor(textColor[0], textColor[1], textColor[2], 1.0f);
gl.glLoadIdentity();
gl.glRotatef(90, 0, 0, 1); //to test rotation
renderer.draw3D(name, textPoint[0], textPoint[1], textPoint[2],fontSize/720.0f);
gl.glPopMatrix();
renderer.flush();
renderer.end3DRendering();
The text will be perp. to the XY Plane