procedure rglRenderSceneCubemapTexturesToFiles( const aOutputDirectory : PChar; const aCubeMapSize, aWinWidth, aWinHeight: Integer; aX, aY, aZ : Single); stdcall;
Draws a section of the current frame to a bitmap, and saves it to disk
Parameters aOutputDirectory - PChar the path where you want to save the cubemat files aCubeMapSize - Size of the cubemaps (Must be multiples of 2) aWinWidth - The current width of the window aWinHeight - The current height of the window aX, aY, aZ - The position you want to render the cubemap from (centre position)
Remark This function should be used sparingly, since it renders the scene 6 times from different angles
|