[Bf-codereview] 2.5x blenderplayer (BGE) anti-aliasing & embedding (issue4431072)
dfelinto at gmail.com
dfelinto at gmail.com
Thu Apr 28 01:09:35 CEST 2011
Reviewers: bf-codereview_blender.org,
Description:
Patch originally submitted to Blender Tracker
http://projects.blender.org/tracker/?func=detail&aid=26799&group_id=9&atid=127
This patch is necessary for Burster web-plugin, but also for any other
application relying on multisampling for blenderplayer and parented
opengl window (which is currentyl supported for both Linux and OSX, and
this patch adds it to Windows).
Patch from Sebastian Korczak, with some small tweaks/cleans on my end.
From the tracker:
##############
This patch fix anti-aliasing (multisampling) implementation for win32
platform. It also gives opportunity to embed blenderplayer inside parent
window.
Usage:
blenderplayer.exe -i 123456 -m 16 file.blend
where:
123456 - parent window handler (integer, default: 0)
16 - multisample level (integer, default: 0, max: 16. Put there maximum
level you want. If not supported, player will automatically try
15,14,13,...,3,2,1)
##############
It changes ghost, so it would be nice to assure it doesn't affect
Blender.
Please review this at http://codereview.appspot.com/4431072/
Affected files:
intern/ghost/intern/GHOST_SystemWin32.cpp
intern/ghost/intern/GHOST_WindowWin32.cpp
intern/ghost/intern/GHOST_WindowWin32.h
source/gameengine/GamePlayer/ghost/GPG_Application.cpp
source/gameengine/GamePlayer/ghost/GPG_Application.h
source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
More information about the Bf-codereview
mailing list