// draw markers
for(Marker marker : markers) {
// Point3D center = getGlmain3d().getSphere().getPoint(marker.point);
Point3D center = marker.getPoint();
gl.glLoadIdentity();
gl.glRasterPos3d(center.x, center.y, center.z);
gl.glBitmap(0, 0, 0, 0, -marker.getIcon().getWidth()/2, 0, null); // move raster position
gl.glDrawPixels(marker.getIcon().getWidth(), marker.getIcon().getHeight(), GL.GL_RGBA, GL.GL_UNSIGNED_BYTE, marker.getIconBuffer());
// gl.glBitmap(0, 0, 0, 0, icon.getWidth()/2, 0, null); // move raster position
// glut.glutBitmapString(GLUT.BITMAP_HELVETICA_10, "TestTestTest");