Permalink
Browse files

Added a basic demo, which show an error in lighting with the DynamicB…

…atchRenderer.
  • Loading branch information...
1 parent c912908 commit b2bba09366729c5a932d84e52785962678012255 Thomas Gravgaard committed Feb 28, 2012
Showing with 1,265 additions and 1 deletion.
  1. +3 −1 .gitignore
  2. +66 −0 Demos/AnimationAndLight/Assembly-CSharp-Editor-vs.csproj
  3. +66 −0 Demos/AnimationAndLight/Assembly-CSharp-Editor.csproj
  4. +65 −0 Demos/AnimationAndLight/Assembly-CSharp-vs.csproj
  5. +65 −0 Demos/AnimationAndLight/Assembly-CSharp.csproj
  6. BIN Demos/AnimationAndLight/Assembly-CSharp.pidb
  7. BIN Demos/AnimationAndLight/Assets/CubeAnimation.anim
  8. +30 −0 Demos/AnimationAndLight/Assets/Editor/FFWD/ExportSceneWizard.config
  9. +586 −0 Demos/AnimationAndLight/Assets/Editor/FFWD/ExportSceneWizard.cs
  10. +30 −0 Demos/AnimationAndLight/Assets/Editor/FFWD/PolygonColliderEditor.cs
  11. BIN Demos/AnimationAndLight/Assets/Editor/FFWD/PressPlay.FFWD.Exporter.dll
  12. +39 −0 Demos/AnimationAndLight/Assets/Editor/FFWD/PressPlay.FFWD.Exporter.dll.config
  13. +12 −0 Demos/AnimationAndLight/Assets/FFWD/ContentSerializerIgnoreAttribute.cs
  14. +14 −0 Demos/AnimationAndLight/Assets/FFWD/FFWD_DontExportAttribute.cs
  15. +11 −0 Demos/AnimationAndLight/Assets/FFWD/FFWD_ExportAsResourceAttribute.cs
  16. +20 −0 Demos/AnimationAndLight/Assets/FFWD/FFWD_ExportOptionsAttribute.cs
  17. +78 −0 Demos/AnimationAndLight/Assets/FFWD/FFWD_PolygonCollider.cs
  18. +23 −0 Demos/AnimationAndLight/Assets/FFWD/XNAEllipsoidParticleEmitter.cs
  19. +42 −0 Demos/AnimationAndLight/Assets/FFWD/XNALineRendererExport.cs
  20. +13 −0 Demos/AnimationAndLight/Assets/FFWD/XNAMeshCollider.cs
  21. BIN Demos/AnimationAndLight/Assets/Scenes/TestScene.unity
  22. BIN Demos/AnimationAndLight/ProjectSettings/AudioManager.asset
  23. BIN Demos/AnimationAndLight/ProjectSettings/DynamicsManager.asset
  24. BIN Demos/AnimationAndLight/ProjectSettings/EditorBuildSettings.asset
  25. BIN Demos/AnimationAndLight/ProjectSettings/EditorSettings.asset
  26. BIN Demos/AnimationAndLight/ProjectSettings/InputManager.asset
  27. BIN Demos/AnimationAndLight/ProjectSettings/NavMeshLayers.asset
  28. BIN Demos/AnimationAndLight/ProjectSettings/NetworkManager.asset
  29. BIN Demos/AnimationAndLight/ProjectSettings/ProjectSettings.asset
  30. BIN Demos/AnimationAndLight/ProjectSettings/QualitySettings.asset
  31. BIN Demos/AnimationAndLight/ProjectSettings/TagManager.asset
  32. BIN Demos/AnimationAndLight/ProjectSettings/TimeManager.asset
  33. +45 −0 Demos/AnimationAndLight/Unity-csharp.sln
  34. +45 −0 Demos/AnimationAndLight/Unity.sln
  35. +12 −0 Demos/AnimationAndLight/Unity.userprefs
