@kiero
Also I tried to draw the primitive this (old & slow) way
glBegin(primitive);
NLOOP(Pnb)
{
glVertex3f(P[n].x,P[n].y,P[n].z);
if(UsePersp)
glTexCoord4f(P[n].u,P[n].v,0.0,P[n].w);
else
glTexCoord2f(P[n].u,P[n].v);
if(UseColors)
glColor4f((float)P[n].RGBA[0]/255.0,(float)P[n].RGBA[1]/255.0,(float)P[n].RGBA[2]/255.0,(float)P[n].RGBA[3]/255.0);
else
glColor4f( (float)HC->state->CurrentRGBA[0]/255.0,(float)HC->state->CurrentRGBA[1]/255.0,(float)HC->state->CurrentRGBA[2]/255.0,(float)HC->state->CurrentRGBA[3]/255.0);
}
glEnd();
But glTexCoord4f() dont seems to exist in TinyGL as the compiler said
@waldiamiga
I have tested the 2 demos : after starting (window/screen mode ?) they just freeze : do they need some dependancies ? (I am using a basic install from morphos cd)
Alain