Sfoglia il codice sorgente

Merge pull request #125 from gwenael-hagenmuller/myBabylonJS

Visual Studio Solution to work on BabylonJS
deltakosh 11 anni fa
parent
commit
9eacc4dfe8
100 ha cambiato i file con 1361 aggiunte e 1 eliminazioni
  1. 0 1
      Babylon/jscompaktor.bat
  2. 72 0
      BabylonJS.csproj
  3. 54 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS.sln
  4. 6 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/.gitignore
  5. 91 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS.csproj
  6. 174 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Program.cs
  7. 36 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Properties/AssemblyInfo.cs
  8. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/Mvp.Xml.dll
  9. 29 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/license.txt
  10. 2 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/readme.txt
  11. 193 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Script.cs
  12. 3 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/app.config
  13. 65 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/babylonJS.xml
  14. 60 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/babylonJS.xsd
  15. 2 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/BuildOurOwnBabylonJS.bat
  16. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/BuildOurOwnBabylonJS.exe
  17. 0 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/JSKompactor.exe
  18. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/Mvp.Xml.dll
  19. 22 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/ourOwnBabylon.js
  20. 9 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/ourOwnBabylonJS.xml
  21. 305 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/BuildOurOwnBabylonJSServer.csproj
  22. 231 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Site.css
  23. 1 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/Train.babylon
  24. 5 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/Train.babylon.manifest
  25. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/barrieres_bois.jpg
  26. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/barrieres_bois_n.jpg
  27. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bat_console_murs_ext_lm.jpg
  28. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bat_console_murs_lm.jpg
  29. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bat_lm.jpg
  30. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bosquet_grass.jpg
  31. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bosquet_grass.png
  32. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bottes_paille.jpg
  33. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bottes_paille_face.jpg
  34. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/champ_ble.jpg
  35. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/champ_ble.png
  36. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/chariot_planche.jpg
  37. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/chariot_planche_n.jpg
  38. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/chariot_roue.jpg
  39. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/chariot_roue_n.jpg
  40. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/console.jpg
  41. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/console_n.jpg
  42. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_nx.jpg
  43. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_ny.jpg
  44. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_nz.jpg
  45. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_px.jpg
  46. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_py.jpg
  47. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_pz.jpg
  48. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_nx.jpg
  49. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_ny.jpg
  50. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_nz.jpg
  51. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_px.jpg
  52. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_py.jpg
  53. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_pz.jpg
  54. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_nx.jpg
  55. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_ny.jpg
  56. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_nz.jpg
  57. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_px.jpg
  58. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_py.jpg
  59. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_pz.jpg
  60. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cuir.jpg
  61. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cuir_n.jpg
  62. 1 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/debug.txt
  63. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/disneyland_paris.jpg
  64. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/flechage.jpg
  65. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/flechage.png
  66. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/flechage2.jpg
  67. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/flechage2.png
  68. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/grass.jpg
  69. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/grass.png
  70. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/grillage.jpg
  71. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/grillage.png
  72. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/lens2.png
  73. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/lens3.png
  74. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/lens4.png
  75. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/lens5.png
  76. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/lens6.png
  77. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/metal_rouille.jpg
  78. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/metal_rouille_n.jpg
  79. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/metal_tache.jpg
  80. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/metal_tache_n.jpg
  81. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/murs_wood.jpg
  82. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/murs_wood_n.jpg
  83. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/no_signal.jpg
  84. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/paille_alpha.jpg
  85. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/paille_alpha.png
  86. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/pile_bois.jpg
  87. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/pile_bois_n.jpg
  88. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/planches.jpg
  89. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/planches_n.jpg
  90. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/poteaux.jpg
  91. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/poteaux_n.jpg
  92. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/poubelle.jpg
  93. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/poubelle_n.jpg
  94. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/rochers_big.jpg
  95. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/rochers_big_n.jpg
  96. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/rock_tunnel.jpg
  97. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/rock_tunnel_n.jpg
  98. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/sacs_sable.jpg
  99. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/sacs_sable_n.jpg
  100. 0 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/sapin_leaves.jpg

File diff suppressed because it is too large
+ 0 - 1
Babylon/jscompaktor.bat


+ 72 - 0
BabylonJS.csproj

@@ -0,0 +1,72 @@
+<?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>
+    </ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{0263AD0D-56E6-4439-BC05-6EC957200F52}</ProjectGuid>
+    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>BabylonJS</RootNamespace>
+    <AssemblyName>BabylonJS</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <UseIISExpress>false</UseIISExpress>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Content Include="cannon.js" />
+    <Content Include="babylon.*.*.*.js" />
+    <Content Include="Babylon\**\*.*" />
+    <Content Include="Typescript\**\*.*" />
+  </ItemGroup>
+  <ItemGroup>
+    <Folder Include="Properties\" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
+  <ProjectExtensions>
+    <VisualStudio>
+      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+        <WebProjectProperties>
+          <UseIIS>False</UseIIS>
+          <AutoAssignPort>True</AutoAssignPort>
+          <DevelopmentServerPort>25752</DevelopmentServerPort>
+          <DevelopmentServerVPath>/</DevelopmentServerVPath>
+          <IISUrl>
+          </IISUrl>
+          <NTLMAuthentication>False</NTLMAuthentication>
+          <UseCustomServer>False</UseCustomServer>
+          <CustomServerUrl>
+          </CustomServerUrl>
+          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+        </WebProjectProperties>
+      </FlavorProperties>
+    </VisualStudio>
+  </ProjectExtensions>
+  <!-- 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>

+ 54 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS.sln

