David Catuhe пре 8 година
родитељ
комит
463687f795

+ 0 - 573
Babylon.csproj

@@ -1,573 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
-  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>
-    </ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}</ProjectGuid>
-    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>BabylonExport</RootNamespace>
-    <AssemblyName>Babylon</AssemblyName>
-    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
-    <UseIISExpress>true</UseIISExpress>
-    <IISExpressSSLPort />
-    <IISExpressAnonymousAuthentication />
-    <IISExpressWindowsAuthentication />
-    <IISExpressUseClassicPipelineMode />
-    <SccProjectName>SAK</SccProjectName>
-    <SccLocalPath>SAK</SccLocalPath>
-    <SccAuxPath>SAK</SccAuxPath>
-    <SccProvider>SAK</SccProvider>
-    <TypeScriptToolsVersion>2.1</TypeScriptToolsVersion>
-    <UseGlobalApplicationHostFile />
-  </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>
-    <Reference Include="Microsoft.CSharp" />
-    <Reference Include="System.Web.DynamicData" />
-    <Reference Include="System.Web.Entity" />
-    <Reference Include="System.Web.ApplicationServices" />
-    <Reference Include="System.ComponentModel.DataAnnotations" />
-    <Reference Include="System" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Core" />
-    <Reference Include="System.Data.DataSetExtensions" />
-    <Reference Include="System.Web.Extensions" />
-    <Reference Include="System.Xml.Linq" />
-    <Reference Include="System.Drawing" />
-    <Reference Include="System.Web" />
-    <Reference Include="System.Xml" />
-    <Reference Include="System.Configuration" />
-    <Reference Include="System.Web.Services" />
-    <Reference Include="System.EnterpriseServices" />
-  </ItemGroup>
-  <ItemGroup>
-    <Content Include="Playground\babylon.d.txt" />
-    <Content Include="Playground\debug.html" />
-    <Content Include="Playground\index-local.html" />
-    <Content Include="Playground\sounds\gunshot.wav" />
-    <Content Include="Playground\sounds\violons11.wav" />
-    <Content Include="Playground\textures\albedo.png" />
-    <Content Include="Playground\textures\reflectivity.png" />
-    <Content Include="Playground\textures\room.hdr" />
-    <Content Include="Playground\package.json" />
-    <Content Include="src\Shaders\glowBlurPostProcess.fragment.fx" />
-    <Content Include="src\Shaders\glowMapGeneration.fragment.fx" />
-    <Content Include="src\Shaders\glowMapGeneration.vertex.fx" />
-    <Content Include="src\Shaders\glowMapMerge.fragment.fx" />
-    <Content Include="src\Shaders\glowMapMerge.vertex.fx" />
-    <None Include="Web.Debug.config">
-      <DependentUpon>Web.config</DependentUpon>
-    </None>
-    <None Include="Web.Release.config">
-      <DependentUpon>Web.config</DependentUpon>
-    </None>
-    <Content Include="Playground\frame.css" />
-    <Content Include="Playground\frame.js" />
-    <Content Include="Playground\scripts\pbr.js" />
-    <Content Include="Playground\scripts\refraction and reflection.js" />
-    <Content Include="Playground\frame.html" />
-    <Content Include="Playground\textures\mask.png" />
-    <Content Include="Playground\hand.minified-1.2.js" />
-    <Content Include="Playground\textures\equirectangular.jpg" />
-    <Content Include="Playground\textures\sphereMap.png" />
-    <Content Include="Playground\textures\waterbump.png" />
-    <TypeScriptCompile Include="src\Actions\babylon.action.ts" />
-    <TypeScriptCompile Include="src\Actions\babylon.actionManager.ts" />
-    <TypeScriptCompile Include="src\Actions\babylon.condition.ts" />
-    <TypeScriptCompile Include="src\Actions\babylon.directActions.ts" />
-    <TypeScriptCompile Include="src\Actions\babylon.interpolateValueAction.ts" />
-    <TypeScriptCompile Include="src\Animations\babylon.easing.ts" />
-    <TypeScriptCompile Include="src\Audio\babylon.analyser.ts" />
-    <TypeScriptCompile Include="src\Audio\babylon.audioEngine.ts" />
-    <TypeScriptCompile Include="src\Audio\babylon.sound.ts" />
-    <TypeScriptCompile Include="src\Audio\babylon.soundtrack.ts" />
-    <TypeScriptCompile Include="src\Bones\babylon.bone.ts" />
-    <TypeScriptCompile Include="src\Bones\babylon.skeleton.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.arcRotateCameraInputsManager.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.cameraInputsManager.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.followCamera.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.freeCameraInputsManager.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.gamepadCamera.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.stereoscopicCameras.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.targetCamera.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.universalCamera.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.touchCamera.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.deviceOrientationCamera.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.virtualJoysticksCamera.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.arcrotatecamera.input.gamepad.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.arcrotatecamera.input.keyboard.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.arcrotatecamera.input.mousewheel.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.arcrotatecamera.input.pointers.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.freecamera.input.deviceorientation.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.freecamera.input.gamepad.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.freecamera.input.keyboard.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.freecamera.input.mouse.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.freecamera.input.touch.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.freecamera.input.virtualjoystick.ts" />
-    <TypeScriptCompile Include="src\Cameras\Inputs\babylon.arcrotatecamera.input.vrdeviceorientation.ts" />
-    <TypeScriptCompile Include="src\Cameras\VR\babylon.vrCameraMetrics.ts" />
-    <TypeScriptCompile Include="src\Cameras\VR\babylon.vrDeviceOrientationCamera.ts" />
-    <TypeScriptCompile Include="src\Cameras\VR\babylon.webVRCamera.ts" />
-    <TypeScriptCompile Include="src\Collisions\babylon.collisionCoordinator.ts" />
-    <TypeScriptCompile Include="src\Collisions\babylon.collisionWorker.ts" />
-    <TypeScriptCompile Include="src\Culling\babylon.ray.ts" />
-    <TypeScriptCompile Include="src\Debug\babylon.axesViewer.ts" />
-    <TypeScriptCompile Include="src\Debug\babylon.boneAxesViewer.ts" />
-    <TypeScriptCompile Include="src\Debug\babylon.skeletonViewer.ts" />
-    <TypeScriptCompile Include="src\Debug\babylon.debugLayer.ts" />
-    <TypeScriptCompile Include="src\Debug\babylon.physicsViewer.ts" />
-    <TypeScriptCompile Include="src\Layer\babylon.highlightlayer.ts" />
-    <TypeScriptCompile Include="src\Loading\babylon.sceneLoader.ts" />
-    <TypeScriptCompile Include="src\Loading\Plugins\babylon.babylonFileLoader.ts" />
-    <TypeScriptCompile Include="src\Materials\babylon.colorCurves.ts" />
-    <TypeScriptCompile Include="src\Materials\babylon.effect.ts" />
-    <TypeScriptCompile Include="src\Materials\babylon.fresnelParameters.ts" />
-    <TypeScriptCompile Include="src\Materials\babylon.material.ts" />
-    <TypeScriptCompile Include="src\Materials\babylon.materialHelper.ts" />
-    <TypeScriptCompile Include="src\Materials\babylon.multiMaterial.ts" />
-    <TypeScriptCompile Include="src\Materials\babylon.pbrMaterial.ts" />
-    <TypeScriptCompile Include="src\Materials\babylon.shaderMaterial.ts" />
-    <TypeScriptCompile Include="src\Materials\babylon.standardMaterial.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.baseTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.colorGradingTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.cubeTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.dynamicTexture.ts" />
-    <TypeScriptCompile Include="canvas2D\src\Engine\babylon.fontTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.mapTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.refractionTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.mirrorTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.rawTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.renderTargetTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.texture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.videoTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\babylon.hdrCubeTexture.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.buffer.ts" />
-    <TypeScriptCompile Include="src\Physics\babylon.physicsImpostor.ts" />
-    <TypeScriptCompile Include="src\Physics\babylon.physicsJoint.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.standardRenderingPipeline.ts" />
-    <TypeScriptCompile Include="src\States\babylon.alphaCullingState.ts" />
-    <TypeScriptCompile Include="src\States\babylon.depthCullingState.ts" />
-    <TypeScriptCompile Include="src\States\babylon.stencilState.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.decorators.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.dynamicFloatArray.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.earcut.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.khronosTextureContainer.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.observable.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.rectPackingMap.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.stringDictionary.ts" />
-    <TypeScriptCompile Include="src\Tools\HDR\babylon.tools.cubemapToSphericalPolynomial.ts" />
-    <TypeScriptCompile Include="src\Tools\HDR\babylon.tools.hdr.ts" />
-    <TypeScriptCompile Include="src\Tools\HDR\babylon.tools.panoramaToCubemap.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\Procedurals\babylon.customProceduralTexture.ts" />
-    <TypeScriptCompile Include="src\Materials\Textures\Procedurals\babylon.proceduralTexture.ts" />
-    <TypeScriptCompile Include="src\Math\babylon.math.SIMD.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.abstractMesh.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.geometry.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.groundMesh.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.instancedMesh.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.linesMesh.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.meshBuilder.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.meshLODLevel.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.meshSimplification.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.polygonMesh.ts" />
-    <TypeScriptCompile Include="src\Particles\babylon.solidParticle.ts" />
-    <TypeScriptCompile Include="src\Particles\babylon.solidParticleSystem.ts" />
-    <TypeScriptCompile Include="src\Physics\Plugins\babylon.oimoJSPlugin.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.colorCorrectionPostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.displayPassPostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.filterPostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.convolutionPostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.fxaaPostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.hdrRenderingPipeline.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.lensRenderingPipeline.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.ssaoRenderingPipeline.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.stereoscopicInterlacePostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.tonemapPostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.volumetricLightScatteringPostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.vrDistortionCorrectionPostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.refractionPostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\RenderPipeline\babylon.postProcessRenderEffect.ts" />
-    <TypeScriptCompile Include="src\PostProcess\RenderPipeline\babylon.postProcessRenderPass.ts" />
-    <Content Include="Playground\splitbox.css" />
-    <Content Include="Playground\splitbox.js" />
-    <Content Include="Playground\textures\amiga.jpg" />
-    <Content Include="Playground\textures\grass.dds" />
-    <Content Include="Playground\textures\specmap.png" />
-    <Content Include="Playground\textures\specularglossymap.png" />
-    <Content Include="Playground\xtag.min.js" />
-    <Content Include="src\Shaders\anaglyph.fragment.fx" />
-    <Content Include="src\Shaders\chromaticAberration.fragment.fx" />
-    <Content Include="src\Shaders\ShadersInclude\colorCurves.fx" />
-    <Content Include="src\Shaders\ShadersInclude\colorCurvesDefinition.fx" />
-    <Content Include="src\Shaders\ShadersInclude\colorGrading.fx" />
-    <Content Include="src\Shaders\ShadersInclude\colorGradingDefinition.fx" />
-    <Content Include="src\Shaders\standard.fragment.fx" />
-    <Content Include="src\Shaders\legacypbr.fragment.fx" />
-    <Content Include="src\Shaders\legacypbr.vertex.fx" />
-    <Content Include="src\Shaders\line.fragment.fx" />
-    <Content Include="src\Shaders\line.vertex.fx" />
-    <Content Include="src\Shaders\colorCorrection.fragment.fx" />
-    <Content Include="src\Shaders\depthBoxBlur.fragment.fx" />
-    <Content Include="src\Shaders\depthOfField.fragment.fx" />
-    <Content Include="src\Shaders\hdr.fragment.fx" />
-    <Content Include="src\Shaders\lensHighlights.fragment.fx" />
-    <Content Include="src\Shaders\pbr.fragment.fx" />
-    <Content Include="src\Shaders\pbr.vertex.fx" />
-    <Content Include="src\Shaders\procedural.vertex.fx" />
-    <Content Include="src\Shaders\outline.fragment.fx" />
-    <Content Include="src\Shaders\color.fragment.fx" />
-    <Content Include="src\Shaders\outline.vertex.fx" />
-    <Content Include="src\Shaders\color.vertex.fx" />
-    <Content Include="src\Shaders\displayPass.fragment.fx" />
-    <Content Include="src\Shaders\filter.fragment.fx" />
-    <Content Include="src\Shaders\convolution.fragment.fx" />
-    <Content Include="src\Shaders\blackAndWhite.fragment.fx" />
-    <Content Include="src\Shaders\fxaa.fragment.fx" />
-    <Content Include="src\Shaders\lensFlare.fragment.fx" />
-    <Content Include="src\Shaders\lensFlare.vertex.fx" />
-    <Content Include="src\Shaders\ShadersInclude\bumpFragment.fx" />
-    <Content Include="src\Shaders\ShadersInclude\clipPlaneFragment.fx" />
-    <Content Include="src\Shaders\ShadersInclude\clipPlaneVertex.fx" />
-    <Content Include="src\Shaders\ShadersInclude\clipPlaneFragmentDeclaration.fx" />
-    <Content Include="src\Shaders\ShadersInclude\clipPlaneVertexDeclaration.fx" />
-    <Content Include="src\Shaders\ShadersInclude\harmonicsFunctions.fx" />
-    <Content Include="src\Shaders\ShadersInclude\helperFunctions.fx" />
-    <Content Include="src\Shaders\ShadersInclude\lightFragment.fx" />
-    <Content Include="src\Shaders\ShadersInclude\pbrFunctions.fx" />
-    <Content Include="src\Shaders\ShadersInclude\pbrLightFunctions.fx" />
-    <Content Include="src\Shaders\ShadersInclude\pbrLightFunctionsCall.fx" />
-    <Content Include="src\Shaders\ShadersInclude\pbrShadowFunctions.fx" />
-    <Content Include="src\Shaders\ShadersInclude\reflectionFunction.fx" />
-    <Content Include="src\Shaders\ShadersInclude\fresnelFunction.fx" />
-    <Content Include="src\Shaders\ShadersInclude\pointCloudVertexDeclaration.fx" />
-    <Content Include="src\Shaders\ShadersInclude\pointCloudVertex.fx" />
-    <Content Include="src\Shaders\ShadersInclude\logDepthDeclaration.fx" />
-    <Content Include="src\Shaders\ShadersInclude\logDepthFragment.fx" />
-    <Content Include="src\Shaders\ShadersInclude\logDepthVertex.fx" />
-    <Content Include="src\Shaders\ShadersInclude\lightsFragmentFunctions.fx" />
-    <Content Include="src\Shaders\ShadersInclude\lightFragmentDeclaration.fx" />
-    <Content Include="src\Shaders\ShadersInclude\bumpFragmentFunctions.fx" />
-    <Content Include="src\Shaders\ShadersInclude\shadowsVertexDeclaration.fx" />
-    <Content Include="src\Shaders\ShadersInclude\shadowsVertex.fx" />
-    <Content Include="src\Shaders\ShadersInclude\shadowsFragmentFunctions.fx" />
-    <Content Include="src\Shaders\ShadersInclude\fogVertex.fx" />
-    <Content Include="src\Shaders\ShadersInclude\fogVertexDeclaration.fx" />
-    <Content Include="src\Shaders\ShadersInclude\fogFragment.fx" />
-    <Content Include="src\Shaders\ShadersInclude\fogFragmentDeclaration.fx" />
-    <Content Include="src\Shaders\ShadersInclude\instancesVertex.fx" />
-    <Content Include="src\Shaders\ShadersInclude\instancesDeclaration.fx" />
-    <Content Include="src\Shaders\ShadersInclude\bonesVertex.fx" />
-    <Content Include="src\Shaders\ShadersInclude\bonesDeclaration.fx" />
-    <Content Include="src\Shaders\stereoscopicInterlace.fragment.fx" />
-    <Content Include="src\Shaders\tonemap.fragment.fx" />
-    <Content Include="src\Shaders\vrDistortionCorrection.fragment.fx" />
-    <Content Include="src\Shaders\pass.fragment.fx" />
-    <Content Include="src\Shaders\refraction.fragment.fx" />
-    <TypeScriptCompile Include="src\PostProcess\RenderPipeline\babylon.postProcessRenderPipeline.ts" />
-    <TypeScriptCompile Include="src\PostProcess\RenderPipeline\babylon.postProcessRenderPipelineManager.ts" />
-    <TypeScriptCompile Include="src\Probes\babylon.reflectionProbe.ts" />
-    <TypeScriptCompile Include="src\Rendering\babylon.boundingBoxRenderer.ts" />
-    <TypeScriptCompile Include="src\Rendering\babylon.depthRenderer.ts" />
-    <TypeScriptCompile Include="src\Rendering\babylon.edgesRenderer.ts" />
-    <TypeScriptCompile Include="src\Rendering\babylon.outlineRenderer.ts" />
-    <Content Include="src\Shaders\depth.fragment.fx" />
-    <Content Include="src\Shaders\shadowMap.vertex.fx" />
-    <Content Include="src\Shaders\ssao.fragment.fx" />
-    <Content Include="src\Shaders\ssaoCombine.fragment.fx" />
-    <Content Include="src\Shaders\volumetricLightScattering.fragment.fx" />
-    <Content Include="src\Shaders\volumetricLightScatteringPass.fragment.fx" />
-    <TypeScriptCompile Include="src\Tools\babylon.assetsManager.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.filesInput.ts" />
-    <Content Include="Playground\scripts\hdr rendering pipeline.js" />
-    <Content Include="Playground\bootstrap\css\bootstrap-responsive.css" />
-    <Content Include="Playground\bootstrap\css\bootstrap-responsive.min.css" />
-    <Content Include="Playground\bootstrap\css\bootstrap.css" />
-    <Content Include="Playground\bootstrap\css\bootstrap.min.css" />
-    <Content Include="Playground\bootstrap\img\glyphicons-halflings-white.png" />
-    <Content Include="Playground\bootstrap\img\glyphicons-halflings.png" />
-    <Content Include="Playground\bootstrap\js\bootstrap.js" />
-    <Content Include="Playground\bootstrap\js\bootstrap.min.js" />
-    <Content Include="Playground\fileSaver.js" />
-    <Content Include="Playground\index.css" />
-    <Content Include="Playground\index.html" />
-    <Content Include="Playground\scenes\0.jpg" />
-    <Content Include="Playground\scenes\Dude\0.jpg" />
-    <Content Include="Playground\scenes\Dude\1.jpg" />
-    <Content Include="Playground\scenes\Dude\2.jpg" />
-    <Content Include="Playground\scenes\Dude\3.jpg" />
-    <Content Include="Playground\scripts\Easing functions.js" />
-    <Content Include="Playground\scripts\proceduralTexture.js" />
-    <Content Include="Playground\scripts\ssao rendering pipeline.js" />
-    <Content Include="Playground\scripts\volumetric light scattering.js" />
-    <Content Include="Playground\index.js" />
-    <Content Include="Playground\jszip.min.js" />
-    <Content Include="Playground\scripts\drag and drop.js" />
-    <Content Include="Playground\scripts\actions.js" />
-    <Content Include="Playground\scripts\Environment.js" />
-    <Content Include="Playground\scripts\cameras.js" />
-    <Content Include="Playground\scripts\collisions.js" />
-    <Content Include="Playground\scripts\height Map.js" />
-    <Content Include="Playground\scripts\import meshes.js" />
-    <Content Include="Playground\scripts\Intersections.js" />
-    <Content Include="Playground\scripts\fresnel.js" />
-    <Content Include="Playground\scripts\lights.js" />
-    <Content Include="Playground\scripts\particles.js" />
-    <Content Include="Playground\scripts\rotation and scaling.js" />
-    <Content Include="Playground\scripts\basic elements.js" />
-    <Content Include="Playground\scripts\basic scene.js" />
-    <Content Include="Playground\scripts\materials.js" />
-    <Content Include="Playground\scripts\animations.js" />
-    <Content Include="Playground\scripts\scripts.txt" />
-    <Content Include="Playground\scripts\shadows.js" />
-    <Content Include="Playground\scripts\sprites.js" />
-    <Content Include="Playground\textures\babylonjs.mp4" />
-    <Content Include="Playground\textures\bloc.jpg" />
-    <Content Include="Playground\textures\cloud.png" />
-    <Content Include="Playground\textures\crate.png" />
-    <Content Include="Playground\textures\customProceduralTextures\land\custom.fragment.fx" />
-    <Content Include="Playground\textures\customProceduralTextures\land\textures\dirt.jpg" />
-    <Content Include="Playground\textures\customProceduralTextures\land\textures\grass.png" />
-    <Content Include="Playground\textures\earth.jpg" />
-    <Content Include="Playground\textures\flare.png" />
-    <Content Include="Playground\textures\grass.jpg" />
-    <Content Include="Playground\textures\ground.jpg" />
-    <Content Include="Playground\textures\heightMap.png" />
-    <Content Include="Playground\textures\impact.png" />
-    <Content Include="Playground\textures\normalMap.jpg" />
-    <Content Include="Playground\textures\orient.jpg" />
-    <Content Include="Playground\textures\palm.png" />
-    <Content Include="Playground\textures\player.png" />
-    <Content Include="Playground\textures\skybox_nx.jpg" />
-    <Content Include="Playground\textures\skybox_ny.jpg" />
-    <Content Include="Playground\textures\skybox_nz.jpg" />
-    <Content Include="Playground\textures\skybox_px.jpg" />
-    <Content Include="Playground\textures\skybox_py.jpg" />
-    <Content Include="Playground\textures\skybox_pz.jpg" />
-    <Content Include="Playground\textures\sun.png" />
-    <Content Include="Playground\textures\tree.png" />
-    <Content Include="Playground\textures\misc.jpg" />
-    <Content Include="Playground\textures\TropicalSunnyDay_ny.jpg" />
-    <Content Include="Playground\textures\TropicalSunnyDay_nx.jpg" />
-    <Content Include="Playground\textures\TropicalSunnyDay_nz.jpg" />
-    <Content Include="Playground\textures\TropicalSunnyDay_px.jpg" />
-    <Content Include="Playground\textures\TropicalSunnyDay_py.jpg" />
-    <Content Include="Playground\textures\TropicalSunnyDay_pz.jpg" />
-    <Content Include="Playground\textures\worldHeightMap.jpg" />
-    <Content Include="Playground\textures\xStrip.jpg" />
-    <Content Include="Playground\textures\yStrip.jpg" />
-    <Content Include="Playground\textures\zStrip.jpg" />
-    <Content Include="Playground\zipContent\index.html" />
-    <Content Include="src\Shaders\blur.fragment.fx" />
-    <Content Include="src\Shaders\postprocess.vertex.fx" />
-    <Content Include="src\Shaders\shadowMap.fragment.fx" />
-    <Content Include="src\Shaders\depth.vertex.fx" />
-    <Content Include="src\Shaders\layer.fragment.fx" />
-    <Content Include="src\Shaders\layer.vertex.fx" />
-    <Content Include="src\Shaders\particles.fragment.fx" />
-    <Content Include="src\Shaders\particles.vertex.fx" />
-    <Content Include="src\Shaders\sprites.fragment.fx" />
-    <Content Include="src\Shaders\sprites.vertex.fx" />
-    <Content Include="Playground\scripts\picking.js" />
-    <Content Include="Web.config">
-      <SubType>Designer</SubType>
-    </Content>
-    <TypeScriptCompile Include="src\Tools\babylon.gamepads.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.database.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.loadingScreen.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.sceneOptimizer.ts" />
-    <TypeScriptCompile Include="src\Tools\HDR\babylon.tools.pmremGenerator.ts" />
-  </ItemGroup>
-  <ItemGroup>
-    <Content Include="src\Shaders\default.fragment.fx" />
-    <Content Include="src\Shaders\default.vertex.fx" />
-    <Content Include="Playground\textures\babylonjs.webm" />
-    <Content Include="Playground\scenes\skull.babylon" />
-    <Content Include="Playground\textures\customProceduralTextures\land\config.json" />
-    <Content Include="Playground\scenes\SSAOcat.babylon" />
-    <Content Include="Playground\scenes\Rabbit.babylon" />
-    <Content Include="Playground\scenes\Dude\dude.babylon" />
-  </ItemGroup>
-  <ItemGroup>
-    <Folder Include="Properties\" />
-  </ItemGroup>
-  <ItemGroup>
-    <TypeScriptCompile Include="src\Animations\babylon.animatable.ts" />
-    <TypeScriptCompile Include="src\Animations\babylon.animation.ts" />
-    <TypeScriptCompile Include="src\babylon.engine.ts" />
-    <TypeScriptCompile Include="src\babylon.mixins.ts" />
-    <TypeScriptCompile Include="src\babylon.scene.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.arcRotateCamera.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.camera.ts" />
-    <TypeScriptCompile Include="src\Cameras\babylon.freeCamera.ts" />
-    <TypeScriptCompile Include="src\Collisions\babylon.collider.ts" />
-    <TypeScriptCompile Include="src\Collisions\babylon.pickingInfo.ts" />
-    <TypeScriptCompile Include="src\Culling\babylon.boundingBox.ts" />
-    <TypeScriptCompile Include="src\Culling\babylon.boundingInfo.ts" />
-    <TypeScriptCompile Include="src\Culling\babylon.boundingSphere.ts" />
-    <TypeScriptCompile Include="src\Culling\Octrees\babylon.octree.ts" />
-    <TypeScriptCompile Include="src\Culling\Octrees\babylon.octreeBlock.ts" />
-    <TypeScriptCompile Include="src\Layer\babylon.layer.ts" />
-    <TypeScriptCompile Include="src\LensFlare\babylon.lensFlare.ts" />
-    <TypeScriptCompile Include="src\LensFlare\babylon.lensFlareSystem.ts" />
-    <TypeScriptCompile Include="src\Lights\babylon.directionalLight.ts" />
-    <TypeScriptCompile Include="src\Lights\babylon.hemisphericLight.ts" />
-    <TypeScriptCompile Include="src\Lights\babylon.light.ts" />
-    <TypeScriptCompile Include="src\Lights\babylon.pointLight.ts" />
-    <TypeScriptCompile Include="src\Lights\babylon.spotLight.ts" />
-    <TypeScriptCompile Include="src\Lights\Shadows\babylon.shadowGenerator.ts" />
-    <TypeScriptCompile Include="src\Math\babylon.math.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.csg.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.mesh.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.mesh.vertexData.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.subMesh.ts" />
-    <TypeScriptCompile Include="src\Mesh\babylon.vertexBuffer.ts" />
-    <TypeScriptCompile Include="src\babylon.node.ts" />
-    <TypeScriptCompile Include="src\Particles\babylon.particle.ts" />
-    <TypeScriptCompile Include="src\Particles\babylon.particleSystem.ts" />
-    <TypeScriptCompile Include="src\Physics\babylon.physicsEngine.ts" />
-    <TypeScriptCompile Include="src\Physics\Plugins\babylon.cannonJSPlugin.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.anaglyphPostProcess.ts">
-      <SubType>Code</SubType>
-    </TypeScriptCompile>
-    <TypeScriptCompile Include="src\PostProcess\babylon.blackAndWhitePostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.blurPostProcess.ts" />
-    <TypeScriptCompile Include="src\PostProcess\babylon.passPostProcess.ts">
-      <SubType>Code</SubType>
-    </TypeScriptCompile>
-    <TypeScriptCompile Include="src\PostProcess\babylon.postProcess.ts">
-      <SubType>Code</SubType>
-    </TypeScriptCompile>
-    <TypeScriptCompile Include="src\PostProcess\babylon.postProcessManager.ts" />
-    <TypeScriptCompile Include="src\Rendering\babylon.renderingGroup.ts" />
-    <TypeScriptCompile Include="src\Rendering\babylon.renderingManager.ts" />
-    <TypeScriptCompile Include="src\Sprites\babylon.sprite.ts" />
-    <TypeScriptCompile Include="src\Sprites\babylon.spriteManager.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.andOrNotEvaluator.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.sceneSerializer.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.smartArray.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.tags.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.tools.dds.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.tools.tga.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.tools.ts" />
-    <TypeScriptCompile Include="src\Tools\babylon.virtualJoystick.ts" />
-  </ItemGroup>
-  <PropertyGroup>
-    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
-    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
-    <DebugSymbols>true</DebugSymbols>
-    <OutputPath>bin\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <DebugType>full</DebugType>
-    <PlatformTarget>x64</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
-    <OutputPath>bin\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <Optimize>true</Optimize>
-    <DebugType>pdbonly</DebugType>
-    <PlatformTarget>x64</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
-    <DebugSymbols>true</DebugSymbols>
-    <OutputPath>bin\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <DebugType>full</DebugType>
-    <PlatformTarget>x86</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
-    <OutputPath>bin\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <Optimize>true</Optimize>
-    <DebugType>pdbonly</DebugType>
-    <PlatformTarget>x86</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
-  <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
-    <TypeScriptGeneratesDeclarations>False</TypeScriptGeneratesDeclarations>
-    <TypeScriptModuleKind>none</TypeScriptModuleKind>
-    <TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny>
-    <TypeScriptTarget>ES5</TypeScriptTarget>
-    <TypeScriptCompileOnSaveEnabled>False</TypeScriptCompileOnSaveEnabled>
-    <TypeScriptRemoveComments>False</TypeScriptRemoveComments>
-    <TypeScriptOutFile />
-    <TypeScriptOutDir />
-    <TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError>
-    <TypeScriptSourceMap>True</TypeScriptSourceMap>
-    <TypeScriptMapRoot />
-    <TypeScriptSourceRoot />
-    <TypeScriptExperimentalDecorators>true</TypeScriptExperimentalDecorators>
-  </PropertyGroup>
-  <PropertyGroup Condition="'$(Configuration)' == 'Release'">
-    <TypeScriptTarget>ES5</TypeScriptTarget>
-  </PropertyGroup>
-  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets')" />
-  <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
-  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
-  <ProjectExtensions>
-    <VisualStudio>
-      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
-        <WebProjectProperties>
-          <UseIIS>True</UseIIS>
-          <AutoAssignPort>True</AutoAssignPort>
-          <DevelopmentServerPort>0</DevelopmentServerPort>
-          <DevelopmentServerVPath>/</DevelopmentServerVPath>
-          <IISUrl>http://localhost:10683/</IISUrl>
-          <NTLMAuthentication>False</NTLMAuthentication>
-          <UseCustomServer>False</UseCustomServer>
-          <CustomServerUrl>
-          </CustomServerUrl>
-          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
-        </WebProjectProperties>
-      </FlavorProperties>
-      <UserProperties node__modules_2grunt-contrib-uglify_2package_1json__JSONSchema="http://json.schemastore.org/package" />
-    </VisualStudio>
-  </ProjectExtensions>
-  <PropertyGroup>
-    <PreBuildEvent>
-    </PreBuildEvent>
-  </PropertyGroup>
-  <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>

