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)
CoreExport Color HSVtoRGB (Color hsv)

Detailed Description

Function Documentation

◆ RGBtoHSV() [1/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.

◆ RGBtoHSV() [2/2]

CoreExport Color RGBtoHSV ( Color rgb)
Remarks
Converts the specified color in the RGB (red, green, blue) format to the HSV (hue, saturation, value) format.

◆ HSVtoRGB() [2/2]

CoreExport Color HSVtoRGB ( Color hsv)
Remarks
Converts the specified color in the HSV (hue, saturation, value) format to the RGB (red, green, blue) format.