Uses of Class
org.sunflow.image.Color
-
-
Uses of Color in org.sunflow
Methods in org.sunflow with parameters of type Color Modifier and Type Method Description voidBenchmark. imageFill(int x, int y, int w, int h, Color c, float alpha)voidBenchmark. imageUpdate(int x, int y, int w, int h, Color[] data, float[] alpha) -
Uses of Color in org.sunflow.core
Fields in org.sunflow.core declared as Color Modifier and Type Field Description (package private) ColorShadingCache.Sample. cprivate ColorLightSample. ldiffprivate ColorLightSample. lspecprivate ColorShadingState. resultMethods in org.sunflow.core that return Color Modifier and Type Method Description ColorShadingState. diffuse(Color diff)Computes a plain diffuse response to the current light samples and global illumination.ColorParameterList. getColor(java.lang.String name, Color defaultValue)Get the specified color parameter from this list.private ColorParameterList.Parameter. getColor()ColorLightSample. getDiffuseRadiance()Get diffuse radiance.ColorGIEngine. getGlobalRadiance(ShadingState state)This is an optional method for engines that contain a secondary illumination engine which can return an approximation of the global radiance in the scene (like a photon map).(package private) ColorLightServer. getGlobalRadiance(ShadingState state)ColorShadingState. getGlobalRadiance()Returns the glboal diffuse radiance estimate given by the currentGIEngineif present.ColorGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)Return the incomming irradiance due to indirect diffuse illumination at the specified surface point.(package private) ColorLightServer. getIrradiance(ShadingState state, Color diffuseReflectance)ColorShadingState. getIrradiance(Color diffuseReflectance)Gets the total irradiance reaching the current point from diffuse surfaces.ColorShader. getOpacity(ShadingState state)Returns how much light is blocked by this shader.ColorTexture. getOpacity(float x, float y)ColorTexture. getPixel(float x, float y)Gets the color at location (x,y) in the texture.ColorGlobalPhotonMapInterface. getRadiance(Point3 p, Vector3 n)Lookup the global diffuse radiance at the specified surface point.ColorShader. getRadiance(ShadingState state)Gets the radiance for a specified rendering state.ColorShadingState. getResult()Get the result of shading this pointColorLightSample. getSpecularRadiance()Get specular radiance.ColorShadingCache. lookup(ShadingState state, Shader shader)ColorShadingState. occlusion(int samples, float maxDist)Simple black and white ambient occlusion.ColorShadingState. occlusion(int samples, float maxDist, Color bright, Color dark)Ambient occlusion routine, returns a value between bright and dark depending on the amount of geometric occlusion in the scene.ColorShadingState. shade()Run the shader at this surface point.(package private) ColorLightServer. shadeHit(ShadingState state)ColorShadingState. specularPhong(Color spec, float power, int numRays)Computes a phong specular response to the current light samples and global illumination.(package private) ColorLightServer. traceGlossy(ShadingState previous, Ray r, int i)ColorShadingState. traceGlossy(Ray r, int i)Returns the color obtained by recursively tracing the specified ray.(package private) ColorLightServer. traceReflection(ShadingState previous, Ray r, int i)ColorShadingState. traceReflection(Ray r, int i)Returns the color obtained by recursively tracing the specified ray.(package private) ColorLightServer. traceRefraction(ShadingState previous, Ray r, int i)ColorShadingState. traceRefraction(Ray r, int i)Returns the color obtained by recursively tracing the specified ray.(package private) ColorLightServer. traceShadow(Ray r, ShadingState previous)(package private) ColorScene. traceShadow(Ray r, IntersectionState state)ColorShadingState. traceShadow(Ray r)Trace a shadow ray against the scene, and computes the accumulated opacity along the ray.ColorShadingState. traceTransparency()Trace transparency, this is equivalent to tracing a refraction ray in the incoming ray direction.ColorShadingState. traceTransparentShadow(float oldMaxT)Methods in org.sunflow.core with parameters of type Color Modifier and Type Method Description voidShadingCache. add(ShadingState state, Shader shader, Color c)voidParameterList. addColor(java.lang.String name, Color value)Add the specified color as a parameter.private static voidLightServer. checkNanInf(Color c)ColorShadingState. diffuse(Color diff)Computes a plain diffuse response to the current light samples and global illumination.ColorParameterList. getColor(java.lang.String name, Color defaultValue)Get the specified color parameter from this list.ColorGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)Return the incomming irradiance due to indirect diffuse illumination at the specified surface point.(package private) ColorLightServer. getIrradiance(ShadingState state, Color diffuseReflectance)ColorShadingState. getIrradiance(Color diffuseReflectance)Gets the total irradiance reaching the current point from diffuse surfaces.voidLightSource. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)Gets a photon to emit from this light source by setting each of the arguments.voidDisplay. imageFill(int x, int y, int w, int h, Color c, float alpha)Update the current image with a region of flat color.voidDisplay. imageUpdate(int x, int y, int w, int h, Color[] data, float[] alpha)Update the current image with a bucket of data.ColorShadingState. occlusion(int samples, float maxDist, Color bright, Color dark)Ambient occlusion routine, returns a value between bright and dark depending on the amount of geometric occlusion in the scene.voidShader. scatterPhoton(ShadingState state, Color power)Scatter a photon with the specied power.voidLightSample. setRadiance(Color d, Color s)Set the diffuse and specular radiance emitted by the current light source.(package private) voidShadingState. setResult(Color c)(package private) voidLightServer. shadePhoton(ShadingState state, Color power)ColorShadingState. specularPhong(Color spec, float power, int numRays)Computes a phong specular response to the current light samples and global illumination.voidPhotonStore. store(ShadingState state, Vector3 dir, Color power, Color diffuse)Store the specified photon.voidShadingState. storePhoton(Vector3 dir, Color power, Color diffuse)Records a photon at the specified location.(package private) voidLightServer. traceDiffusePhoton(ShadingState previous, Ray r, Color power)voidShadingState. traceDiffusePhoton(Ray r, Color power)Trace a new photon from the current location.(package private) voidLightServer. traceReflectionPhoton(ShadingState previous, Ray r, Color power)voidShadingState. traceReflectionPhoton(Ray r, Color power)Trace a new photon from the current location.(package private) voidLightServer. traceRefractionPhoton(ShadingState previous, Ray r, Color power)voidShadingState. traceRefractionPhoton(Ray r, Color power)Trace a new photon from the current location.Constructors in org.sunflow.core with parameters of type Color Constructor Description Parameter(Color c) -
Uses of Color in org.sunflow.core.display
Methods in org.sunflow.core.display with parameters of type Color Modifier and Type Method Description voidFastDisplay. imageFill(int x, int y, int w, int h, Color c, float alpha)voidFileDisplay. imageFill(int x, int y, int w, int h, Color c, float alpha)voidFrameDisplay. imageFill(int x, int y, int w, int h, Color c, float alpha)voidImgPipeDisplay. imageFill(int x, int y, int w, int h, Color c, float alpha)voidFastDisplay. imageUpdate(int x, int y, int w, int h, Color[] data, float[] alpha)voidFileDisplay. imageUpdate(int x, int y, int w, int h, Color[] data, float[] alpha)voidFrameDisplay. imageUpdate(int x, int y, int w, int h, Color[] data, float[] alpha)voidImgPipeDisplay. imageUpdate(int x, int y, int w, int h, Color[] data, float[] alpha) -
Uses of Color in org.sunflow.core.gi
Fields in org.sunflow.core.gi declared as Color Modifier and Type Field Description private ColorAmbientOcclusionGIEngine. brightprivate ColorAmbientOcclusionGIEngine. darkprivate ColorFakeGIEngine. ground(package private) ColorIrradianceCacheGIEngine.Sample. irr(package private) ColorInstantGI.PointLight. powerprivate ColorFakeGIEngine. skyMethods in org.sunflow.core.gi that return Color Modifier and Type Method Description ColorAmbientOcclusionGIEngine. getGlobalRadiance(ShadingState state)ColorFakeGIEngine. getGlobalRadiance(ShadingState state)ColorInstantGI. getGlobalRadiance(ShadingState state)ColorIrradianceCacheGIEngine. getGlobalRadiance(ShadingState state)ColorPathTracingGIEngine. getGlobalRadiance(ShadingState state)ColorAmbientOcclusionGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)ColorFakeGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)ColorInstantGI. getIrradiance(ShadingState state, Color diffuseReflectance)ColorIrradianceCacheGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)private ColorIrradianceCacheGIEngine. getIrradiance(Point3 p, Vector3 n)ColorPathTracingGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)Methods in org.sunflow.core.gi with parameters of type Color Modifier and Type Method Description ColorAmbientOcclusionGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)ColorFakeGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)ColorInstantGI. getIrradiance(ShadingState state, Color diffuseReflectance)ColorIrradianceCacheGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)ColorPathTracingGIEngine. getIrradiance(ShadingState state, Color diffuseReflectance)private voidIrradianceCacheGIEngine. insert(Point3 p, Vector3 n, float r0, Color irr)voidInstantGI.PointLightStore. store(ShadingState state, Vector3 dir, Color power, Color diffuse)Constructors in org.sunflow.core.gi with parameters of type Color Constructor Description Sample(Point3 p, Vector3 n, float r0, Color irr) -
Uses of Color in org.sunflow.core.light
Fields in org.sunflow.core.light declared as Color Modifier and Type Field Description private Color[]ImageBasedLight. colorsprivate ColorSunSkyLight. groundColorprivate Color[]ImageBasedLight. lowColorsprivate ColorPointLight. powerprivate ColorDirectionalSpotlight. radianceprivate ColorSphereLight. radianceprivate ColorTriangleMeshLight. radianceprivate ColorSunSkyLight. sunColorMethods in org.sunflow.core.light that return Color Modifier and Type Method Description private ColorImageBasedLight. getColor(Vector3 dir)ColorImageBasedLight. getOpacity(ShadingState state)ColorSphereLight. getOpacity(ShadingState state)ColorSunSkyLight. getOpacity(ShadingState state)ColorTriangleMeshLight. getOpacity(ShadingState state)ColorImageBasedLight. getRadiance(ShadingState state)ColorSphereLight. getRadiance(ShadingState state)ColorSunSkyLight. getRadiance(ShadingState state)ColorTriangleMeshLight. getRadiance(ShadingState state)private ColorSunSkyLight. getSkyRGB(Vector3 dir)ColorSunSkyLight. getSunColor()Methods in org.sunflow.core.light with parameters of type Color Modifier and Type Method Description private voidImageBasedLight. generateFixedSamples(Vector3[] samples, Color[] colors)voidDirectionalSpotlight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidImageBasedLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidPointLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidSphereLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidSunSkyLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidTriangleMeshLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidImageBasedLight. scatterPhoton(ShadingState state, Color power)voidSphereLight. scatterPhoton(ShadingState state, Color power)voidSunSkyLight. scatterPhoton(ShadingState state, Color power)voidTriangleMeshLight. scatterPhoton(ShadingState state, Color power) -
Uses of Color in org.sunflow.core.parser
Methods in org.sunflow.core.parser that return Color Modifier and Type Method Description protected ColorSCAsciiParser. parseColor()private ColorSCParser. parseColor() -
Uses of Color in org.sunflow.core.photonmap
Fields in org.sunflow.core.photonmap declared as Color Modifier and Type Field Description (package private) ColorGridPhotonMap.PhotonGroup. diffuse(package private) ColorGridPhotonMap.PhotonGroup. flux(package private) ColorGridPhotonMap.PhotonGroup. radianceMethods in org.sunflow.core.photonmap that return Color Modifier and Type Method Description ColorGlobalPhotonMap. getRadiance(Point3 p, Vector3 n)ColorGridPhotonMap. getRadiance(Point3 p, Vector3 n)Methods in org.sunflow.core.photonmap with parameters of type Color Modifier and Type Method Description voidCausticPhotonMap. store(ShadingState state, Vector3 dir, Color power, Color diffuse)voidGlobalPhotonMap. store(ShadingState state, Vector3 dir, Color power, Color diffuse)voidGridPhotonMap. store(ShadingState state, Vector3 dir, Color power, Color diffuse)Constructors in org.sunflow.core.photonmap with parameters of type Color Constructor Description Photon(Point3 p, Vector3 dir, Color power)Photon(Point3 p, Vector3 n, Vector3 dir, Color power, Color diffuse) -
Uses of Color in org.sunflow.core.primitive
Fields in org.sunflow.core.primitive declared as Color Modifier and Type Field Description private ColorCornellBox. backprivate ColorCornellBox. bottomprivate ColorCornellBox. leftprivate ColorCornellBox. radianceprivate ColorCornellBox. rightprivate ColorCornellBox. topMethods in org.sunflow.core.primitive that return Color Modifier and Type Method Description ColorCornellBox. getOpacity(ShadingState state)ColorHair. getOpacity(ShadingState state)ColorCornellBox. getRadiance(ShadingState state)ColorHair. getRadiance(ShadingState state)Methods in org.sunflow.core.primitive with parameters of type Color Modifier and Type Method Description voidCornellBox. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidCornellBox. scatterPhoton(ShadingState state, Color power)voidHair. scatterPhoton(ShadingState state, Color power) -
Uses of Color in org.sunflow.core.renderer
Fields in org.sunflow.core.renderer declared as Color Modifier and Type Field Description (package private) ColorBucketRenderer.ImageSample. c -
Uses of Color in org.sunflow.core.shader
Fields in org.sunflow.core.shader declared as Color Modifier and Type Field Description private ColorGlassShader. absorptionColorprivate static Color[]PrimIDShader. BORDERSprivate ColorAmbientOcclusionShader. brightprivate ColorConstantShader. cprivate ColorGlassShader. colorprivate ColorMirrorShader. colorprivate ColorAmbientOcclusionShader. darkprivate ColorDiffuseShader. diffprivate ColorPhongShader. diffprivate ColorShinyDiffuseShader. diffprivate ColorUberShader. diffprivate ColorWireframeShader. fillColorprivate ColorWireframeShader. lineColorprivate ColorAnisotropicWardShader. rhoDprivate ColorAnisotropicWardShader. rhoSprivate ColorPhongShader. specprivate ColorUberShader. specMethods in org.sunflow.core.shader that return Color Modifier and Type Method Description ColorAmbientOcclusionShader. getBrightColor(ShadingState state)ColorTexturedAmbientOcclusionShader. getBrightColor(ShadingState state)protected ColorAnisotropicWardShader. getDiffuse(ShadingState state)ColorDiffuseShader. getDiffuse(ShadingState state)protected ColorPhongShader. getDiffuse(ShadingState state)ColorShinyDiffuseShader. getDiffuse(ShadingState state)ColorTexturedDiffuseShader. getDiffuse(ShadingState state)ColorTexturedPhongShader. getDiffuse(ShadingState state)ColorTexturedShinyDiffuseShader. getDiffuse(ShadingState state)ColorTexturedWardShader. getDiffuse(ShadingState state)ColorUberShader. getDiffuse(ShadingState state)ColorWireframeShader. getFillColor(ShadingState state)ColorWireframeShader. getLineColor(ShadingState state)ColorAmbientOcclusionShader. getOpacity(ShadingState state)ColorAnisotropicWardShader. getOpacity(ShadingState state)ColorConstantShader. getOpacity(ShadingState state)ColorDiffuseShader. getOpacity(ShadingState state)ColorGlassShader. getOpacity(ShadingState state)ColorIDShader. getOpacity(ShadingState state)ColorMirrorShader. getOpacity(ShadingState state)ColorNormalShader. getOpacity(ShadingState state)ColorPhongShader. getOpacity(ShadingState state)ColorPrimIDShader. getOpacity(ShadingState state)ColorQuickGrayShader. getOpacity(ShadingState state)ColorShinyDiffuseShader. getOpacity(ShadingState state)ColorSimpleShader. getOpacity(ShadingState state)ColorTexturedDiffuseShader. getOpacity(ShadingState state)ColorTexturedPhongShader. getOpacity(ShadingState state)ColorTexturedShinyDiffuseShader. getOpacity(ShadingState state)ColorTexturedWardShader. getOpacity(ShadingState state)ColorUberShader. getOpacity(ShadingState state)ColorUVShader. getOpacity(ShadingState state)ColorViewCausticsShader. getOpacity(ShadingState state)ColorViewGlobalPhotonsShader. getOpacity(ShadingState state)ColorViewIrradianceShader. getOpacity(ShadingState state)ColorWireframeShader. getOpacity(ShadingState state)ColorAmbientOcclusionShader. getRadiance(ShadingState state)ColorAnisotropicWardShader. getRadiance(ShadingState state)ColorConstantShader. getRadiance(ShadingState state)ColorDiffuseShader. getRadiance(ShadingState state)ColorGlassShader. getRadiance(ShadingState state)ColorIDShader. getRadiance(ShadingState state)ColorMirrorShader. getRadiance(ShadingState state)ColorNormalShader. getRadiance(ShadingState state)ColorPhongShader. getRadiance(ShadingState state)ColorPrimIDShader. getRadiance(ShadingState state)ColorQuickGrayShader. getRadiance(ShadingState state)ColorShinyDiffuseShader. getRadiance(ShadingState state)ColorSimpleShader. getRadiance(ShadingState state)ColorTexturedDiffuseShader. getRadiance(ShadingState state)ColorTexturedPhongShader. getRadiance(ShadingState state)ColorTexturedShinyDiffuseShader. getRadiance(ShadingState state)ColorUberShader. getRadiance(ShadingState state)ColorUVShader. getRadiance(ShadingState state)ColorViewCausticsShader. getRadiance(ShadingState state)ColorViewGlobalPhotonsShader. getRadiance(ShadingState state)ColorViewIrradianceShader. getRadiance(ShadingState state)ColorWireframeShader. getRadiance(ShadingState state)ColorUberShader. getSpecular(ShadingState state)Methods in org.sunflow.core.shader with parameters of type Color Modifier and Type Method Description voidAmbientOcclusionShader. scatterPhoton(ShadingState state, Color power)voidAnisotropicWardShader. scatterPhoton(ShadingState state, Color power)voidConstantShader. scatterPhoton(ShadingState state, Color power)voidDiffuseShader. scatterPhoton(ShadingState state, Color power)voidGlassShader. scatterPhoton(ShadingState state, Color power)voidIDShader. scatterPhoton(ShadingState state, Color power)voidMirrorShader. scatterPhoton(ShadingState state, Color power)voidNormalShader. scatterPhoton(ShadingState state, Color power)voidPhongShader. scatterPhoton(ShadingState state, Color power)voidPrimIDShader. scatterPhoton(ShadingState state, Color power)voidQuickGrayShader. scatterPhoton(ShadingState state, Color power)voidShinyDiffuseShader. scatterPhoton(ShadingState state, Color power)voidSimpleShader. scatterPhoton(ShadingState state, Color power)voidUberShader. scatterPhoton(ShadingState state, Color power)voidUVShader. scatterPhoton(ShadingState state, Color power)voidViewCausticsShader. scatterPhoton(ShadingState state, Color power)voidViewGlobalPhotonsShader. scatterPhoton(ShadingState state, Color power)voidViewIrradianceShader. scatterPhoton(ShadingState state, Color power)voidWireframeShader. scatterPhoton(ShadingState state, Color power)Constructors in org.sunflow.core.shader with parameters of type Color Constructor Description AmbientOcclusionShader(Color c, float d) -
Uses of Color in org.sunflow.image
Fields in org.sunflow.image declared as Color Modifier and Type Field Description static ColorColor. BLACKstatic ColorColor. BLUEstatic ColorColor. CYANstatic ColorColor. GRAYstatic ColorColor. GREENstatic ColorColor. MAGENTAstatic ColorColor. REDstatic ColorColor. WHITEstatic ColorColor. YELLOWMethods in org.sunflow.image that return Color Modifier and Type Method Description ColorColor. add(Color c)static ColorColor. add(Color c1, Color c2)static ColorColor. add(Color c1, Color c2, Color dest)static ColorColor. black()static ColorColor. blend(Color c1, Color c2, float b)static ColorColor. blend(Color c1, Color c2, float b, Color dest)static ColorColor. blend(Color c1, Color c2, Color b)static ColorColor. blend(Color c1, Color c2, Color b, Color dest)ColorColor. clamp(float min, float max)ColorColor. constrainRGB()ColorRGBSpace. convertXYZtoRGB(float X, float Y, float Z)ColorRGBSpace. convertXYZtoRGB(XYZColor c)ColorColor. copy()static ColorColorFactory. createColor(java.lang.String colorspace, float... data)Creates a color value in the renderer's internal color space from a string (representing the color space name) and an array of floating point values.ColorColor. div(Color c)static ColorColor. div(Color c1, Color c2)static ColorColor. div(Color c1, Color c2, Color dest)ColorColor. exp()ColorColor. madd(float s, Color c)ColorColor. madd(Color s, Color c)ColorColor. mul(float s)static ColorColor. mul(float s, Color c)static ColorColor. mul(float s, Color c, Color dest)ColorColor. mul(Color c)static ColorColor. mul(Color c1, Color c2)static ColorColor. mul(Color c1, Color c2, Color dest)ColorColor. opposite()abstract ColorBitmap. readColor(int x, int y)ColorColor. set(float r, float g, float b)ColorColor. set(Color c)ColorColor. setRGB(int rgb)ColorColor. setRGBE(int rgbe)ColorColor. sub(Color c)static ColorColor. sub(Color c1, Color c2)static ColorColor. sub(Color c1, Color c2, Color dest)ColorColor. toLinear()ColorColor. toNonLinear()static Color[]ColorEncoder. unlinearize(Color[] color)Moves the colors in the specified array to non-linear space.static Color[]ColorEncoder. unpremult(Color[] color, float[] alpha)Undoes the premultiplication of the specified color array.static ColorColor. white()Methods in org.sunflow.image with parameters of type Color Modifier and Type Method Description ColorColor. add(Color c)static ColorColor. add(Color c1, Color c2)static ColorColor. add(Color c1, Color c2, Color dest)static ColorColor. blend(Color c1, Color c2, float b)static ColorColor. blend(Color c1, Color c2, float b, Color dest)static ColorColor. blend(Color c1, Color c2, Color b)static ColorColor. blend(Color c1, Color c2, Color b, Color dest)XYZColorRGBSpace. convertRGBtoXYZ(Color c)ColorColor. div(Color c)static ColorColor. div(Color c1, Color c2)static ColorColor. div(Color c1, Color c2, Color dest)static int[]ColorEncoder. encodeRGBE(Color[] color)Encode the specified colors using Ward's RGBE technique.static booleanColor. hasContrast(Color c1, Color c2, float thresh)ColorColor. madd(float s, Color c)ColorColor. madd(Color s, Color c)static ColorColor. mul(float s, Color c)static ColorColor. mul(float s, Color c, Color dest)ColorColor. mul(Color c)static ColorColor. mul(Color c1, Color c2)static ColorColor. mul(Color c1, Color c2, Color dest)static byte[]ColorEncoder. quantizeRGB8(Color[] color)Quantize the specified colors to 8-bit RGB format.static byte[]ColorEncoder. quantizeRGBA8(Color[] color, float[] alpha)Quantize the specified colors to 8-bit RGBA format.ColorColor. set(Color c)ColorColor. sub(Color c)static ColorColor. sub(Color c1, Color c2)static ColorColor. sub(Color c1, Color c2, Color dest)static Color[]ColorEncoder. unlinearize(Color[] color)Moves the colors in the specified array to non-linear space.static Color[]ColorEncoder. unpremult(Color[] color, float[] alpha)Undoes the premultiplication of the specified color array.voidBitmapWriter. writeTile(int x, int y, int w, int h, Color[] color, float[] alpha)Write a tile of data.Constructors in org.sunflow.image with parameters of type Color Constructor Description Color(Color c) -
Uses of Color in org.sunflow.image.formats
Fields in org.sunflow.image.formats declared as Color Modifier and Type Field Description private Color[]GenericBitmap. colorMethods in org.sunflow.image.formats that return Color Modifier and Type Method Description ColorBitmapBlack. readColor(int x, int y)ColorBitmapG8. readColor(int x, int y)ColorBitmapGA8. readColor(int x, int y)ColorBitmapRGB8. readColor(int x, int y)ColorBitmapRGBA8. readColor(int x, int y)ColorBitmapRGBE. readColor(int x, int y)ColorBitmapXYZ. readColor(int x, int y)ColorGenericBitmap. readColor(int x, int y)Methods in org.sunflow.image.formats with parameters of type Color Modifier and Type Method Description voidGenericBitmap. writePixel(int x, int y, Color c, float a) -
Uses of Color in org.sunflow.image.writers
Methods in org.sunflow.image.writers with parameters of type Color Modifier and Type Method Description private voidEXRBitmapWriter. writeEXRTile(int tileX, int tileY, int w, int h, Color[] tile, float[] alpha)voidEXRBitmapWriter. writeTile(int x, int y, int w, int h, Color[] color, float[] alpha)voidHDRBitmapWriter. writeTile(int x, int y, int w, int h, Color[] color, float[] alpha)voidIGIBitmapWriter. writeTile(int x, int y, int w, int h, Color[] color, float[] alpha)voidPNGBitmapWriter. writeTile(int x, int y, int w, int h, Color[] color, float[] alpha)voidTGABitmapWriter. writeTile(int x, int y, int w, int h, Color[] color, float[] alpha) -
Uses of Color in org.sunflow.system
Methods in org.sunflow.system with parameters of type Color Modifier and Type Method Description voidImagePanel. imageFill(int x, int y, int w, int h, Color c, float alpha)voidImagePanel. imageUpdate(int x, int y, int w, int h, Color[] data, float[] alpha)
-