{: Dynamic cube map generation demo. This a more advanced sample in which the cube map is dynamically generated. To generate a cube map, you need three items: Generating the cube map can then be performed with a single call to the memoryviewer's RenderCubeMapTextures method. Note: cube map can be used for "cool" looking reflections, but as you'll see in this demo it is not perfect, especially if the reflected objects are close to the reflecting object (cube map is generated without "knowledge" of the object that'll be used for reflecting), so use when appropriate ;) } program DynCubemapD; uses Forms, fDynCubemapD in 'fDynCubemapD.pas' {FormDynCubeMap}; {$R *.res} begin Application.Initialize; Application.CreateForm(TFormDynCubeMap, FormDynCubeMap); Application.Run; end.