CSGL triangle et matrix

goldziko9 Messages postés 39 Date d'inscription lundi 3 janvier 2005 Statut Membre Dernière intervention 5 avril 2010 - 5 janv. 2007 à 20:13
goldziko9 Messages postés 39 Date d'inscription lundi 3 janvier 2005 Statut Membre Dernière intervention 5 avril 2010 - 6 janv. 2007 à 12:06
Salut tous le monde.
       Je suis débutant dans la programmation graphique, j'ai telecharger CSGL , j'ai essayer de faire un triangle, marche pas, et en plus c'est quoi un matrix ?
       SVP  aider moi ? par des exemple simple je suis ravie de toute exemple ou informations !

merci !!

3 réponses

goldziko9 Messages postés 39 Date d'inscription lundi 3 janvier 2005 Statut Membre Dernière intervention 5 avril 2010
5 janv. 2007 à 22:44
slt !
    j'ai essayer de faire ça :

              GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
              GL.glLoadIdentity();           
            GL.glBegin(GL.GL_QUADS);
            GL.glVertex3f( 0.1f, -0.1f, 0.0f);
            GL.glVertex3f( 1.0f, 1.0f, 0.0f);
            GL.glVertex3f( 1.0f, -1.0f, 0.0f);
            GL.glVertex3f( 0.1f, -1.0f, 0.0f);
              GL.glFlush();

mais j'ai , je ne sais ce que c'est !!
    mon but est de faire un Quads center !!

Pls, de l'aide !!
0
Lutinore Messages postés 3246 Date d'inscription lundi 25 avril 2005 Statut Membre Dernière intervention 27 octobre 2012 41
6 janv. 2007 à 07:01
Salut, j ai changé le titre, "Ca ne marche pas !!" ce n'était pas très explicite.
0
goldziko9 Messages postés 39 Date d'inscription lundi 3 janvier 2005 Statut Membre Dernière intervention 5 avril 2010
6 janv. 2007 à 12:06
Merci Lutinore !
0
Rejoignez-nous