Not too shy to talk
|
@zzd10h
>compatible with OpenGL ES OS4 ? For example, this french one ? I dont think so As OpenGL ES use array for storing object's geometry you no more use things like this
glBegin(GL_QUADS);
glColor3ub(255,0,0); //face rouge glVertex3d(1,1,1); glVertex3d(1,1,-1); glVertex3d(-1,1,-1); glVertex3d(-1,1,1);
[..]
glEnd();
But instead describe fully your object in an array like this
float[]={ 1.0.0,1.0,1.0,255.0,0.0,0.0,255.0, 1.0,1.0,-1.0,255.0,0.0,0.0,255.0, -1.0,1.0,-1.0,255.0,0.0,0.0,255.0, -1.0,1.0,1.0,255.0,0.0,0.0,255.0, [...] };
Alain
|