Win32 Blender 2.48a Optimized with an fast GE optimization
made by Jorgie(me)
Win32 Blender 2.48a Unoptimized with an fast GE optimization
made by Jorgie(me)
These builds has reverted a commit that keeps a BGE optimization inside Blender made some time ago but was removed from the trunk because some had graphics card glitches because of it, the optimization is still in the blenderplayer though.
These builds are for us who don´t get graphics card glitches from this optimization.
In the official 2.48a build I get 274fps from my game, with the old optimization(Unoptimized) i get 348fps and with old optimization, Fast math and SSE2(Optimized) i get 358fps which is about 30% speedup for me.
Note that some people get huge permonace difference some get less.
Here how to apply the previous GE optimization back on your builds for those who are interested:
open the file trunk/blender/source/blender/src/ghostwinlay.c from Blender source code folder and somewhere around line 478 change this
void window_swap_buffers(Window *win) {
#ifdef _WIN32
// adding a glFinish() here is to prevent Geforce in 'full scene antialias' mode
// from antialising the Blender window. Officially a swapbuffers does a glFinish
// itself, so this feels really like a hack... but it won't harm. (ton)
//
// moved it here from ghost because it is a performance killer for
// the game engine,
// glFinish forces synchronization with the graphics card and calling it is strongly
// discouraged for good performance. (brecht)
//
glFinish();
#endif
GHOST_SwapWindowBuffers(win->ghostwin);
}
to this
void window_swap_buffers(Window *win) {
GHOST_SwapWindowBuffers(win->ghostwin);
}
I recommend that you also add Fast math and SSE to your builds it speeds up some frames to your game.
Can people who has other OS:s please test 2.48RC and compare it to 2.48a and report back if they see signicant performance loss or not(remember to Enable all frames in the Game menu and turn off VSync/VerticalSync when testing).
If that´s the case then I hope someone with that OS can try compile 2.48a with the this code change.
For those who want to start building their own Blender check this tutorials out
Easy
http://mikepan.homeip.net/compileblender2
Advanced
http://mikepan.homeip.net/compileblender
The one I use
http://www.geneome.net/blender-tutorials/building-blender-with-msvc-using-cmake/
Jorge