Hi,
this is my feedback line where i set the token for the vertex…
gl.glPassThrough(1.0f);
gl.glBegin(GL.GL_POINTS);
gl.glVertex3f(-1.0f, 1.0f, 0.0f);
gl.glEnd();
gl.glPassThrough(2.0f);
now i get this value from the FloatBuffer: 1792.0
i dont know why.
i need the coordinates, but i just get this one value…
i am using this buffer
FloatBuffer feedbackBuffer = BufferUtils.newFloatBuffer(4);
gl.glFeedbackBuffer(4, GL.GL_3D, feedbackBuffer);
anyone has an idea? ???
PS: byteorder is little endian