@@ -0,0 +1,54 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BabylonJS", "..\..\BabylonJS.csproj", "{0263AD0D-56E6-4439-BC05-6EC957200F52}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BuildOurOwnBabylonJSServer", "BuildOurOwnBabylonJSServer\BuildOurOwnBabylonJSServer.csproj", "{93EF5B02-72EB-4B55-831E-E5051269EDA6}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BuildOurOwnBabylonJS", "BuildOurOwnBabylonJS\BuildOurOwnBabylonJS.csproj", "{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Debug|Mixed Platforms = Debug|Mixed Platforms
+		Debug|x86 = Debug|x86
+		Release|Any CPU = Release|Any CPU
+		Release|Mixed Platforms = Release|Mixed Platforms
+		Release|x86 = Release|x86
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|Any CPU.Build.0 = Release|Any CPU
+		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|x86.ActiveCfg = Release|Any CPU
+		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|Any CPU.Build.0 = Release|Any CPU
+		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|x86.ActiveCfg = Release|Any CPU
+		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|Any CPU.ActiveCfg = Debug|x86
+		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|Mixed Platforms.Build.0 = Debug|x86
+		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|x86.ActiveCfg = Debug|x86
+		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|x86.Build.0 = Debug|x86
+		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|Any CPU.ActiveCfg = Release|x86
+		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|Mixed Platforms.ActiveCfg = Release|x86
+		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|Mixed Platforms.Build.0 = Release|x86
+		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|x86.ActiveCfg = Release|x86
+		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|x86.Build.0 = Release|x86
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

+ 6 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/.gitignore

@@ -0,0 +1,6 @@
+# User-specific files
+executables/jskompactor.exe
+ourOwnBabylonJS.xml
+ourOwnBabylon.js
+#is in repo do have an example of command line
+BuildOurOwnBabylonJS.csproj.user 

+ 91 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS.csproj

@@ -0,0 +1,91 @@
+<?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)' == '' ">x86</Platform>
+    <ProductVersion>8.0.30703</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>BuildOurOwnBabylonJS</RootNamespace>
+    <AssemblyName>BuildOurOwnBabylonJS</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <TargetFrameworkProfile>
+    </TargetFrameworkProfile>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+    <PlatformTarget>x86</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+    <PlatformTarget>x86</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup>
+    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Mvp.Xml, Version=2.0.2158.1055, Culture=neutral, PublicKeyToken=dd92544dc05f5671, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>Refs\Mvp.Xml-bin-2.0\Mvp.Xml.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Script.cs" />
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="ourOwnBabylon.js"></Content>
+    <None Include="babylonJS.xsd">
+      <SubType>Designer</SubType>
+    </None>
+    <Content Include="Refs\Mvp.Xml-bin-2.0\license.txt" />
+    <Content Include="Refs\Mvp.Xml-bin-2.0\Mvp.Xml.dll" />
+    <Content Include="Refs\Mvp.Xml-bin-2.0\readme.txt" />
+    <Resource Include="babylonJS.xml">
+      <SubType>Designer</SubType>
+    </Resource>
+    <Content Include="executables\JSKompactor.exe">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Resource Include="ourOwnBabylonJS.xml">
+      <SubType>Designer</SubType>
+    </Resource>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="app.config" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <PropertyGroup>
+    <PostBuildEvent>
+    </PostBuildEvent>
+  </PropertyGroup>
+  <!-- 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>

+ 174 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Program.cs

@@ -0,0 +1,174 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.IO;
+using System.Reflection;
+using System.Xml.Linq;
+using System.Diagnostics;
+using Mvp.Xml.XInclude;
+using System.Xml;
+
+namespace BuildOurOwnBabylonJS
+{
+    class Program
+    {
+        static void Main(string[] args)
+        {
+            if (args.Length < 3)
+            {
+                DisplayUsage();
+                Environment.Exit(1);
+                return;
+            }
+
+            // Parsing arguments
+            var ourOwnBabylonJSXmlFilePath = "";
+            var scriptsFolderPath = "";
+            var shadersFolderPath = "";
+            var outputFolderPath = "";
+            var JSKompactorFolderPath = "";
+
+            foreach (var arg in args)
+            {
+                var order = arg.Substring(0, 3);
+
+                switch (order)
+                {
+                    case "/i:":
+                        ourOwnBabylonJSXmlFilePath = arg.Substring(3);
+                        break;
+                    case "/w:":
+                        scriptsFolderPath = arg.Substring(3);
+                        break;
+                    case "/s:":
+                        shadersFolderPath = arg.Substring(3);
+                        break;
+                    case "/o:":
+                        outputFolderPath = arg.Substring(3);
+                        break;
+                    case "/k:":
+                        JSKompactorFolderPath = arg.Substring(3);
+                        break;
+                    default:
+                        DisplayUsage();
+                        Environment.Exit(1);
+                        return;
+                }
+            }
+
+            if (String.IsNullOrEmpty(ourOwnBabylonJSXmlFilePath)
+                || String.IsNullOrEmpty(scriptsFolderPath)
+                || String.IsNullOrEmpty(shadersFolderPath)
+                || String.IsNullOrEmpty(outputFolderPath))
+            {
+                DisplayUsage();
+                Environment.Exit(1);
+                return;
+            }
+
+            try
+            {
+                ParseListOfFiles(ourOwnBabylonJSXmlFilePath);
+
+                if (String.IsNullOrEmpty(JSKompactorFolderPath))
+                    JSKompactorFolderPath = "executables";
+
+                var batchFilePath = WriteBatchFile(scriptsFolderPath, ComupteDependencies(),
+                    shadersFolderPath, outputFolderPath, JSKompactorFolderPath);
+
+                CallBatchFile(batchFilePath);
+            }
+            catch (Exception ex)
+            {
+                Error(ex);
+                Environment.Exit(1);
+            }
+
+            Environment.Exit(0);
+        }
+
+        private static void ParseListOfFiles(string path)
+        {
+            var reader = new XIncludingReader(XmlReader.Create(path));
+         
+            var document = XDocument.Load(reader);
+
+            var files = document.Root;
+
+            var scriptElements = files.Elements(Script.TAGNAME);
+
+            foreach (var scriptElement in scriptElements)
+            {
+                Script.Load(scriptElement, scriptElements);
+            }
+        }
+
+        private static IEnumerable<string> ComupteDependencies()
+        {
+            var scripts = Script.Scripts;
+
+            var result = new List<string>(scripts.Count);
+
+            foreach (var script in scripts)
+            {
+                var v = script.Value;
+                if (v == null)
+                    continue;
+
+                v.GetDependenciesList(ref result);
+            }
+
+            return result;
+        }
+
+        private static string WriteBatchFile(string scriptsFolderPath, IEnumerable<string> scripts, 
+            string shadersFolderPath, string outputFolderPath, string jskompactorPath)
+        {
+            if (scripts == null || scripts.Count() == 0)
+                throw new Exception("A list of files was not provided.");
+
+            var count = scripts.Count();
+
+            var output = "";
+
+            for (var i = count - 1; i >= 0; --i)
+            {
+                output += "," + scripts.ElementAt(i);
+            }
+
+            output = output.Substring(1);
+
+            var batchFilePath = "jskompactor.bat";
+
+            using (var batchFile = new StreamWriter(batchFilePath, false))
+            {
+                batchFile.Write("\"" + jskompactorPath + "\\JSKompactor.exe\" /i:\"" + output
+                    + "\" /o:\"" + outputFolderPath + "\\ourOwnBabylon.js\" /w:\"" + scriptsFolderPath + "\" /s:\"" + shadersFolderPath + "\"");
+            }
+
+            return batchFilePath;
+        }
+
+        private static void CallBatchFile(string batchFilePath)
+        {
+            if (String.IsNullOrEmpty(batchFilePath) || !File.Exists(batchFilePath))
+                throw new Exception("No batch file");
+            
+            Process.Start(batchFilePath);
+        }
+
+        private static void DisplayUsage()
+        {
+            Console.WriteLine("BuildOurOwnBabylonJS usage: BuildOurOwnBabylonJS.exe /w:\"Working folder\" /i:\"Path of the xml file containing list of files to merge\" /s:\"Shaders folder\" /o:\"Output folder\" [/k:\"Path to JSKompactor.exe\"]");
+        }
+
+        private static void Error(Exception ex)
+        {
+            Console.ForegroundColor = ConsoleColor.Red;
+            Console.WriteLine();
+            Console.WriteLine(ex.Message);
+            Console.ResetColor();
+        }
+    }
+}

