blender/projectfiles_vc9/gameengine/videotexture/TEX_Video.vcproj
Benoit Bolsee d11a5bbef2 BGE: Support mesh modifiers in the game engine.
Realtime modifiers applied on mesh objects will be supported in 
the game engine with the following limitations:

- Only real time modifiers are supported (basically all of them!)
- Virtual modifiers resulting from parenting are not supported: 
  armature, curve, lattice. You can still use these modifiers 
  (armature is really not recommended) but in non parent mode. 
  The BGE has it's own parenting capability for armature.
- Modifiers are computed on the host (using blender modifier
  stack).
- Modifiers are statically evaluated: any possible time dependency
  in the modifiers is not supported (don't know enough about
  modifiers to be more specific).
- Modifiers are reevaluated if the underlying mesh is deformed
  due to shape action or armature action. Beware that this is 
  very CPU intensive; modifiers should really be used for static
  objects only.
- Physics is still based on the original mesh: if you have a 
  mirror modifier, the physic shape will be limited to one half
  of the resulting object. Therefore, the modifiers should 
  preferably be used on graphic objects.
- Scripts have no access to the modified mesh. 
- Modifiers that are based on objects interaction (boolean,..)
  will not be dependent on the objects position in the GE.
  What you see in the 3D view is what you get in the GE regardless
  on the object position, velocity, etc.

Besides that, the feature is compatible with all the BGE features
that affect meshes: armature action, shape action, relace mesh, 
VideoTexture, add object, dupligroup.

Known problems:
- This feature is a bit hacky: the BGE uses the derived mesh draw 
  functions to display the object. This drawing method is a
  bit slow and is not 100% compatible with the BGE. There may
  be some problems in multi-texture mode: the multi-texture
  coordinates are not sent to the GPU. 
  Texface and GLSL on the other hand should be fully supported.
- Culling is still based on the extend of the original mesh. 
  If you have a modifer that extends the size of the mesh, 
  the object may disappear while still in the view frustrum.
- Derived mesh is not shared between replicas.
  The derived mesh is allocated and computed for each object
  with modifiers, regardless if they are static replicas.
- Display list are not created on objects with modifiers.
  
I should be able to fix the above problems before release.
However, the feature is already useful for game development.
Once you are ready to release the game, you can apply the modifiers
to get back display list support and mesh sharing capability.

MSVC, scons, Cmake, makefile updated.

Enjoy
/benoit
2009-04-21 11:01:09 +00:00

313 lines
9.6 KiB
XML

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="TEX_Video"
ProjectGUID="{670EC17A-0548-4BBF-A27B-636C7C188139}"
RootNamespace="TEX_Video"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="..\..\..\..\build\msvc_9\source\gameengine\videotexture\debug"
IntermediateDirectory="..\..\..\..\build\msvc_9\source\gameengine\videotexture\debug"
ConfigurationType="4"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\lib\windows\python\include\python2.5;..\..\..\..\lib\windows\ffmpeg\include;..\..\..\..\lib\windows\pthreads\include;..\..\..\source\gameengine\Ketsji;..\..\..\source\gameengine\Expressions;..\..\..\source\gameengine\GameLogic;..\..\..\source\gameengine\SceneGraph;..\..\..\source\gameengine\Rasterizer;..\..\..\source\gameengine\Rasterizer\RAS_OpenGLRasterizer;..\..\..\source\gameengine\BlenderRoutines;..\..\..\source\blender\include;..\..\..\source\blender\blenlib;..\..\..\source\blender\blenkernel;..\..\..\source\blender\makesdna;..\..\..\source\blender\imbuf;..\..\..\source\blender\python;..\..\..\source\blender\gpu;..\..\..\source\kernel\gen_system;..\..\..\intern\string;..\..\..\intern\moto\include;..\..\..\intern\guardedalloc;..\..\..\intern\SoundSystem;..\..\..\extern\glew\include;..\..\..\..\build\msvc_9\intern\guardedalloc\include"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;WITH_FFMPEG;__STDC_CONSTANT_MACROS"
StringPooling="false"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
DefaultCharIsUnsigned="true"
UsePrecompiledHeader="0"
PrecompiledHeaderFile="..\..\..\..\build\msvc_9\source\gameengine\gamelogic\debug\TEX_Video.pch"
AssemblerListingLocation="..\..\..\..\build\msvc_9\source\gameengine\videotexture\debug\"
ObjectFile="..\..\..\..\build\msvc_9\source\gameengine\videotexture\debug\"
ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\gameengine\videotexture\debug\"
WarningLevel="2"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\..\..\..\build\msvc_9\libs\debug\TEX_Video.lib"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="..\..\..\..\build\msvc_9\source\gameengine\videotexture"
IntermediateDirectory="..\..\..\..\build\msvc_9\source\gameengine\videotexture"
ConfigurationType="4"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="..\..\..\..\lib\windows\python\include\python2.5;..\..\..\..\lib\windows\ffmpeg\include;..\..\..\..\lib\windows\pthreads\include;..\..\..\source\gameengine\Ketsji;..\..\..\source\gameengine\Expressions;..\..\..\source\gameengine\GameLogic;..\..\..\source\gameengine\SceneGraph;..\..\..\source\gameengine\Rasterizer;..\..\..\source\gameengine\Rasterizer\RAS_OpenGLRasterizer;..\..\..\source\gameengine\BlenderRoutines;..\..\..\source\blender\include;..\..\..\source\blender\blenlib;..\..\..\source\blender\blenkernel;..\..\..\source\blender\makesdna;..\..\..\source\blender\imbuf;..\..\..\source\blender\python;..\..\..\source\blender\gpu;..\..\..\source\kernel\gen_system;..\..\..\intern\string;..\..\..\intern\moto\include;..\..\..\intern\guardedalloc;..\..\..\intern\SoundSystem;..\..\..\extern\glew\include;..\..\..\..\build\msvc_9\intern\guardedalloc\include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;WITH_FFMPEG;__STDC_CONSTANT_MACROS"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
DefaultCharIsUnsigned="true"
UsePrecompiledHeader="0"
PrecompiledHeaderFile="..\..\..\..\build\msvc_9\source\gameengine\gamelogic\TEX_Video.pch"
AssemblerListingLocation="..\..\..\..\build\msvc_9\source\gameengine\videotexture\"
ObjectFile="..\..\..\..\build\msvc_9\source\gameengine\videotexture\"
ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\gameengine\videotexture\"
WarningLevel="2"
Detect64BitPortabilityProblems="false"
CompileAs="0"
ShowIncludes="false"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\..\..\..\build\msvc_9\libs\TEX_Video.lib"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\blendVideoTex.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\Exception.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\FilterBase.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\FilterBlueScreen.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\FilterColor.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\FilterNormal.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\FilterSource.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\ImageBase.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\ImageBuff.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\ImageMix.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\ImageRender.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\ImageViewport.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\PyTypeList.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\Texture.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\VideoBase.cpp"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\VideoFFmpeg.cpp"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\BlendType.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\Common.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\Exception.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\FilterBase.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\FilterBlueScreen.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\FilterColor.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\FilterNormal.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\FilterSource.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\ImageBase.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\ImageBuff.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\ImageMix.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\ImageRender.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\ImageViewport.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\PyTypeList.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\Texture.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\VideoBase.h"
>
</File>
<File
RelativePath="..\..\..\source\gameengine\VideoTexture\VideoFFmpeg.h"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>