+ 0 - 34
Babylon.sln

@@ -1,34 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.25914.0
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Babylon", "Babylon.csproj", "{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}"
-EndProject
-Global
-	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		Debug|Any CPU = Debug|Any CPU
-		Debug|x64 = Debug|x64
-		Debug|x86 = Debug|x86
-		Release|Any CPU = Release|Any CPU
-		Release|x64 = Release|x64
-		Release|x86 = Release|x86
-	EndGlobalSection
-	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Debug|x64.ActiveCfg = Debug|x64
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Debug|x64.Build.0 = Debug|x64
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Debug|x86.ActiveCfg = Debug|x86
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Debug|x86.Build.0 = Debug|x86
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Release|Any CPU.Build.0 = Release|Any CPU
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Release|x64.ActiveCfg = Release|x64
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Release|x64.Build.0 = Release|x64
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Release|x86.ActiveCfg = Release|x86
-		{BA85B096-DDB8-4324-BB47-5F4EC2C5DB6A}.Release|x86.Build.0 = Release|x86
-	EndGlobalSection
-	GlobalSection(SolutionProperties) = preSolution
-		HideSolutionNode = FALSE
-	EndGlobalSection
-EndGlobal

+ 0 - 33
Web.config

@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<!--
-  For more information on how to configure your ASP.NET application, please visit
-  http://go.microsoft.com/fwlink/?LinkId=169433
-  -->
-
-<configuration>
-  <system.web>
-    <compilation debug="true" targetFramework="4.5" />
-    <httpRuntime targetFramework="4.5" />
-  </system.web>
-  <system.webServer>
-    <staticContent>
-      <!--<mimeMap fileExtension=".json" mimeType="application/text" />-->
-      <mimeMap fileExtension=".hdr" mimeType="application/hdr" />
-      <mimeMap fileExtension=".obj" mimeType="application/obj" />
-      <mimeMap fileExtension=".dds" mimeType="application/dds" />
-      <mimeMap fileExtension=".tga" mimeType="application/tga" />
-      <mimeMap fileExtension=".fx" mimeType="application/fx" />
-      <mimeMap fileExtension=".fnt" mimeType="application/bmFont" />
-      <mimeMap fileExtension=".babylon" mimeType="application/babylon" />
-      <mimeMap fileExtension=".babylonmeshdata" mimeType="application/babylonmeshdata" />
-      <mimeMap fileExtension=".babylonbinarymeshdata" mimeType="application/babylonbinarymeshdata" />
-      <mimeMap fileExtension=".webp" mimeType="image/webp" />
-      <mimeMap fileExtension=".wdp" mimeType="image/vnd.ms-photo" />
-      <!--<mimeMap fileExtension=".manifest" mimeType="text/cache-manifest" />-->
-      <!--<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />-->
-      <!--<mimeMap fileExtension=".mp3" mimeType="audio/mpeg" />-->
-      <!--<mimeMap fileExtension=".mp4" mimeType="video/mp4" />-->
-    </staticContent>
-  </system.webServer>
-</configuration>