+ 36 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("BuildOurOwnBabylonJS")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("BuildOurOwnBabylonJS")]
+[assembly: AssemblyCopyright("Copyright ©  2014")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("fbe62e1e-f16e-42ad-8fae-e9d47f37f83f")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/Mvp.Xml.dll


+ 29 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/license.txt

@@ -0,0 +1,29 @@
+Copyright (c) 2005, XMLMVP Project
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions 
+are met:
+
+* Redistributions of source code must retain the above copyright 
+  notice, this list of conditions and the following disclaimer. 
+* Redistributions in binary form must reproduce the above copyright 
+  notice, this list of conditions and the following disclaimer in 
+  the documentation and/or other materials provided with the 
+  distribution. 
+*  Neither the name of the XMLMVP Project nor the names of its 
+  contributors may be used to endorse or promote products derived
+  from this software without specific prior written permission. 
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.

+ 2 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/readme.txt

@@ -0,0 +1,2 @@
+This is version 2.0 of the Mvp.Xml library.
+Find more info at http://www.mvpxml.org

+ 193 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Script.cs

@@ -0,0 +1,193 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.IO;
+using System.Reflection;
+using System.Xml.Linq;
+
+namespace BuildOurOwnBabylonJS
+{
+    public class Script
+    {
+        public const string TAGNAME = "script";
+        public const string ID_ATTRIBUTENAME = "id";
+        public const string SRC_ATTRIBUTENAME = "src";
+        public const string DEPENDSON_TAGNAME = "dependsOn";
+        public const string SCRIPTREF_ATTRIBUTENAME = "scriptref";
+
+        private string _id;
+        public string Id { get { return _id; } }
+
+        private string _src;
+        public string Src { get { return _src; } }
+
+        private List<Script> _dependencies = Enumerable.Empty<Script>().ToList();
+        public IEnumerable<Script> Dependencies { get { return _dependencies; } }
+
+        private static Dictionary<string, Script> _scripts = new Dictionary<string, Script>();
+        public static IDictionary<string, Script> Scripts { get { return _scripts; } }
+
+        private bool _written;
+        
+        // caution: it doesn't take into account xml namespaces
+        public static Script Load(XElement scriptElement, 
+            IEnumerable<XElement> scriptElements)
+        {
+            if (scriptElement == null)
+                throw new ArgumentNullException("script");
+            if (scriptElements == null)
+                throw new ArgumentNullException("root");
+
+            if (scriptElement.Name != TAGNAME)
+                throw new Exception("Wrong tag name");
+
+            var srcAttribute = scriptElement.Attribute(SRC_ATTRIBUTENAME);
+
+            if (srcAttribute == null)
+                throw new Exception("Must have the " + SRC_ATTRIBUTENAME + " attribute");
+
+            var src = srcAttribute.Value;
+            var id = src;
+
+            var idAttribute = scriptElement.Attribute(ID_ATTRIBUTENAME);
+
+            if (idAttribute != null && !String.IsNullOrEmpty(idAttribute.Value))
+                id =  idAttribute.Value;
+
+            Script _this;
+
+            if (_scripts.TryGetValue(id, out _this))
+                return _this;
+
+            _this = new Script();
+            _this._id = id;
+            _this._src = src;
+
+            _scripts.Add(_this.Id, _this);
+
+            var dependsOnFiles = scriptElement.Elements(DEPENDSON_TAGNAME);
+
+            foreach (var dependOnFile in dependsOnFiles)
+            {
+                var scriptrefAttribute = dependOnFile.Attribute(SCRIPTREF_ATTRIBUTENAME);
+
+                if (scriptrefAttribute == null)
+                    throw new Exception(id + ": its dependency must have the " + SCRIPTREF_ATTRIBUTENAME + " attribute");
+
+                var scriptref = scriptrefAttribute.Value;
+
+                Script scriptRef;
+
+                if (!_scripts.TryGetValue(scriptref, out scriptRef))
+                {
+                    var newScriptElement = scriptElements
+                        .FirstOrDefault(script =>
+                        {
+                            var idAttr = script.Attribute(ID_ATTRIBUTENAME);
+
+                            if (idAttr == null)
+                                return false;
+
+                            return idAttr.Value == scriptref;
+                        });
+
+                    if (newScriptElement == null)
+                        throw new Exception(id +": couldn't find its dependency '" + scriptref + "'");
+
+                    scriptRef = Load(newScriptElement, scriptElements);
+                }
+
+                if (scriptRef == null)
+                    throw new Exception(id + ": couldn't find its dependency '" + scriptref + "'");
+
+                _this._dependencies.Add(scriptRef);
+            }
+
+            return _this;
+        }
+
+        public void GetDependenciesList(ref List<string> result, 
+            List<string> dependenciesLoopStack = null)
+        {
+            dependenciesLoopStack = dependenciesLoopStack ?? new List<string>(_scripts.Count);
+
+            if (dependenciesLoopStack.FirstOrDefault(src => src == _src) != null)
+                throw new Exception(_id + ": there is a dependency loop");
+
+            if (_written)
+            {
+                var dlsC = dependenciesLoopStack.Count;
+
+                if (dlsC == 0)
+                    return;
+
+                var lastId = dependenciesLoopStack[dlsC - 1];
+                
+                for(var i = 0; i < result.Count ; ++i)
+                {
+                    var tmp = result[i];
+
+                    if (tmp != _src)
+                        continue;
+
+                    var firstToAdd = -1;
+
+                    for (var j = 0 ; j < dependenciesLoopStack.Count ; ++j)
+                    {
+                        var k = 0;
+                        var dls = dependenciesLoopStack[j];
+
+                        if (firstToAdd == -1)
+                        {
+                            for (; k < i; ++k)
+                            {
+                                if (dls == result[k])
+                                    break;
+                            }
+
+                            if (k < i)
+                                continue;
+
+                            firstToAdd = j;
+                        }
+
+                        // i + j - firstToAdd should always be < result.Count - 1
+                        result[i + j - firstToAdd] = dls;
+                    }
+
+                    var moveTo = i + (dlsC - firstToAdd);
+
+                    // moveTo should always be < result.Count - 1
+
+                    if (result[moveTo] != lastId)
+                    {
+                        for (var k = result.Count - 1; k > moveTo; --k)
+                        {
+                            result[k] = result[k-1];
+                        }
+                    }
+
+                    result[moveTo] = tmp;
+
+                    break;
+                }
+
+                return;
+            }
+
+            _written = true;
+
+            dependenciesLoopStack.Add(_src);
+
+            result.Add(_src);
+            
+            foreach (var dependency in _dependencies)
+            {
+                dependency.GetDependenciesList(ref result, dependenciesLoopStack);
+            }
+
+            dependenciesLoopStack.RemoveAll(src => src == _src); // Remove(_src) should be enough
+        }
+    }
+}

+ 3 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/app.config

@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<configuration>
+<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

+ 65 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/babylonJS.xml

@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<files xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="babylonJS.xsd">
+  <script src="Babylon/Physics/babylon.physicsEngine.js"></script>
+  <script src="Babylon/Tools/babylon.filesInput.js"></script>
+  <script src="Babylon/Collisions/babylon.pickingInfo.js"></script>
+  <script src="Babylon/LensFlare/babylon.lensFlareSystem.js"></script>
+  <script src="Babylon/LensFlare/babylon.lensFlare.js"></script>
+  <script src="Babylon/PostProcess/babylon.fxaaPostProcess.js"></script>
+  <script src="Babylon/PostProcess/babylon.convolutionPostProcess.js"></script>
+  <script src="Babylon/PostProcess/babylon.blackAndWhitePostProcess.js"></script>
+  <script src="Babylon/PostProcess/babylon.refractionPostProcess.js"></script>
+  <script src="Babylon/PostProcess/babylon.blurPostProcess.js"></script>
+  <script src="Babylon/PostProcess/babylon.passPostProcess.js"></script>
+  <script src="Babylon/PostProcess/babylon.postProcessManager.js"></script>
+  <script src="Babylon/PostProcess/babylon.postProcess.js"></script>
+  <script src="Babylon/Bones/babylon.skeleton.js"></script>
+  <script src="Babylon/Bones/babylon.bone.js"></script>
+  <script src="Babylon/Culling/Octrees/babylon.octreeBlock.js"></script>
+  <script src="Babylon/Culling/Octrees/babylon.octree.js"></script>
+  <script src="Babylon/Animations/babylon.animatable.js"></script>
+  <script src="Babylon/Animations/babylon.animation.js"></script>
+  <script src="Babylon/Particles/babylon.particleSystem.js"></script>
+  <script src="Babylon/Particles/babylon.particle.js"></script>
+  <script src="Babylon/Layer/babylon.layer.js"></script>
+  <script src="Babylon/Sprites/babylon.sprite.js"></script>
+  <script src="Babylon/Sprites/babylon.spriteManager.js"></script>
+  <script src="Babylon/Tools/babylon.sceneLoader.js"></script>
+  <script src="Babylon/Tools/babylon.database.js"></script>
+  <script src="Babylon/Materials/babylon.multiMaterial.js"></script>
+  <script src="Babylon/Materials/babylon.standardMaterial.js"></script>
+  <script src="Babylon/Materials/babylon.material.js"></script>
+  <script src="Babylon/Materials/babylon.effect.js"></script>
+  <script src="Babylon/Materials/textures/babylon.videoTexture.js"></script>
+  <script src="Babylon/Materials/textures/babylon.dynamicTexture.js"></script>
+  <script src="Babylon/Materials/textures/babylon.mirrorTexture.js"></script>
+  <script src="Babylon/Materials/textures/babylon.renderTargetTexture.js"></script>
+  <script src="Babylon/Materials/textures/babylon.cubeTexture.js"></script>
+  <script src="Babylon/Materials/textures/babylon.texture.js"></script>
+  <script src="Babylon/Rendering/babylon.renderingManager.js"></script>
+  <script src="Babylon/Rendering/babylon.renderingGroup.js"></script>
+  <script src="Babylon/Materials/textures/babylon.baseTexture.js"></script>
+  <script src="Babylon/Mesh/babylon.subMesh.js"></script>
+  <script src="Babylon/Mesh/babylon.mesh.js"></script>
+  <script src="Babylon/Mesh/babylon.vertexBuffer.js"></script>
+  <script src="Babylon/babylon.scene.js"></script>
+  <script src="Babylon/Cameras/babylon.arcRotateCamera.js"></script>
+  <script src="Babylon/Cameras/babylon.deviceOrientationCamera.js"></script>
+  <script src="Babylon/Cameras/babylon.touchCamera.js"></script>
+  <script src="Babylon/Cameras/babylon.freeCamera.js"></script>
+  <script src="Babylon/Cameras/babylon.camera.js"></script>
+  <script src="Babylon/Collisions/babylon.collider.js"></script>
+  <script src="Babylon/Lights/babylon.hemisphericLight.js"></script>
+  <script src="Babylon/Lights//Shadows/babylon.shadowGenerator.js"></script>
+  <script src="Babylon/Lights/babylon.directionalLight.js"></script>
+  <script src="Babylon/Lights/babylon.spotlight.js"></script>
+  <script src="Babylon/Lights/babylon.pointLight.js"></script>
+  <script src="Babylon/Lights/babylon.light.js"></script>
+  <script src="Babylon/Culling/babylon.boundingInfo.js"></script>
+  <script src="Babylon/Culling/babylon.boundingBox.js"></script>
+  <script src="Babylon/Culling/babylon.boundingSphere.js"></script>
+  <script src="Babylon/babylon.engine.js"></script>
+  <script src="Babylon/Tools/babylon.tools.js"></script>
+  <script src="Babylon/Tools/babylon.math.js"></script>
+  <script src="Babylon/babylon.node.js"></script>
+</files>

+ 60 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/babylonJS.xsd

@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+  <xsd:import namespace="http://www.w3.org/2001/XInclude" schemaLocation="http://www.w3.org/2001/XInclude" />
+  
+  <!-- <files> -->
+  <xsd:element name="files">
+    <xsd:complexType>
+      <xsd:sequence minOccurs="0">
+        <xsd:element ref="xi:include" minOccurs="0" maxOccurs="unbounded" />
+        <xsd:element ref="script" minOccurs="0" maxOccurs="unbounded" />
+      </xsd:sequence>
+    </xsd:complexType>
+    <xsd:unique name="UniqueSrc">
+      <xsd:selector xpath="./script" />
+      <xsd:field xpath="@src" />
+    </xsd:unique>
+  </xsd:element>
+  <!-- </files> -->
+
+  <!-- END ROOT -->
+
+  <!-- FIRST LEVEL -->
+
+  <!-- <script> -->
+  <xsd:element name="script">
+    <xsd:complexType>
+      <xsd:sequence minOccurs="0">
+       <xsd:element ref="dependsOn" minOccurs="0" maxOccurs="unbounded" />
+      </xsd:sequence>
+      <xsd:attribute name="id" type="xsd:ID" use="optional" />
+      <xsd:attribute name="src" type="xsd:token" use="required" />
+    </xsd:complexType>
+    <xsd:key name="refScript">
+      <xsd:selector xpath="./script" />
+      <xsd:field xpath="@id"/>
+    </xsd:key>
+  </xsd:element>
+  <!-- </script> -->
+
+  <!-- END FIRST LEVEL -->
+
+  <!-- SECOND LEVEL -->
+
+  <!-- <dependsOn> -->
+  <xsd:element name="dependsOn">
+    <xsd:complexType>
+      <xsd:attribute name="scriptref" type="xsd:IDREF" use="required" />
+    </xsd:complexType>
+    <xsd:keyref name="keyrefScript" refer="refScript">
+      <xsd:selector xpath="./script/dependsOn" />
+      <xsd:field xpath="@scriptref" />
+    </xsd:keyref>
+  </xsd:element>
+  <!-- </dependsOn> -->
+
+  <!-- END SECOND LEVEL -->
+  
+</xsd:schema>
+

+ 2 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/BuildOurOwnBabylonJS.bat

@@ -0,0 +1,2 @@
+BuildOurOwnBabylonJS.exe /w:"..\..\..\.." /i:"..\ourOwnBabylonJS.xml" /s:"Babylon\Shaders" /o:".." /k:"."
+pause

BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/BuildOurOwnBabylonJS.exe


Babylon/JSKompactor.exe → Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/JSKompactor.exe


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/Mvp.Xml.dll


File diff suppressed because it is too large
+ 22 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/ourOwnBabylon.js


+ 9 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/ourOwnBabylonJS.xml

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<files xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="babylonJS.xsd">
+  <xi:include href="babylonJS.xml" xpointer="xpointer(//files//script)" />
+  <!-- you cannot override a <script> already defined in babylon.xml. You must modify it in babylon.js
+  to be sure that everyone will have it -->
+  <!--<script id="myFile" src="myFile.js">
+    <dependsOn scriptref="Node" />
+  </script>-->
+</files>

+ 305 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/BuildOurOwnBabylonJSServer.csproj

@@ -0,0 +1,305 @@
+<?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>
+    </ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{93EF5B02-72EB-4B55-831E-E5051269EDA6}</ProjectGuid>
+    <ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>BuildOurOwnBabylonJSServer</RootNamespace>
+    <AssemblyName>BuildOurOwnBabylonJSServer</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <MvcBuildViews>false</MvcBuildViews>
+    <UseIISExpress>false</UseIISExpress>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup>
+    <RunPostBuildEvent>Always</RunPostBuildEvent>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data.Entity" />
+    <Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
+    <Reference Include="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
+    <Reference Include="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Web.DynamicData" />
+    <Reference Include="System.Web.Entity" />
+    <Reference Include="System.Web.ApplicationServices" />
+    <Reference Include="System.ComponentModel.DataAnnotations" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Web" />
+    <Reference Include="System.Web.Extensions" />
+    <Reference Include="System.Web.Abstractions" />
+    <Reference Include="System.Web.Routing" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Configuration" />
+    <Reference Include="System.Web.Services" />
+    <Reference Include="System.EnterpriseServices" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="WebViewPageExtensions.cs" />
+    <Compile Include="Controllers\HomeController.cs" />
+    <Compile Include="Controllers\BuildOurOwnBabylonJSController.cs" />
+    <Compile Include="Global.asax.cs">
+      <DependentUpon>Global.asax</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" />
+    <Content Include="Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png" />
+    <Content Include="Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png" />
+    <Content Include="Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png" />
+    <Content Include="Content\themes\base\images\ui-bg_glass_75_dadada_1x400.png" />
+    <Content Include="Content\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png" />
+    <Content Include="Content\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png" />
+    <Content Include="Content\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png" />
+    <Content Include="Content\themes\base\images\ui-icons_222222_256x240.png" />
+    <Content Include="Content\themes\base\images\ui-icons_2e83ff_256x240.png" />
+    <Content Include="Content\themes\base\images\ui-icons_454545_256x240.png" />
+    <Content Include="Content\themes\base\images\ui-icons_888888_256x240.png" />
+    <Content Include="Content\themes\base\images\ui-icons_cd0a0a_256x240.png" />
+    <Content Include="Content\themes\base\jquery.ui.accordion.css" />
+    <Content Include="Content\themes\base\jquery.ui.all.css" />
+    <Content Include="Content\themes\base\jquery.ui.autocomplete.css" />
+    <Content Include="Content\themes\base\jquery.ui.base.css" />
+    <Content Include="Content\themes\base\jquery.ui.button.css" />
+    <Content Include="Content\themes\base\jquery.ui.core.css" />
+    <Content Include="Content\themes\base\jquery.ui.datepicker.css" />
+    <Content Include="Content\themes\base\jquery.ui.dialog.css" />
+    <Content Include="Content\themes\base\jquery.ui.progressbar.css" />
+    <Content Include="Content\themes\base\jquery.ui.resizable.css" />
+    <Content Include="Content\themes\base\jquery.ui.selectable.css" />
+    <Content Include="Content\themes\base\jquery.ui.slider.css" />
+    <Content Include="Content\themes\base\jquery.ui.tabs.css" />
+    <Content Include="Content\themes\base\jquery.ui.theme.css" />
+    <Content Include="Content\Train\barrieres_bois.jpg" />
+    <Content Include="Content\Train\barrieres_bois_n.jpg" />
+    <Content Include="Content\Train\bat_console_murs_ext_lm.jpg" />
+    <Content Include="Content\Train\bat_console_murs_lm.jpg" />
+    <Content Include="Content\Train\bat_lm.jpg" />
+    <Content Include="Content\Train\bosquet_grass.jpg" />
+    <Content Include="Content\Train\bosquet_grass.png" />
+    <Content Include="Content\Train\bottes_paille.jpg" />
+    <Content Include="Content\Train\bottes_paille_face.jpg" />
+    <Content Include="Content\Train\champ_ble.jpg" />
+    <Content Include="Content\Train\champ_ble.png" />
+    <Content Include="Content\Train\chariot_planche.jpg" />
+    <Content Include="Content\Train\chariot_planche_n.jpg" />
+    <Content Include="Content\Train\chariot_roue.jpg" />
+    <Content Include="Content\Train\chariot_roue_n.jpg" />
+    <Content Include="Content\Train\console.jpg" />
+    <Content Include="Content\Train\console_n.jpg" />
+    <Content Include="Content\Train\cubemap5_nx.jpg" />
+    <Content Include="Content\Train\cubemap5_ny.jpg" />
+    <Content Include="Content\Train\cubemap5_nz.jpg" />
+    <Content Include="Content\Train\cubemap5_px.jpg" />
+    <Content Include="Content\Train\cubemap5_py.jpg" />
+    <Content Include="Content\Train\cubemap5_pz.jpg" />
+    <Content Include="Content\Train\cubemap_nx.jpg" />
+    <Content Include="Content\Train\cubemap_ny.jpg" />
+    <Content Include="Content\Train\cubemap_nz.jpg" />
+    <Content Include="Content\Train\cubemap_px.jpg" />
+    <Content Include="Content\Train\cubemap_py.jpg" />
+    <Content Include="Content\Train\cubemap_pz.jpg" />
+    <Content Include="Content\Train\cubemap_vitres_nx.jpg" />
+    <Content Include="Content\Train\cubemap_vitres_ny.jpg" />
+    <Content Include="Content\Train\cubemap_vitres_nz.jpg" />
+    <Content Include="Content\Train\cubemap_vitres_px.jpg" />
+    <Content Include="Content\Train\cubemap_vitres_py.jpg" />
+    <Content Include="Content\Train\cubemap_vitres_pz.jpg" />
+    <Content Include="Content\Train\cuir.jpg" />
+    <Content Include="Content\Train\cuir_n.jpg" />
+    <Content Include="Content\Train\debug.txt" />
+    <Content Include="Content\Train\disneyland_paris.jpg" />
+    <Content Include="Content\Train\flechage.jpg" />
+    <Content Include="Content\Train\flechage.png" />
+    <Content Include="Content\Train\flechage2.jpg" />
+    <Content Include="Content\Train\flechage2.png" />
+    <Content Include="Content\Train\grass.jpg" />
+    <Content Include="Content\Train\grass.png" />
+    <Content Include="Content\Train\grillage.jpg" />
+    <Content Include="Content\Train\grillage.png" />
+    <Content Include="Content\Train\lens2.png" />
+    <Content Include="Content\Train\lens3.png" />
+    <Content Include="Content\Train\lens4.png" />
+    <Content Include="Content\Train\lens5.png" />
+    <Content Include="Content\Train\lens6.png" />
+    <Content Include="Content\Train\metal_rouille.jpg" />
+    <Content Include="Content\Train\metal_rouille_n.jpg" />
+    <Content Include="Content\Train\metal_tache.jpg" />
+    <Content Include="Content\Train\metal_tache_n.jpg" />
+    <Content Include="Content\Train\murs_wood.jpg" />
+    <Content Include="Content\Train\murs_wood_n.jpg" />
+    <Content Include="Content\Train\no_signal.jpg" />
+    <Content Include="Content\Train\paille_alpha.jpg" />
+    <Content Include="Content\Train\paille_alpha.png" />
+    <Content Include="Content\Train\pile_bois.jpg" />
+    <Content Include="Content\Train\pile_bois_n.jpg" />
+    <Content Include="Content\Train\planches.jpg" />
+    <Content Include="Content\Train\planches_n.jpg" />
+    <Content Include="Content\Train\poteaux.jpg" />
+    <Content Include="Content\Train\poteaux_n.jpg" />
+    <Content Include="Content\Train\poubelle.jpg" />
+    <Content Include="Content\Train\poubelle_n.jpg" />
+    <Content Include="Content\Train\rochers_big.jpg" />
+    <Content Include="Content\Train\rochers_big_n.jpg" />
+    <Content Include="Content\Train\rock_tunnel.jpg" />
+    <Content Include="Content\Train\rock_tunnel_n.jpg" />
+    <Content Include="Content\Train\sacs_sable.jpg" />
+    <Content Include="Content\Train\sacs_sable_n.jpg" />
+    <Content Include="Content\Train\sapin_leaves.jpg" />
+    <Content Include="Content\Train\sapin_leaves.png" />
+    <Content Include="Content\Train\sapin_trunk_up.jpg" />
+    <Content Include="Content\Train\sapin_trunk_up_n.jpg" />
+    <Content Include="Content\Train\skydome.jpg" />
+    <Content Include="Content\Train\smoke.png" />
+    <Content Include="Content\Train\sol_metal.jpg" />
+    <Content Include="Content\Train\sol_metal_n.jpg" />
+    <Content Include="Content\Train\terrain1.jpg" />
+    <Content Include="Content\Train\terrain1_lm.jpg" />
+    <Content Include="Content\Train\terrain1_n.jpg" />
+    <Content Include="Content\Train\terrain2.jpg" />
+    <Content Include="Content\Train\terrain2_lm.jpg" />
+    <Content Include="Content\Train\terrain2_n.jpg" />
+    <Content Include="Content\Train\terrain3.jpg" />
+    <Content Include="Content\Train\terrain3_lm.jpg" />
+    <Content Include="Content\Train\terrain3_n.jpg" />
+    <Content Include="Content\Train\terrain4.jpg" />
+    <Content Include="Content\Train\terrain4_lm.jpg" />
+    <Content Include="Content\Train\terrain4_n.jpg" />
+    <Content Include="Content\Train\terrain_clotures_lm.jpg" />
+    <Content Include="Content\Train\terrain_escalier_lm.jpg" />
+    <Content Include="Content\Train\terrain_tunnel_lm.jpg" />
+    <Content Include="Content\Train\toit_bois.jpg" />
+    <Content Include="Content\Train\toit_bois_n.jpg" />
+    <Content Include="Content\Train\tole.jpg" />
+    <Content Include="Content\Train\tole_n.jpg" />
+    <Content Include="Content\Train\tonneau.jpg" />
+    <Content Include="Content\Train\tonneau_n.jpg" />
+    <Content Include="Content\Train\tracteur.jpg" />
+    <Content Include="Content\Train\tracteur_n.jpg" />
+    <Content Include="Content\Train\train_4.jpg" />
+    <Content Include="Content\Train\train_4_n.jpg" />
+    <Content Include="Content\Train\train_cote.jpg" />
+    <Content Include="Content\Train\train_cote_n.jpg" />
+    <Content Include="Content\Train\train_loco_lm.jpg" />
+    <Content Include="Content\Train\train_wagon_lm.jpg" />
+    <Content Include="Content\Train\tronc.jpg" />
+    <Content Include="Content\Train\tronc_face.jpg" />
+    <Content Include="Content\Train\tronc_face_n.jpg" />
+    <Content Include="Content\Train\tronc_n.jpg" />
+    <Content Include="Content\Train\verre_lampes.jpg" />
+    <Content Include="Content\Train\water_n.jpg" />
+    <Content Include="Global.asax" />
+    <Content Include="Scripts\jquery-1.5.1-vsdoc.js" />
+    <Content Include="Scripts\jquery-1.5.1.js" />
+    <Content Include="Scripts\jquery-1.5.1.min.js" />
+    <Content Include="Scripts\jquery-ui-1.8.11.js" />
+    <Content Include="Scripts\jquery-ui-1.8.11.min.js" />
+    <Content Include="Scripts\jquery.validate-vsdoc.js" />
+    <Content Include="Scripts\jquery.validate.js" />
+    <Content Include="Scripts\jquery.validate.min.js" />
+    <Content Include="Scripts\modernizr-1.7.js" />
+    <Content Include="Scripts\modernizr-1.7.min.js" />
+    <Content Include="Web.config" />
+    <Content Include="Web.Debug.config">
+      <DependentUpon>Web.config</DependentUpon>
+    </Content>
+    <Content Include="Web.Release.config">
+      <DependentUpon>Web.config</DependentUpon>
+    </Content>
+    <Content Include="Content\Site.css" />
+    <Content Include="Scripts\jquery.unobtrusive-ajax.js" />
+    <Content Include="Scripts\jquery.unobtrusive-ajax.min.js" />
+    <Content Include="Scripts\jquery.validate.unobtrusive.js" />
+    <Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
+    <Content Include="Scripts\MicrosoftAjax.js" />
+    <Content Include="Scripts\MicrosoftAjax.debug.js" />
+    <Content Include="Scripts\MicrosoftMvcAjax.js" />
+    <Content Include="Scripts\MicrosoftMvcAjax.debug.js" />
+    <Content Include="Scripts\MicrosoftMvcValidation.js" />
+    <Content Include="Scripts\MicrosoftMvcValidation.debug.js" />
+    <Content Include="Views\_ViewStart.cshtml" />
+    <Content Include="Views\Home\Index.cshtml" />
+    <Content Include="Views\Shared\Error.cshtml" />
+    <Content Include="Views\Shared\_Layout.cshtml" />
+    <Content Include="Views\Web.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="packages.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Content\Train\Train.babylon" />
+    <None Include="Content\Train\Train.babylon.manifest" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\BuildOurOwnBabylonJS\BuildOurOwnBabylonJS.csproj">
+      <Project>{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}</Project>
+      <Name>BuildOurOwnBabylonJS</Name>
+      <Private>True</Private>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.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> -->
+  <Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
+    <AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
+  </Target>
+  <ProjectExtensions>
+    <VisualStudio>
+      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+        <WebProjectProperties>
+          <UseIIS>False</UseIIS>
+          <AutoAssignPort>True</AutoAssignPort>
+          <DevelopmentServerPort>46970</DevelopmentServerPort>
+          <DevelopmentServerVPath>/</DevelopmentServerVPath>
+          <IISUrl>
+          </IISUrl>
+          <NTLMAuthentication>False</NTLMAuthentication>
+          <UseCustomServer>False</UseCustomServer>
+          <CustomServerUrl>
+          </CustomServerUrl>
+          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+        </WebProjectProperties>
+      </FlavorProperties>
+    </VisualStudio>
+  </ProjectExtensions>
+  <PropertyGroup>
+    <PreBuildEvent>
+    </PreBuildEvent>
+  </PropertyGroup>
+  <PropertyGroup>
+    <PostBuildEvent>"$(SolutionDir)BuildOurOwnBabylonJS\$(OutDir)$(ConfigurationName)\BuildOurOwnBabylonJS.exe" /w:"$(SolutionDir)..\.." /i:"$(SolutionDir)BuildOurOwnBabylonJS\ourOwnBabylonJS.xml" /s:"Babylon\Shaders" /o:"$(SolutionDir)BuildOurOwnBabylonJS"</PostBuildEvent>
+  </PropertyGroup>
+</Project>

+ 231 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Site.css

@@ -0,0 +1,231 @@
+/*----------------------------------------------------------
+The base color for this template is #5c87b2. If you'd like
+to use a different color start by replacing all instances of
+#5c87b2 with your new color.
+----------------------------------------------------------*/
+
+body {
+    background-color: #000;
+    font-size: .85em;
+    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
+    margin: 0;
+    padding: 0;
+    color: #696969;
+}
+
+a:link {
+    color: #034af3;
+    text-decoration: underline;
+}
+
+a:visited {
+    color: #505abc;
+}
+
+a:hover {
+    color: #1d60ff;
+    text-decoration: none;
+}
+
+a:active {
+    color: #12eb87;
+}
+
+p, ul {
+    margin-bottom: 20px;
+    line-height: 1.6em;
+}
+
+/* HEADINGS   
+----------------------------------------------------------*/
+h1, h2, h3, h4, h5, h6 {
+    font-size: 1.5em;
+    color: #000;
+}
+
+h1 {
+    font-size: 2em;
+    padding-bottom: 0;
+    margin-bottom: 0;
+}
+
+h2 {
+    padding: 0 0 10px 0;
+}
+
+h3 {
+    font-size: 1.2em;
+}
+
+h4 {
+    font-size: 1.1em;
+}
+
+h5, h6 {
+    font-size: 1em;
+}
+
+/* PRIMARY LAYOUT ELEMENTS   
+----------------------------------------------------------*/
+
+/* you can specify a greater or lesser percentage for the 
+page width. Or, you can specify an exact pixel width. */
+
+#main
+{
+    overflow: hidden;
+    position: absolute;
+    top: 0;
+    right: 0;
+    bottom: 0;
+    left: 0;
+    padding-top: 75px;
+}
+
+#title
+{
+    height: 75px;
+    position: absolute;
+    top: 0;
+    left: 0;
+    right: 0;
+}
+
+#title h1 {
+    font-weight: bold;
+    padding: 5px 0;
+    padding-left: 15px;
+    margin: 0;
+    color: #fff;
+    border: none;
+    line-height: 2em;
+    font-size: 32px !important;
+    text-shadow: 1px 1px 2px #111;
+}
+
+#ourOwnBabylonJSCanvas {
+    width: 100%;
+    height: 100%;
+}
+
+/* FORM LAYOUT ELEMENTS   
+----------------------------------------------------------*/
+
+fieldset {
+    border: 1px solid #ddd;
+    padding: 0 1.4em 1.4em 1.4em;
+    margin: 0 0 1.5em 0;
+}
+
+legend {
+    font-size: 1.2em;
+    font-weight: bold;
+}
+
+textarea {
+    min-height: 75px;
+}
+
+input[type="text"], 
+input[type="password"] {
+    border: 1px solid #ccc;
+    padding: 2px;
+    font-size: 1.2em;
+    color: #444;
+    width: 200px;
+}
+
+select {
+    border: 1px solid #ccc;
+    padding: 2px;
+    font-size: 1.2em;
+    color: #444;
+}
+
+input[type="submit"] {
+    font-size: 1.2em;
+    padding: 5px;
+}
+
+/* TABLE
+----------------------------------------------------------*/
+
+table {
+    border: solid 1px #e8eef4;
+    border-collapse: collapse;
+}
+
+table td {
+    padding: 5px;
+    border: solid 1px #e8eef4;
+}
+
+table th {
+    padding: 6px 5px;
+    text-align: left;
+    background-color: #e8eef4;
+    border: solid 1px #e8eef4;
+}
+
+/* MISC  
+----------------------------------------------------------*/
+.clear {
+    clear: both;
+}
+
+.error {
+    color: Red;
+}
+
+div#title {
+    display: block;
+    text-align: left;
+}
+
+/* Styles for validation helpers
+-----------------------------------------------------------*/
+.field-validation-error {
+    color: #ff0000;
+}
+
+.field-validation-valid {
+    display: none;
+}
+
+.input-validation-error {
+    border: 1px solid #ff0000;
+    background-color: #ffeeee;
+}
+
+.validation-summary-errors {
+    font-weight: bold;
+    color: #ff0000;
+}
+
+.validation-summary-valid {
+    display: none;
+}
+
+/* Styles for editor and display helpers
+----------------------------------------------------------*/
+.display-label, 
+.editor-label {
+    margin: 1em 0 0 0;
+}
+
+.display-field, 
+.editor-field {
+    margin: 0.5em 0 0 0;
+}
+
+.text-box {
+    width: 30em;
+}
+
+.text-box.multi-line {
+    height: 6.5em;
+}
+
+.tri-state {
+    width: 6em;
+}

