Hello,

I was wondering if anyone had used the to OpenGL color matrix
extension methods glCurrentPaletteMatrixOES,
glLoadPaletteFromModelViewMatrixOES, etc and gotten a run time error
when trying to access the function call?  I am not very skilled in
OpenGL in the first place so I may just be doing something wrong.
Here is what I was trying:

openGL11.glMatrixMode(GL11Ext.GL_MATRIX_PALETTE_OES);
openGL11Ext.glCurrentPaletteMatrixOES(0);
openGL11.glLoadIdentity();
openGL11.glTranslatef(0.0f, 0.0f, -7.0f);
openGL11.glRotatef(0.2f, 0.0f, 1.0f, 0.0f);
openGL11Ext.glCurrentPaletteMatrixOES(1);
openGL11.glLoadIdentity();
openGL11.glTranslatef(0.0f, 0.0f, -7.0f);
openGL11.glRotatef(0.2f, 0.0f, 1.0f, 0.0f);
openGL11.glRotatef(0.2f, 0.0f, 0.0f, 1.0f);

I took this from the 
http://www.khronos.org/registry/gles/specs/1.1/es_cm_spec_1.1.10.pdf
spec.  My goal is to perform color correction on the gl scene.

Thanks,

cm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to