3ds Max C++ API Reference
Loading...
Searching...
No Matches
Color Conversion Utilities

Functions

CoreExport void RGBtoHSV (DWORD rgb, int *ho, int *so, int *vo)
CoreExport DWORD HSVtoRGB (int H, int S, int V)
CoreExport void HSVtoHWBt (int h, int s, int v, int *ho, int *w, int *bt)
CoreExport void HWBttoHSV (int h, int w, int bt, int *ho, int *s, int *v)
CoreExport Color RGBtoHSV (Color rgb)
 Converts the specified color in the HSV (hue, saturation, value) format to the RGB (red, green, blue) format.
CoreExport Color HSVtoRGB (Color hsv)
 Converts the specified color in the HSV (hue, saturation, value) format to the RGB (red, green, blue) format.

Detailed Description

Function Documentation

◆ RGBtoHSV() [1/2]

CoreExport Color RGBtoHSV ( Color rgb)

Converts the specified color in the HSV (hue, saturation, value) format to the RGB (red, green, blue) format.

◆ RGBtoHSV() [2/2]

CoreExport void RGBtoHSV ( DWORD rgb,
int * ho,
int * so,
int * vo )
Remarks
Converts the specified color in the RGB (red, green, blue) format to the HSV (hue, saturation, value) format.

◆ HSVtoRGB() [1/2]

CoreExport DWORD HSVtoRGB ( int H,
int S,
int V )
Remarks
Converts the specified color in the HSV (hue, saturation, value) format to the RGB (red, green, blue) format.

◆ HSVtoHWBt()

CoreExport void HSVtoHWBt ( int h,
int s,
int v,
int * ho,
int * w,
int * bt )
Remarks
Converts the specified color in the HSV (hue, saturation, value) format to the HWBt (hue, whiteness, blackness) format.

◆ HWBttoHSV()

CoreExport void HWBttoHSV ( int h,
int w,
int bt,
int * ho,
int * s,
int * v )
Remarks
Converts the specified color in the HWBt (hue, whiteness, blackness) format to the HSV (hue, saturation, value) format.

◆ HSVtoRGB() [2/2]

CoreExport Color HSVtoRGB ( Color hsv)

Converts the specified color in the HSV (hue, saturation, value) format to the RGB (red, green, blue) format.