Birdman Posted June 14, 2011 Share Posted June 14, 2011 How do i set the flags for graphics function or what command i have to use to go FULLSCREEN? Im using this, but i get it windowed. Initialize(); int screenwidth = GetSystemMetrics(0); int screenheight = GetSystemMetrics(1); Graphics( screenwidth, screenheight ) ; ..CODE.. TFramework fw=CreateFramework(); while( !KeyHit() && !AppTerminate() ) { UpdateFramework(); ...CODE.. // Render RenderFramework(); Flip(); } Also im having some strange lags when some objects load, maybe map is a bit populated, any idea on what else i would need here to get better graphical performance? Quote Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted June 14, 2011 Share Posted June 14, 2011 How do i set the flags for graphics function or what command i have to use to go FULLSCREEN? Im using this, but i get it windowed. Initialize(); int screenwidth = GetSystemMetrics(0); int screenheight = GetSystemMetrics(1); Graphics( screenwidth, screenheight ) ; ..CODE.. TFramework fw=CreateFramework(); while( !KeyHit() && !AppTerminate() ) { UpdateFramework(); ...CODE.. // Render RenderFramework(); Flip(); } Also im having some strange lags when some objects load, maybe map is a bit populated, any idea on what else i would need here to get better graphical performance? try Graphics( screenwidth, screenheight,32 ) ; that'll do it for ya... --Mike Quote Link to comment Share on other sites More sharing options...
Birdman Posted June 14, 2011 Author Share Posted June 14, 2011 Great this worked, thanks. Another question, how can i set HDR or another video settings? is there a documentation on this? Quote Link to comment Share on other sites More sharing options...
Canardia Posted June 14, 2011 Share Posted June 14, 2011 SetHDR(1); It's documented in the Wiki under the Framework class. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Birdman Posted June 14, 2011 Author Share Posted June 14, 2011 Thanks guys. I will check it now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.