Examples of ColorBand


Examples of com.jme3.scene.plugins.blender.textures.ColorBand

        return imageFormat;
    }

    public void readData(Structure tex, BlenderContext blenderContext) {
        flag = ((Number) tex.getFieldValue("flag")).intValue();
        colorBand = new ColorBand(tex, blenderContext).computeValues();
        bacd = new BrightnessAndContrastData(tex);
        if (colorBand != null) {
            imageFormat = Format.RGBA8;
        }
    }
View Full Code Here

Examples of com.jme3.scene.plugins.blender.textures.ColorBand

                positions.add(size / 2);
                positions.add(size - 1);
            }

            LOGGER.fine("Generating sky texture.");
            float[][] values = new ColorBand(colorbandType, colorbandColors, positions, size).computeValues();

            Image image = ImageUtils.createEmptyImage(Format.RGB8, size, size, 6);
            PixelInputOutput pixelIO = PixelIOFactory.getPixelIO(image.getFormat());
            TexturePixel pixel = new TexturePixel();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.