return classloader.getResourceAsStream (resource);
}
static Image createImage (Module module) {
// Generate an image.
PlaneModel plane = new PlaneModel (module, OX, OY, OZ, UX, UY, UZ, VX, VY,
VZ);
ImageBuilder builder = new ImageBuilder (plane, 1, 1);
Image image = builder.createImage (WIDTH, HEIGHT);
return image;
}