blender/source/gameengine/Rasterizer
Dalai Felinto c56fe3efe6 Patch [#26799] 2.5x blenderplayer (BGE) anti-aliasing & embedding by Sebastian Korczak (with some small tweaks) + adding GHOST_PRINTF
The patch can also be found in http://codereview.appspot.com/4431072/

##############
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)
##############

This patch was originally created as part of the Burster (aka webplugin) project but benefit any one embedding the bge in a custom OpenGL context. By the way, to embed the BGE in a .Net application is really straightforward now =)
The Multisampling work for blenderplayer as a whole.

Missing functionalities:
- to expose the multisampling to the ui (so far it only works in console)
- window focus and keyboard messages for embedded blenderplayer (supported in their previous patch for 2.49, yet to be ported over)
- handle resizing (to be investigated, indeed the changes in getState() in GHOST_WindowWin32.cpp are going to get in the way of that if I'm not mistaken. To be addressed together.

Doxygen documentation to be added whenever I sort out how to do so. Sorry Nathan too many stuff to deal with at the same time. The sooner this patch gets in, the sooner the missing functionalities can be patched on top of that.
2011-05-04 01:50:17 +00:00
..
RAS_OpenGLFilters doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_OpenGLRasterizer Patch [#26799] 2.5x blenderplayer (BGE) anti-aliasing & embedding by Sebastian Korczak (with some small tweaks) + adding GHOST_PRINTF 2011-05-04 01:50:17 +00:00
CMakeLists.txt add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew library. 2011-04-05 23:31:01 +00:00
RAS_2DFilterManager.cpp doxygen: gameengine/Rasterizer tagged. 2011-02-25 13:38:24 +00:00
RAS_2DFilterManager.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_BucketManager.cpp doxygen: gameengine/Rasterizer tagged. 2011-02-25 13:38:24 +00:00
RAS_BucketManager.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_CameraData.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_Deformer.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_FramingManager.cpp doxygen: gameengine/Rasterizer tagged. 2011-02-25 13:38:24 +00:00
RAS_FramingManager.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_ICanvas.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_IPolygonMaterial.cpp BGE internal cosmetic changes - Replacing hardcoded values with new defines 2011-03-07 19:14:17 +00:00
RAS_IPolygonMaterial.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_IRasterizer.h BGE internal cosmetic changes - Replacing hardcoded values with new defines 2011-03-07 19:14:17 +00:00
RAS_IRenderTools.cpp doxygen: gameengine/Rasterizer tagged. 2011-02-25 13:38:24 +00:00
RAS_IRenderTools.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_LightObject.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_MaterialBucket.cpp doxygen: gameengine/Rasterizer tagged. 2011-02-25 13:38:24 +00:00
RAS_MaterialBucket.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_MeshObject.cpp doxygen: gameengine/Rasterizer tagged. 2011-02-25 13:38:24 +00:00
RAS_MeshObject.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_ObjectColor.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_Polygon.cpp doxygen: gameengine/Rasterizer tagged. 2011-02-25 13:38:24 +00:00
RAS_Polygon.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_Rect.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_texmatrix.cpp doxygen: gameengine/Rasterizer tagged. 2011-02-25 13:38:24 +00:00
RAS_TexMatrix.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
RAS_TexVert.cpp doxygen: gameengine/Rasterizer tagged. 2011-02-25 13:38:24 +00:00
RAS_TexVert.h doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
SConscript rename libs internal libs for CMake + SCons (used in MSVC project files) 2010-11-18 11:42:05 +00:00