Разлика између датотеке није приказан због своје велике величине
+ 6262 - 6262
dist/preview release/babylon.d.ts


Разлика између датотеке није приказан због своје велике величине
+ 7 - 7
dist/preview release/babylon.js


+ 14 - 9
dist/preview release/babylon.max.js

@@ -7448,7 +7448,7 @@ var BABYLON;
             this.renderEvenInBackground = true;
             this.preventCacheWipeBetweenFrames = false;
             // To enable/disable IDB support and avoid XHR on .manifest
-            this.enableOfflineSupport = BABYLON.Database;
+            this.enableOfflineSupport = false;
             this.scenes = new Array();
             // Observables
             /**
@@ -7740,15 +7740,16 @@ var BABYLON;
             for (var i = 0; i < this._caps.maxVertexAttribs; i++) {
                 this._currentBufferPointers[i] = new BufferPointer();
             }
-            //Load WebVR Devices
+            // Load WebVR Devices
             if (options.autoEnableWebVR) {
                 this.initWebVR();
             }
-            //Detect if we are running on a faulty buggy OS.
+            // Detect if we are running on a faulty buggy OS.
             this._badOS = /iPad/i.test(navigator.userAgent) || /iPhone/i.test(navigator.userAgent);
-            //Detect if we are running on a faulty buggy desktop OS.
+            // Detect if we are running on a faulty buggy desktop OS.
             this._badDesktopOS = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
             BABYLON.Tools.Log("Babylon.js engine (v" + Engine.Version + ") launched");
+            this.enableOfflineSupport = (BABYLON.Database !== undefined);
         }
         Object.defineProperty(Engine, "LastCreatedEngine", {
             get: function () {
@@ -15436,11 +15437,14 @@ var BABYLON;
                 this._renderTransparent(this._transparentSubMeshes);
                 engine.setAlphaMode(BABYLON.Engine.ALPHA_DISABLE);
             }
-            engine.setStencilBuffer(stencilState);
+            // Set back stencil to false in case it changes before the edge renderer.
+            engine.setStencilBuffer(false);
             // Edges
             for (var edgesRendererIndex = 0; edgesRendererIndex < this._edgesRenderers.length; edgesRendererIndex++) {
                 this._edgesRenderers.data[edgesRendererIndex].render();
             }
+            // Restore Stencil state.
+            engine.setStencilBuffer(stencilState);
         };
         /**
          * Renders the opaque submeshes in the order from the opaqueSortCompareFn.
@@ -22928,6 +22932,9 @@ var BABYLON;
         });
         BaseSubMesh.prototype.setEffect = function (effect, defines) {
             if (this._materialEffect === effect) {
+                if (!effect) {
+                    this._materialDefines = undefined;
+                }
                 return;
             }
             this._materialDefines = defines;
@@ -23004,9 +23011,7 @@ var BABYLON;
                 var effectiveMaterial = multiMaterial.getSubMaterial(this.materialIndex);
                 if (this._currentMaterial !== effectiveMaterial) {
                     this._currentMaterial = effectiveMaterial;
-                    if (this._materialDefines) {
-                        this._materialDefines.markAllAsDirty();
-                    }
+                    this._materialDefines = undefined;
                 }
                 return effectiveMaterial;
             }
@@ -24908,7 +24913,7 @@ var BABYLON;
                         continue;
                     }
                     if (!subMesh._materialDefines) {
-                        return;
+                        continue;
                     }
                     func(subMesh._materialDefines);
                 }

Разлика између датотеке није приказан због своје велике величине
+ 6262 - 6262
dist/preview release/babylon.module.d.ts


Разлика између датотеке није приказан због своје велике величине
+ 7 - 7
dist/preview release/babylon.worker.js


Разлика између датотеке није приказан због своје велике величине
+ 4627 - 4627
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.d.ts


Разлика између датотеке није приказан због своје велике величине
+ 7 - 7
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.js


+ 15 - 10
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.max.js

@@ -7448,7 +7448,7 @@ var BABYLON;
             this.renderEvenInBackground = true;
             this.preventCacheWipeBetweenFrames = false;
             // To enable/disable IDB support and avoid XHR on .manifest
-            this.enableOfflineSupport = BABYLON.Database;
+            this.enableOfflineSupport = false;
             this.scenes = new Array();
             // Observables
             /**
@@ -7740,15 +7740,16 @@ var BABYLON;
             for (var i = 0; i < this._caps.maxVertexAttribs; i++) {
                 this._currentBufferPointers[i] = new BufferPointer();
             }
-            //Load WebVR Devices
+            // Load WebVR Devices
             if (options.autoEnableWebVR) {
                 this.initWebVR();
             }
-            //Detect if we are running on a faulty buggy OS.
+            // Detect if we are running on a faulty buggy OS.
             this._badOS = /iPad/i.test(navigator.userAgent) || /iPhone/i.test(navigator.userAgent);
-            //Detect if we are running on a faulty buggy desktop OS.
+            // Detect if we are running on a faulty buggy desktop OS.
             this._badDesktopOS = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
             BABYLON.Tools.Log("Babylon.js engine (v" + Engine.Version + ") launched");
+            this.enableOfflineSupport = (BABYLON.Database !== undefined);
         }
         Object.defineProperty(Engine, "LastCreatedEngine", {
             get: function () {
@@ -15436,11 +15437,14 @@ var BABYLON;
                 this._renderTransparent(this._transparentSubMeshes);
                 engine.setAlphaMode(BABYLON.Engine.ALPHA_DISABLE);
             }
-            engine.setStencilBuffer(stencilState);
+            // Set back stencil to false in case it changes before the edge renderer.
+            engine.setStencilBuffer(false);
             // Edges
             for (var edgesRendererIndex = 0; edgesRendererIndex < this._edgesRenderers.length; edgesRendererIndex++) {
                 this._edgesRenderers.data[edgesRendererIndex].render();
             }
+            // Restore Stencil state.
+            engine.setStencilBuffer(stencilState);
         };
         /**
          * Renders the opaque submeshes in the order from the opaqueSortCompareFn.
@@ -22928,6 +22932,9 @@ var BABYLON;
         });
         BaseSubMesh.prototype.setEffect = function (effect, defines) {
             if (this._materialEffect === effect) {
+                if (!effect) {
+                    this._materialDefines = undefined;
+                }
                 return;
             }
             this._materialDefines = defines;
@@ -23004,9 +23011,7 @@ var BABYLON;
                 var effectiveMaterial = multiMaterial.getSubMaterial(this.materialIndex);
                 if (this._currentMaterial !== effectiveMaterial) {
                     this._currentMaterial = effectiveMaterial;
-                    if (this._materialDefines) {
-                        this._materialDefines.markAllAsDirty();
-                    }
+                    this._materialDefines = undefined;
                 }
                 return effectiveMaterial;
             }
@@ -24570,7 +24575,7 @@ var BABYLON;
             this._wasPreviouslyReady = false;
             this._fillMode = Material.TriangleFillMode;
             this.name = name;
-            this.id = name;
+            this.id = name || BABYLON.Tools.RandomId();
             this._scene = scene || BABYLON.Engine.LastCreatedScene;
             if (this._scene.useRightHandedSystem) {
                 this.sideOrientation = Material.ClockWiseSideOrientation;
@@ -24908,7 +24913,7 @@ var BABYLON;
                         continue;
                     }
                     if (!subMesh._materialDefines) {
-                        return;
+                        continue;
                     }
                     func(subMesh._materialDefines);
                 }

Разлика између датотеке није приказан због своје велике величине
+ 4627 - 4627
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.module.d.ts