Hey
Thanks for the reply. I am almost done with it, however. It looks like there is a mistake in my code and I cannot find it. Here is what I got: (mehtod to render simple quad )
public void quad(){
GL11.glEnableClientState( GL11.GL_VERTEX_ARRAY );
GL11.glEnableClientState( GL11.GL_COLOR_ARRAY );
GL11.glPolygonMode( GL11.GL_FRONT, GL11.GL_FILL );
GL11.glRotatef( rot, 0f, 0f, 1f );
FloatBuffer colorsBuffer = BufferUtils.createFloatBuffer( 12 );
FloatBuffer quadBuffer = BufferUtils.createFloatBuffer( 12 );
colorsBuffer.put( quadColors );
quadBuffer.put( quadVertices );
GL11.glColorPointer( 3, GL11.GL_FLOAT, colorsBuffer );
GL11.glVertexPointer( 3,GL11.GL_FLOAT, quadBuffer );
}
The problem is that the Quad I am trying to draw is not being rendered. Any ideas?