rage game engine free game engine

rglRenderSceneCubemapTexturesToFiles ragegl

Sulaco Home
/ News / About Rage 3D / Current Features / Download Rage 3D / License / News Archive / Our Team / Rage 3D Functions / Rage 3D Games / Screen Shots / Tutorials /

Google
 
Web www.rage-game-engine.za.net



Hosting provided by Sulaco New Media PC Support - Network and Server Support and maintenance

 Ads


rglRenderSceneCubemapTexturesToFiles ragegl

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



 Ads




SourceForge.net Logo