BCGSuite for MFC
void CBCGPChartDiagram3D::SetRenderingType ( CBCGPEngine3D::BCGP_3D_RENDERING_TYPE  rt,
BOOL  bRenderToWindow = TRUE 

Sets rendering type for 3D scene.

Call this method to set new rendering engine.

rt can be one of the following enumerated values:

  • CBCGPEngine3D::BCGP_RT_SOFTWARE - software rendering engine
  • CBCGPEngine3D::BCGP_RT_OPENGL - OpenGL rendering engine

Software rendering is enabled by default.

It's highly recommended using BCGP_RT_OPENGL for surface charts and for 3D charts with many data points.

rtSpecifies the rendering engine type.
bRenderToWindowTRUE - use "render to window" option for OpenGL engine; FALSE - use "render to memory DC" option for OpenGL engine.