Exemplo n.º 1
0
 public override void Recompile()
 {
     Gl.glNewList(idVisualizar, Gl.GL_COMPILE);
     Gl.glPushMatrix();
     Gl.glDisable(Gl.GL_CULL_FACE);
     mat.paint(false, this);
     Gl.glEnable(Gl.GL_CULL_FACE);
     Gl.glPopMatrix();
     Gl.glEndList();
 }
Exemplo n.º 2
0
    public override void Recompile()
    {
        inter.Recompile();
        Gl.glNewList(idVisualizar, Gl.GL_COMPILE);
        Gl.glPushMatrix();
        Gl.glDisable(Gl.GL_CULL_FACE);
        car.paint(false, this);


//
//			Glu.GLUquadric sph=Glu.gluNewQuadric();
//			Glu.gluQuadricOrientation(sph,Glu.GLU_OUTSIDE);
//			Gl.glTranslated(0,0,-20);
//			Glu.gluSphere(sph,3,32,32);
        Gl.glEnable(Gl.GL_CULL_FACE);
        Gl.glPopMatrix();
        Gl.glEndList();
    }