For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Color resolution in Graphic3d_WNTGraphicDevice

Dmitry Ledentsov's picture


I have been taking a look at the MFC Textures example and have used a picture with a smooth truecolor gradient to map on a smoothly curved surface. However, color map of the active window appears to be of a lower resolution than the graphic file with the texture.
In OCCDemo.cpp the initialization of the graphic device is in the line 39:

myGraphicDevice = new Graphic3d_WNTGraphicDevice;

The underlying class WNT_GraphicDevice has a constructor with a choice of the color mode (like Xw_TOM_BESTRAMP), but there seems to be no choice for Graphic3d_WNTGraphicDevice in the sample. How could I change the color mode to a higher one (TrueColor)?

Thanks a lot in advance


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.