HomeSort by relevance Sort by last modified time
    Searched refs:colorBand (Results 1 - 11 of 11) sorted by null

  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
TextureGeneratorNoise.java 66 float[][] colorBand = this.computeColorband(tex, blenderContext);
67 Format format = colorBand != null ? Format.RGBA8 : Format.Luminance8;
68 int bytesPerPixel = colorBand != null ? 4 : 1;
84 if (colorBand != null) {
86 texres.red = colorBand[colorbandIndex][0];
87 texres.green = colorBand[colorbandIndex][1];
88 texres.blue = colorBand[colorbandIndex][2];
94 data[index++] = (byte) (colorBand[colorbandIndex][3] * 255.0f);
TextureGeneratorStucci.java 77 float[][] colorBand = this.computeColorband(tex, blenderContext);
78 Format format = colorBand != null ? Format.RGBA8 : Format.Luminance8;
79 int bytesPerPixel = colorBand != null ? 4 : 1;
95 if (colorBand != null) {
97 texres.red = colorBand[colorbandIndex][0];
98 texres.green = colorBand[colorbandIndex][1];
99 texres.blue = colorBand[colorbandIndex][2];
100 texres.alpha = colorBand[colorbandIndex][3];
110 if (colorBand != null) {
TextureGeneratorClouds.java 81 float[][] colorBand = this.computeColorband(tex, blenderContext);
82 Format format = sType == TEX_COLOR || colorBand != null ? Format.RGBA8 : Format.Luminance8;
83 int bytesPerPixel = sType == TEX_COLOR || colorBand != null ? 4 : 1;
95 if (colorBand != null) {
97 texres.red = colorBand[colorbandIndex][0];
98 texres.green = colorBand[colorbandIndex][1];
99 texres.blue = colorBand[colorbandIndex][2];
105 data[index++] = (byte) (colorBand[colorbandIndex][3] * 255.0f);
TextureGeneratorDistnoise.java 72 float[][] colorBand = this.computeColorband(tex, blenderContext);
73 Format format = colorBand != null ? Format.RGBA8 : Format.Luminance8;
74 int bytesPerPixel = colorBand != null ? 4 : 1;
86 if (colorBand != null) {
88 texres.red = colorBand[colorbandIndex][0];
89 texres.green = colorBand[colorbandIndex][1];
90 texres.blue = colorBand[colorbandIndex][2];
96 data[index++] = (byte) (colorBand[colorbandIndex][3] * 255.0f);
TextureGeneratorMarble.java 69 float[][] colorBand = this.computeColorband(tex, blenderContext);
70 Format format = colorBand != null ? Format.RGBA8 : Format.Luminance8;
71 int bytesPerPixel = colorBand != null ? 4 : 1;
83 if (colorBand != null) {
85 texres.red = colorBand[colorbandIndex][0];
86 texres.green = colorBand[colorbandIndex][1];
87 texres.blue = colorBand[colorbandIndex][2];
93 data[index++] = (byte) (colorBand[colorbandIndex][3] * 255.0f);
TextureGeneratorMusgrave.java 68 float[][] colorBand = this.computeColorband(tex, blenderContext);
69 Format format = colorBand != null ? Format.RGBA8 : Format.Luminance8;
70 int bytesPerPixel = colorBand != null ? 4 : 1;
93 if (colorBand != null) {
95 texres.red = colorBand[colorbandIndex][0];
96 texres.green = colorBand[colorbandIndex][1];
97 texres.blue = colorBand[colorbandIndex][2];
103 data[index++] = (byte) (colorBand[colorbandIndex][3] * 255.0f);
TextureGeneratorVoronoi.java 78 float[][] colorBand = this.computeColorband(tex, blenderContext);
79 Format format = voronoiColorType != 0 || colorBand != null ? Format.RGBA8 : Format.Luminance8;
80 int bytesPerPixel = voronoiColorType != 0 || colorBand != null ? 4 : 1;
108 if (colorBand != null) {//colorband ALWAYS goes first and covers the color (if set)
110 texres.red = colorBand[colorbandIndex][0];
111 texres.green = colorBand[colorbandIndex][1];
112 texres.blue = colorBand[colorbandIndex][2];
113 texres.alpha = colorBand[colorbandIndex][3];
144 if (voronoiColorType != 0 || colorBand != null)
    [all...]
TextureGenerator.java 76 * This method reads the colorband data from the given texture structure.
82 * @return read colorband or null if not present
84 private ColorBand readColorband(Structure tex, BlenderContext blenderContext) {
85 ColorBand result = null;
92 result = new ColorBand(colorbandStructure);
94 LOGGER.log(Level.WARNING, "Cannot fetch the colorband structure. The reason: {0}", e.getLocalizedMessage());
101 ColorBand colorBand = this.readColorband(tex, blenderContext);
103 if(colorBand!=null) {
105 ColorBandData[] dataArray = colorBand.data
    [all...]
TextureGeneratorBlend.java 123 float[][] colorBand = this.computeColorband(tex, blenderContext);
125 Format format = colorBand != null ? Format.RGBA8 : Format.Luminance8;
126 int bytesPerPixel = colorBand != null ? 4 : 1;
142 if (colorBand != null) {
144 texres.red = colorBand[colorbandIndex][0];
145 texres.green = colorBand[colorbandIndex][1];
146 texres.blue = colorBand[colorbandIndex][2];
152 data[index++] = (byte) (colorBand[colorbandIndex][3] * 255.0f);
TextureGeneratorWood.java 81 float[][] colorBand = this.computeColorband(tex, blenderContext);
82 Format format = colorBand != null ? Format.RGBA8 : Format.Luminance8;
83 int bytesPerPixel = colorBand != null ? 4 : 1;
97 if (colorBand != null) {
99 texres.red = colorBand[colorbandIndex][0];
100 texres.green = colorBand[colorbandIndex][1];
101 texres.blue = colorBand[colorbandIndex][2];
108 data[index++] = (byte) (colorBand[colorbandIndex][3] * 255.0f);
TextureGeneratorMagic.java 132 float[][] colorBand = this.computeColorband(tex, blenderContext);
147 if (colorBand != null) {
150 texres.red = colorBand[colorbandIndex][0];
151 texres.green = colorBand[colorbandIndex][1];
152 texres.blue = colorBand[colorbandIndex][2];
153 texres.alpha = colorBand[colorbandIndex][3];

Completed in 52 milliseconds