createRapidRTRenderSettings
cDbRapidRTRenderSettings* createRapidRTRenderSettings(){
AcDbRapidRTRenderSettings* pRenderSettings = new AcDbRapidRTRenderSettings();
pRenderSettings->setRenderQuality(AcDbRapidRTRenderSettings::kHigh);
AcCmColor backgroundColor;
backgroundColor.setRGB(255, 255, 255); // Weiß
pRenderSettings->setBackgroundColor(backgroundColor);
pRenderSettings->setMaxNumberOfLights(10);
pRenderSettings->setEnableShadows(true);
pRenderSettings->setEnableReflections(true);
pRenderSettings->setEnableRefractions(true);
return pRenderSettings;
}
页:
[1]