File diff suppressed because it is too large
+ 1 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/Train.babylon


+ 5 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/Train.babylon.manifest

@@ -0,0 +1,5 @@
+{
+	"version" : 3,
+	"enableSceneOffline" : true,
+	"enableTexturesOffline" : true
+}

BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/barrieres_bois.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/barrieres_bois_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bat_console_murs_ext_lm.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bat_console_murs_lm.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bat_lm.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bosquet_grass.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bosquet_grass.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bottes_paille.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/bottes_paille_face.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/champ_ble.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/champ_ble.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/chariot_planche.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/chariot_planche_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/chariot_roue.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/chariot_roue_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/console.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/console_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_nx.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_ny.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_nz.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_px.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_py.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap5_pz.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_nx.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_ny.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_nz.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_px.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_py.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_pz.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_nx.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_ny.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_nz.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_px.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_py.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cubemap_vitres_pz.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cuir.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/cuir_n.jpg


+ 1 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/debug.txt

@@ -0,0 +1 @@
+Generation of c:\Export\Train\Train.babylon successfullGeneration of c:\Export\Train\Train.babylon successfullGeneration of c:\Export\Train\Train.babylon successfullGeneration of c:\Export\Train\Train.babylon successfullGeneration of c:\Export\Train\Train.babylon successfull

BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/disneyland_paris.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/flechage.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/flechage.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/flechage2.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/flechage2.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/grass.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/grass.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/grillage.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/grillage.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/lens2.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/lens3.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/lens4.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/lens5.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/lens6.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/metal_rouille.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/metal_rouille_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/metal_tache.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/metal_tache_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/murs_wood.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/murs_wood_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/no_signal.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/paille_alpha.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/paille_alpha.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/pile_bois.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/pile_bois_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/planches.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/planches_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/poteaux.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/poteaux_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/poubelle.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/poubelle_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/rochers_big.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/rochers_big_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/rock_tunnel.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/rock_tunnel_n.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/sacs_sable.jpg


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/sacs_sable_n.jpg


+ 0 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Train/sapin_leaves.jpg


Some files were not shown because too many files changed in this diff