admin 发表于 2024-7-25 19:43:35

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]
查看完整版本: createRapidRTRenderSettings