public Image draw() throws IOException {
//        graphicsPipeline();
        projectionEnZ();
        System.out.println("width : "+width);
        System.out.println("height: "+height);
        BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
        //TODO REMOVE pour débuguer
        for (int y = 0; y < image.getHeight(); y++) {
            for (int x = 0; x < image.getWidth(); x++) {
                image.setRGB(x, y, new Color(255, 0, 0).getRGB());
            }
        }
        int i = 0;
        for (Face face : model.getFaces()) {
//            System.out.println("face : "+face);
            face.draw(image, model, parametre, this);
            i++;
        }
        return image;
    
    }