View
@@ -45,4 +45,6 @@ obj/
/Tests/Unity.Tests/Library
/Tests/Unity.Tests/Temp
/Exporter/PressPlay.FFWD.Unity.AfterBuild.bat
-/Exporter/PressPlay.FFWD.Exporter.AfterBuild.bat
+/Exporter/PressPlay.FFWD.Exporter.AfterBuild.bat
+/Demos/*/Temp
+/Demos/*/Library
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{6311E6C6-0A20-383B-320B-694068DE37A5}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace></RootNamespace>
+ <AssemblyName>Assembly-CSharp-Editor</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Temp\bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;UNITY_3_5_0;UNITY_3_5;UNITY_EDITOR;ENABLE_PROFILER;UNITY_STANDALONE_WIN;ENABLE_GENERICS;ENABLE_DUCK_TYPING;ENABLE_TERRAIN;ENABLE_MOVIES;ENABLE_WEBCAM;ENABLE_MICROPHONE;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW;ENABLE_SUBSTANCE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Temp\bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.XML" />
+ <Reference Include="System.Core" />
+ <Reference Include="UnityEngine">
+ <HintPath>C:/Program Files (x86)/Unity 3.5.0f5/Editor/Data/Managed/UnityEngine.dll</HintPath>
+ </Reference>
+ <Reference Include="UnityEditor">
+ <HintPath>C:/Program Files (x86)/Unity 3.5.0f5/Editor/Data/Managed/UnityEditor.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Assets\Editor\FFWD\ExportSceneWizard.cs" />
+ <Compile Include="Assets\Editor\FFWD\PolygonColliderEditor.cs" />
+ <Reference Include="PressPlay.FFWD.Exporter">
+ <HintPath>Assets\Editor\FFWD\PressPlay.FFWD.Exporter.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Assembly-CSharp-vs.csproj">
+ <Project>{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}</Project> <Name>Assembly-CSharp-vs</Name> </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+
+</Project>
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{6311E6C6-0A20-383B-320B-694068DE37A5}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace></RootNamespace>
+ <AssemblyName>Assembly-CSharp-Editor</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Temp\bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;UNITY_3_5_0;UNITY_3_5;UNITY_EDITOR;ENABLE_PROFILER;UNITY_STANDALONE_WIN;ENABLE_GENERICS;ENABLE_DUCK_TYPING;ENABLE_TERRAIN;ENABLE_MOVIES;ENABLE_WEBCAM;ENABLE_MICROPHONE;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW;ENABLE_SUBSTANCE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Temp\bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.XML" />
+ <Reference Include="System.Core" />
+ <Reference Include="UnityEngine">
+ <HintPath>C:/Program Files (x86)/Unity 3.5.0f5/Editor/Data/Managed/UnityEngine.dll</HintPath>
+ </Reference>
+ <Reference Include="UnityEditor">
+ <HintPath>C:/Program Files (x86)/Unity 3.5.0f5/Editor/Data/Managed/UnityEditor.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Assets\Editor\FFWD\ExportSceneWizard.cs" />
+ <Compile Include="Assets\Editor\FFWD\PolygonColliderEditor.cs" />
+ <Reference Include="PressPlay.FFWD.Exporter">
+ <HintPath>Assets\Editor\FFWD\PressPlay.FFWD.Exporter.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Assembly-CSharp.csproj">
+ <Project>{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}</Project> <Name>Assembly-CSharp</Name> </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+
+</Project>
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace></RootNamespace>
+ <AssemblyName>Assembly-CSharp</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Temp\bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;UNITY_3_5_0;UNITY_3_5;UNITY_EDITOR;ENABLE_PROFILER;UNITY_STANDALONE_WIN;ENABLE_GENERICS;ENABLE_DUCK_TYPING;ENABLE_TERRAIN;ENABLE_MOVIES;ENABLE_WEBCAM;ENABLE_MICROPHONE;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW;ENABLE_SUBSTANCE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Temp\bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.XML" />
+ <Reference Include="System.Core" />
+ <Reference Include="UnityEngine">
+ <HintPath>C:/Program Files (x86)/Unity 3.5.0f5/Editor/Data/Managed/UnityEngine.dll</HintPath>
+ </Reference>
+ <Reference Include="UnityEditor">
+ <HintPath>C:/Program Files (x86)/Unity 3.5.0f5/Editor/Data/Managed/UnityEditor.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Assets\FFWD\ContentSerializerIgnoreAttribute.cs" />
+ <Compile Include="Assets\FFWD\FFWD_DontExportAttribute.cs" />
+ <Compile Include="Assets\FFWD\FFWD_ExportAsResourceAttribute.cs" />
+ <Compile Include="Assets\FFWD\FFWD_ExportOptionsAttribute.cs" />
+ <Compile Include="Assets\FFWD\FFWD_PolygonCollider.cs" />
+ <Compile Include="Assets\FFWD\XNAEllipsoidParticleEmitter.cs" />
+ <Compile Include="Assets\FFWD\XNALineRendererExport.cs" />
+ <Compile Include="Assets\FFWD\XNAMeshCollider.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+
+</Project>
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace></RootNamespace>
+ <AssemblyName>Assembly-CSharp</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Temp\bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;UNITY_3_5_0;UNITY_3_5;UNITY_EDITOR;ENABLE_PROFILER;UNITY_STANDALONE_WIN;ENABLE_GENERICS;ENABLE_DUCK_TYPING;ENABLE_TERRAIN;ENABLE_MOVIES;ENABLE_WEBCAM;ENABLE_MICROPHONE;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW;ENABLE_SUBSTANCE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Temp\bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.XML" />
+ <Reference Include="System.Core" />
+ <Reference Include="UnityEngine">
+ <HintPath>C:/Program Files (x86)/Unity 3.5.0f5/Editor/Data/Managed/UnityEngine.dll</HintPath>
+ </Reference>
+ <Reference Include="UnityEditor">
+ <HintPath>C:/Program Files (x86)/Unity 3.5.0f5/Editor/Data/Managed/UnityEditor.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Assets\FFWD\ContentSerializerIgnoreAttribute.cs" />
+ <Compile Include="Assets\FFWD\FFWD_DontExportAttribute.cs" />
+ <Compile Include="Assets\FFWD\FFWD_ExportAsResourceAttribute.cs" />
+ <Compile Include="Assets\FFWD\FFWD_ExportOptionsAttribute.cs" />
+ <Compile Include="Assets\FFWD\FFWD_PolygonCollider.cs" />
+ <Compile Include="Assets\FFWD\XNAEllipsoidParticleEmitter.cs" />
+ <Compile Include="Assets\FFWD\XNALineRendererExport.cs" />
+ <Compile Include="Assets\FFWD\XNAMeshCollider.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+
+</Project>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ExportConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <scriptNamespace />
+ <xnaAssets>
+ <TextureDir>FFWD.Template.Content</TextureDir>
+ <AudioDir>FFWD.Template.Content</AudioDir>
+ <MeshDir>FFWD.Template.XmlContent</MeshDir>
+ <ScriptDir>FFWD.Template.Scripts</ScriptDir>
+ <XmlDir>FFWD.Template.XmlContent</XmlDir>
+ </xnaAssets>
+ <unityScriptDir>Scripts</unityScriptDir>
+ <exportDir>FFWD.Template.XmlContent</exportDir>
+ <configSource>Editor\FFWD\PressPlay.FFWD.Exporter.dll.config</configSource>
+ <showComponentsNotWritten>true</showComponentsNotWritten>
+ <groups>
+ <SceneGroup>
+ <name>Main scenes</name>
+ <baseSceneDir>Assets\Scenes</baseSceneDir>
+ <validationScript />
+ <scenes>
+ <string>TestScene</string>
+ </scenes>
+ </SceneGroup>
+ </groups>
+ <allowedSkippedComponents />
+ <excludedScripts>
+ <string>AssemblyInfo</string>
+ </excludedScripts>
+ <excludedPaths />
+</ExportConfig>
Oops, something went wrong.

0 comments on commit b2bba09

Please sign in to comment.