Commits

Anonymous committed 3751f22

Initial commit

  • Participants

Comments (0)

Files changed (862)

+syntax: glob
+*.DotSettings.user
+*.git*
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.30110.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Away3dCoreTs", "awayjs-core-ts\Away3dCoreTs.csproj", "{CAFA52C7-E5BE-41BA-938D-7E74410FDFE5}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Away3dExtension", "away3d-extension-ts\Away3dExtension.csproj", "{F5823FC1-74A4-49CD-8091-DCC47E0444F2}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{CAFA52C7-E5BE-41BA-938D-7E74410FDFE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{CAFA52C7-E5BE-41BA-938D-7E74410FDFE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{CAFA52C7-E5BE-41BA-938D-7E74410FDFE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{CAFA52C7-E5BE-41BA-938D-7E74410FDFE5}.Release|Any CPU.Build.0 = Release|Any CPU
+		{F5823FC1-74A4-49CD-8091-DCC47E0444F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{F5823FC1-74A4-49CD-8091-DCC47E0444F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{F5823FC1-74A4-49CD-8091-DCC47E0444F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{F5823FC1-74A4-49CD-8091-DCC47E0444F2}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

File Away3d.v12.suo

Binary file added.

File away3d-extension-ts/Away3dExtension.csproj

+<?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>
+    <ProjectGuid>{F5823FC1-74A4-49CD-8091-DCC47E0444F2}</ProjectGuid>
+    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+    <OutputType>Library</OutputType>
+    <OutputPath>bin</OutputPath>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+    <DebugType>full</DebugType>
+    <DebugSymbols>true</DebugSymbols>
+    <TypeScriptToolsVersion>0.9</TypeScriptToolsVersion>
+    <UseIISExpress>true</UseIISExpress>
+    <IISExpressSSLPort />
+    <IISExpressAnonymousAuthentication />
+    <IISExpressWindowsAuthentication />
+    <IISExpressUseClassicPipelineMode />
+  </PropertyGroup>
+  <ItemGroup>
+    <Content Include="src\away\debug\.gitignore" />
+    <Content Include="tests\assets\1.png" />
+    <Content Include="tests\assets\1024x1024.png" />
+    <Content Include="tests\assets\130909wall_big.png" />
+    <Content Include="tests\assets\256x256.png" />
+    <Content Include="tests\assets\custom_uv_horizontal.png" />
+    <Content Include="tests\assets\data.txt" />
+    <Content Include="tests\assets\dots.png" />
+    <Content Include="tests\assets\img_10.png" />
+    <Content Include="tests\assets\img_8.png" />
+    <Content Include="tests\assets\img_9.png" />
+    <Content Include="tests\assets\masterchief_base.png" />
+    <Content Include="tests\assets\RockyDesert.jpg" />
+    <Content Include="tests\assets\sky_negX.jpg" />
+    <Content Include="tests\assets\sky_negY.jpg" />
+    <Content Include="tests\assets\sky_negZ.jpg" />
+    <Content Include="tests\assets\sky_posX.jpg" />
+    <Content Include="tests\assets\sky_posY.jpg" />
+    <Content Include="tests\assets\sky_posZ.jpg" />
+    <Content Include="tests\assets\stone_tx.jpg" />
+    <Content Include="tests\assets\wrong_dimensions.png" />
+    <Content Include="tests\frame.html" />
+    <Content Include="tests\index.html" />
+    <Content Include="tests\js\AGALTextureTorus.js" />
+    <Content Include="tests\js\AGALTorus.js" />
+    <Content Include="tests\js\AppHarness.js" />
+    <Content Include="tests\js\AWDParserTest.js" />
+    <Content Include="tests\js\AWDParserTestEnvMap.js" />
+    <Content Include="tests\js\AWDShadowTest.js" />
+    <Content Include="tests\js\AWDSuzanne.js" />
+    <Content Include="tests\js\BillboardTest.js" />
+    <Content Include="tests\js\BitmapDataReflectionTest.js" />
+    <Content Include="tests\js\BlendTorus.js" />
+    <Content Include="tests\js\ColorMaterialTest.js" />
+    <Content Include="tests\js\ColorMultiPassMatTest.js" />
+    <Content Include="tests\js\CubeDemo.js" />
+    <Content Include="tests\js\CubeTextures.js" />
+    <Content Include="tests\js\DynamicObjects.js" />
+    <Content Include="tests\js\EntityTest.js" />
+    <Content Include="tests\js\HoverControllerTest.js" />
+    <Content Include="tests\js\LayoutTest.js" />
+    <Content Include="tests\js\LightTorus.js" />
+    <Content Include="tests\js\MaterialAlphaTest.js" />
+    <Content Include="tests\js\MaterialTorus.js" />
+    <Content Include="tests\js\MeshTest.js" />
+    <Content Include="tests\js\ObjChiefTestDay.js" />
+    <Content Include="tests\js\Object3DTest_v2.js" />
+    <Content Include="tests\js\ObjLibLoaderTest.js" />
+    <Content Include="tests\js\PhongTorus.js" />
+    <Content Include="tests\js\PickingTests.js" />
+    <Content Include="tests\js\PrimitivesTest.js" />
+    <Content Include="tests\js\RenderTest.js" />
+    <Content Include="tests\js\RotatingBluePlane.js" />
+    <Content Include="tests\js\RotatingTorus.js" />
+    <Content Include="tests\js\TextureMultiPassMatTest.js" />
+    <Content Include="tests\js\TorusLight.js" />
+    <Content Include="tests\js\TorusObject3DDemo.js" />
+    <Content Include="tests\js\View3DTest.js" />
+    <Content Include="tests\js\WireframePrimitive.js" />
+    <Content Include="web.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="tests\assets\awd\EnvMapTest.awd" />
+    <Content Include="tests\assets\awd\ShadowTest.awd" />
+    <Content Include="tests\assets\CubeTextureTest.cube" />
+    <Content Include="tests\assets\Halo_3_SPARTAN4.obj" />
+    <Content Include="tests\assets\platonic.obj" />
+    <Content Include="tests\assets\population.json" />
+    <Content Include="tests\assets\suzanne.awd" />
+    <Content Include="tests\assets\t800.obj" />
+    <Content Include="tests\assets\terrain.obj" />
+    <Content Include="tests\js\AGALTextureTorus.js.map" />
+    <Content Include="tests\js\AGALTorus.js.map" />
+    <Content Include="tests\js\AppHarness.js.map" />
+    <Content Include="tests\js\AWDParserTest.js.map" />
+    <Content Include="tests\js\AWDParserTestEnvMap.js.map" />
+    <Content Include="tests\js\AWDShadowTest.js.map" />
+    <Content Include="tests\js\AWDSuzanne.js.map" />
+    <Content Include="tests\js\BillboardTest.js.map" />
+    <Content Include="tests\js\BitmapDataReflectionTest.js.map" />
+    <Content Include="tests\js\BlendTorus.js.map" />
+    <Content Include="tests\js\ColorMaterialTest.js.map" />
+    <Content Include="tests\js\ColorMultiPassMatTest.js.map" />
+    <Content Include="tests\js\CubeDemo.js.map" />
+    <Content Include="tests\js\CubeTextures.js.map" />
+    <Content Include="tests\js\DynamicObjects.js.map" />
+    <Content Include="tests\js\EntityTest.js.map" />
+    <Content Include="tests\js\HoverControllerTest.js.map" />
+    <Content Include="tests\js\Intermediate_AWDViewer.js.map" />
+    <Content Include="tests\js\LayoutTest.js.map" />
+    <Content Include="tests\js\LightTorus.js.map" />
+    <Content Include="tests\js\MaterialAlphaTest.js.map" />
+    <Content Include="tests\js\MaterialTorus.js.map" />
+    <Content Include="tests\js\MeshTest.js.map" />
+    <Content Include="tests\js\ObjChiefTestDay.js.map" />
+    <Content Include="tests\js\Object3DTest_v2.js.map" />
+    <Content Include="tests\js\ObjLibLoaderTest.js.map" />
+    <Content Include="tests\js\PhongTorus.js.map" />
+    <Content Include="tests\js\PickingTests.js.map" />
+    <Content Include="tests\js\PrimitivesTest.js.map" />
+    <Content Include="tests\js\RenderTest.js.map" />
+    <Content Include="tests\js\RotatingBluePlane.js.map" />
+    <Content Include="tests\js\RotatingTorus.js.map" />
+    <Content Include="tests\js\TextureMultiPassMatTest.js.map" />
+    <Content Include="tests\js\TorusLight.js.map" />
+    <Content Include="tests\js\TorusObject3DDemo.js.map" />
+    <Content Include="tests\js\View3DTest.js.map" />
+    <Content Include="tests\js\WireframePrimitive.js.map" />
+    <None Include="web.Debug.config">
+      <DependentUpon>web.config</DependentUpon>
+    </None>
+    <None Include="web.Release.config">
+      <DependentUpon>web.config</DependentUpon>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <TypeScriptCompile Include="src\Away3D.ts" />
+    <TypeScriptCompile Include="src\away\animators\AnimationSetBase.ts" />
+    <TypeScriptCompile Include="src\away\animators\AnimatorBase.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\AnimationRegisterCache.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\AnimationSubGeometry.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\ColorSegmentPoint.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\JointPose.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\ParticleAnimationData.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\ParticleData.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\ParticleProperties.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\ParticlePropertiesMode.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\Skeleton.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\SkeletonJoint.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\SkeletonPose.ts" />
+    <TypeScriptCompile Include="src\away\animators\data\VertexAnimationMode.ts" />
+    <TypeScriptCompile Include="src\away\animators\IAnimationSet.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\AnimationClipNodeBase.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\AnimationNodeBase.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleAccelerationNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleBezierCurveNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleBillboardNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleColorNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleFollowNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleInitialColorNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleNodeBase.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleOrbitNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleOscillatorNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticlePositionNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleRotateToHeadingNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleRotateToPositionNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleRotationalVelocityNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleScaleNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleSegmentedColorNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleSpriteSheetNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleTimeNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleUVNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\ParticleVelocityNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\SkeletonBinaryLERPNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\SkeletonClipNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\SkeletonDifferenceNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\SkeletonDirectionalNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\SkeletonNaryLERPNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\nodes\VertexClipNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\ParticleAnimationSet.ts" />
+    <TypeScriptCompile Include="src\away\animators\ParticleAnimator.ts" />
+    <TypeScriptCompile Include="src\away\animators\SkeletonAnimationSet.ts" />
+    <TypeScriptCompile Include="src\away\animators\SkeletonAnimator.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\AnimationClipState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\AnimationStateBase.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\IAnimationState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ISkeletonAnimationState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\IVertexAnimationState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleAccelerationState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleBezierCurveState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleBillboardState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleColorState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleFollowState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleInitialColorState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleOrbitState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleOscillatorState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticlePositionState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleRotateToHeadingState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleRotateToPositionState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleRotationalVelocityState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleScaleState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleSegmentedColorState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleSpriteSheetState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleStateBase.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleTimeState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleUVState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\ParticleVelocityState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\SkeletonBinaryLERPState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\SkeletonClipState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\SkeletonDifferenceState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\SkeletonDirectionalState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\SkeletonNaryLERPState.ts" />
+    <TypeScriptCompile Include="src\away\animators\states\VertexClipState.ts" />
+    <TypeScriptCompile Include="src\away\animators\transitions\CrossfadeTransition.ts" />
+    <TypeScriptCompile Include="src\away\animators\transitions\CrossfadeTransitionNode.ts" />
+    <TypeScriptCompile Include="src\away\animators\transitions\CrossfadeTransitionState.ts" />
+    <TypeScriptCompile Include="src\away\animators\transitions\IAnimationTransition.ts" />
+    <TypeScriptCompile Include="src\away\animators\VertexAnimationSet.ts" />
+    <TypeScriptCompile Include="src\away\animators\VertexAnimator.ts" />
+    <TypeScriptCompile Include="src\away\core\base\CompactSubGeometry.ts" />
+    <TypeScriptCompile Include="src\away\core\base\Geometry.ts" />
+    <TypeScriptCompile Include="src\away\core\base\ISubGeometry.ts" />
+    <TypeScriptCompile Include="src\away\core\base\ParticleGeometry.ts" />
+    <TypeScriptCompile Include="src\away\core\base\Segment.ts" />
+    <TypeScriptCompile Include="src\away\core\base\SegmentSubGeometry.ts" />
+    <TypeScriptCompile Include="src\away\core\base\SkinnedSubGeometry.ts" />
+    <TypeScriptCompile Include="src\away\core\base\SubGeometry.ts" />
+    <TypeScriptCompile Include="src\away\core\base\SubGeometryBase.ts" />
+    <TypeScriptCompile Include="src\away\core\base\SubMesh.ts" />
+    <TypeScriptCompile Include="src\away\core\partition\DirectionalLightNode.ts" />
+    <TypeScriptCompile Include="src\away\core\partition\LightProbeNode.ts" />
+    <TypeScriptCompile Include="src\away\core\partition\PointLightNode.ts" />
+    <TypeScriptCompile Include="src\away\core\partition\SkyboxNode.ts" />
+    <TypeScriptCompile Include="src\away\core\pick\JSPickingCollider.ts" />
+    <TypeScriptCompile Include="src\away\core\pick\PickingColliderBase.ts" />
+    <TypeScriptCompile Include="src\away\core\pick\PickingColliderType.ts" />
+    <TypeScriptCompile Include="src\away\core\pick\PickingType.ts" />
+    <TypeScriptCompile Include="src\away\core\pick\RaycastPicker.ts" />
+    <TypeScriptCompile Include="src\away\core\pick\ShaderPicker.ts" />
+    <TypeScriptCompile Include="src\away\core\pool\BillboardRenderable.ts" />
+    <TypeScriptCompile Include="src\away\core\pool\RenderableBase.ts" />
+    <TypeScriptCompile Include="src\away\core\pool\SegmentSetRenderable.ts" />
+    <TypeScriptCompile Include="src\away\core\pool\SkyboxRenderable.ts" />
+    <TypeScriptCompile Include="src\away\core\pool\SubMeshRenderable.ts" />
+    <TypeScriptCompile Include="src\away\core\render\DefaultRenderer.ts" />
+    <TypeScriptCompile Include="src\away\core\render\DepthRenderer.ts" />
+    <TypeScriptCompile Include="src\away\core\render\Filter3DRenderer.ts" />
+    <TypeScriptCompile Include="src\away\core\render\RendererBase.ts" />
+    <TypeScriptCompile Include="src\away\core\traverse\EntityCollector.ts" />
+    <TypeScriptCompile Include="src\away\core\traverse\RaycastCollector.ts" />
+    <TypeScriptCompile Include="src\away\core\traverse\RenderableCollectorBase.ts" />
+    <TypeScriptCompile Include="src\away\core\traverse\ShadowCasterCollector.ts" />
+    <TypeScriptCompile Include="src\away\entities\Mesh.ts" />
+    <TypeScriptCompile Include="src\away\entities\SegmentSet.ts" />
+    <TypeScriptCompile Include="src\away\entities\Skybox.ts" />
+    <TypeScriptCompile Include="src\away\errors\AnimationSetError.ts" />
+    <TypeScriptCompile Include="src\away\events\AnimationStateEvent.ts" />
+    <TypeScriptCompile Include="src\away\events\AnimatorEvent.ts" />
+    <TypeScriptCompile Include="src\away\events\GeometryEvent.ts" />
+    <TypeScriptCompile Include="src\away\events\LightEvent.ts" />
+    <TypeScriptCompile Include="src\away\events\MouseEvent3D.ts" />
+    <TypeScriptCompile Include="src\away\events\ShadingMethodEvent.ts" />
+    <TypeScriptCompile Include="src\away\filters\Filter3DBase.ts" />
+    <TypeScriptCompile Include="src\away\filters\tasks\Filter3DTaskBase.ts" />
+    <TypeScriptCompile Include="src\away\lights\DirectionalLight.ts" />
+    <TypeScriptCompile Include="src\away\lights\LightBase.ts" />
+    <TypeScriptCompile Include="src\away\lights\LightProbe.ts" />
+    <TypeScriptCompile Include="src\away\lights\PointLight.ts" />
+    <TypeScriptCompile Include="src\away\lights\shadowmaps\CascadeShadowMapper.ts" />
+    <TypeScriptCompile Include="src\away\lights\shadowmaps\CubeMapShadowMapper.ts" />
+    <TypeScriptCompile Include="src\away\lights\shadowmaps\DirectionalShadowMapper.ts" />
+    <TypeScriptCompile Include="src\away\lights\shadowmaps\NearDirectionalShadowMapper.ts" />
+    <TypeScriptCompile Include="src\away\lights\shadowmaps\ShadowMapperBase.ts" />
+    <TypeScriptCompile Include="src\away\managers\AGALProgramCache.ts" />
+    <TypeScriptCompile Include="src\away\managers\Mouse3DManager.ts" />
+    <TypeScriptCompile Include="src\away\materials\ColorMaterial.ts" />
+    <TypeScriptCompile Include="src\away\materials\ColorMultiPassMaterial.ts" />
+    <TypeScriptCompile Include="src\away\materials\compilation\LightingShaderCompiler.ts" />
+    <TypeScriptCompile Include="src\away\materials\compilation\MethodDependencyCounter.ts" />
+    <TypeScriptCompile Include="src\away\materials\compilation\RegisterPool.ts" />
+    <TypeScriptCompile Include="src\away\materials\compilation\ShaderCompiler.ts" />
+    <TypeScriptCompile Include="src\away\materials\compilation\ShaderRegisterCache.ts" />
+    <TypeScriptCompile Include="src\away\materials\compilation\ShaderRegisterData.ts" />
+    <TypeScriptCompile Include="src\away\materials\compilation\ShaderRegisterElement.ts" />
+    <TypeScriptCompile Include="src\away\materials\compilation\SuperShaderCompiler.ts" />
+    <TypeScriptCompile Include="src\away\materials\lightpickers\LightPickerBase.ts" />
+    <TypeScriptCompile Include="src\away\materials\lightpickers\StaticLightPicker.ts" />
+    <TypeScriptCompile Include="src\away\materials\LightSources.ts" />
+    <TypeScriptCompile Include="src\away\materials\MaterialBase.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\AmbientBasicMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\AmbientEnvMapMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\DiffuseBasicMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\DiffuseCelMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\DiffuseCompositeMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\DiffuseDepthMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\DiffuseGradientMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\DiffuseLightMapMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\DiffuseSubSurfaceMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\DiffuseWrapMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\EffectAlphaMaskMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\EffectColorMatrixMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\EffectColorTransformMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\EffectEnvMapMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\EffectFogMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\EffectFresnelEnvMapMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\EffectLightMapMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\EffectMethodBase.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\EffectRefractionEnvMapMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\EffectRimLightMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\LightingMethodBase.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\MethodVO.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\MethodVOSet.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\NormalBasicMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\NormalHeightMapMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\NormalSimpleWaterMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\ShaderMethodSetup.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\ShadingMethodBase.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\ShadowCascadeMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\ShadowDitheredMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\ShadowFilteredMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\ShadowHardMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\ShadowMapMethodBase.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\ShadowMethodBase.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\ShadowNearMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\ShadowSoftMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\SpecularAnisotropicMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\SpecularBasicMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\SpecularCelMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\SpecularCompositeMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\SpecularFresnelMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\methods\SpecularPhongMethod.ts" />
+    <TypeScriptCompile Include="src\away\materials\MultiPassMaterialBase.ts" />
+    <TypeScriptCompile Include="src\away\materials\passes\CompiledPass.ts" />
+    <TypeScriptCompile Include="src\away\materials\passes\DepthMapPass.ts" />
+    <TypeScriptCompile Include="src\away\materials\passes\DistanceMapPass.ts" />
+    <TypeScriptCompile Include="src\away\materials\passes\LightingPass.ts" />
+    <TypeScriptCompile Include="src\away\materials\passes\MaterialPassBase.ts" />
+    <TypeScriptCompile Include="src\away\materials\passes\SegmentPass.ts" />
+    <TypeScriptCompile Include="src\away\materials\passes\ShadowCasterPass.ts" />
+    <TypeScriptCompile Include="src\away\materials\passes\SingleObjectDepthPass.ts" />
+    <TypeScriptCompile Include="src\away\materials\passes\SkyBoxPass.ts" />
+    <TypeScriptCompile Include="src\away\materials\passes\SuperShaderPass.ts" />
+    <TypeScriptCompile Include="src\away\materials\SegmentMaterial.ts" />
+    <TypeScriptCompile Include="src\away\materials\SinglePassMaterialBase.ts" />
+    <TypeScriptCompile Include="src\away\materials\SkyBoxMaterial.ts" />
+    <TypeScriptCompile Include="src\away\materials\TextureMaterial.ts" />
+    <TypeScriptCompile Include="src\away\materials\TextureMultiPassMaterial.ts" />
+    <TypeScriptCompile Include="src\away\materials\utils\DefaultMaterialManager.ts" />
+    <TypeScriptCompile Include="src\away\parsers\AWDParser.ts" />
+    <TypeScriptCompile Include="src\away\parsers\Max3DSParser.ts" />
+    <TypeScriptCompile Include="src\away\parsers\MD2Parser.ts" />
+    <TypeScriptCompile Include="src\away\parsers\MD5AnimParser.ts" />
+    <TypeScriptCompile Include="src\away\parsers\MD5MeshParser.ts" />
+    <TypeScriptCompile Include="src\away\parsers\OBJParser.ts" />
+    <TypeScriptCompile Include="src\away\parsers\Parsers.ts" />
+    <TypeScriptCompile Include="src\away\primitives\CapsuleGeometry.ts" />
+    <TypeScriptCompile Include="src\away\primitives\ConeGeometry.ts" />
+    <TypeScriptCompile Include="src\away\primitives\CubeGeometry.ts" />
+    <TypeScriptCompile Include="src\away\primitives\CylinderGeometry.ts" />
+    <TypeScriptCompile Include="src\away\primitives\LineSegment.ts" />
+    <TypeScriptCompile Include="src\away\primitives\PlaneGeometry.ts" />
+    <TypeScriptCompile Include="src\away\primitives\PrimitiveBase.ts" />
+    <TypeScriptCompile Include="src\away\primitives\RegularPolygonGeometry.ts" />
+    <TypeScriptCompile Include="src\away\primitives\SphereGeometry.ts" />
+    <TypeScriptCompile Include="src\away\primitives\TorusGeometry.ts" />
+    <TypeScriptCompile Include="src\away\primitives\WireframeCone.ts" />
+    <TypeScriptCompile Include="src\away\primitives\WireframeCube.ts" />
+    <TypeScriptCompile Include="src\away\primitives\WireframeCylinder.ts" />
+    <TypeScriptCompile Include="src\away\primitives\WireframePlane.ts" />
+    <TypeScriptCompile Include="src\away\primitives\WireframePrimitiveBase.ts" />
+    <TypeScriptCompile Include="src\away\primitives\WireframeRegularPolygon.ts" />
+    <TypeScriptCompile Include="src\away\primitives\WireframeSphere.ts" />
+    <TypeScriptCompile Include="src\away\primitives\WireframeTetrahedron.ts" />
+    <TypeScriptCompile Include="src\away\tools\commands\Merge.ts" />
+    <TypeScriptCompile Include="src\away\tools\data\ParticleGeometryTransform.ts" />
+    <TypeScriptCompile Include="src\away\tools\helpers\ParticleGeometryHelper.ts" />
+    <TypeScriptCompile Include="src\away\utils\GeometryUtils.ts" />
+    <TypeScriptCompile Include="src\away\utils\PerspectiveMatrix3D.ts" />
+    <TypeScriptCompile Include="src\away\_definitions.ts" />
+    <TypeScriptCompile Include="tests\AppHarness.ts" />
+    <TypeScriptCompile Include="tests\away\base\Object3DTest_v2.ts" />
+    <TypeScriptCompile Include="tests\away\containers\View3DTest.ts" />
+    <TypeScriptCompile Include="tests\away\controllers\HoverControllerTest.ts" />
+    <TypeScriptCompile Include="tests\away\display\BitmapDataReflectionTest.ts" />
+    <TypeScriptCompile Include="tests\away\entities\BillboardTest.ts" />
+    <TypeScriptCompile Include="tests\away\entities\EntityTest.ts" />
+    <TypeScriptCompile Include="tests\away\entities\LayoutTest.ts" />
+    <TypeScriptCompile Include="tests\away\entities\MeshTest.ts" />
+    <TypeScriptCompile Include="tests\away\library\AWDParserTest.ts" />
+    <TypeScriptCompile Include="tests\away\library\AWDParserTestEnvMap.ts" />
+    <TypeScriptCompile Include="tests\away\library\ObjLibLoaderTest.ts" />
+    <TypeScriptCompile Include="tests\away\materials\ColorMaterialTest.ts" />
+    <TypeScriptCompile Include="tests\away\materials\ColorMultiPassMatTest.ts" />
+    <TypeScriptCompile Include="tests\away\materials\TextureMultiPassMatTest.ts" />
+    <TypeScriptCompile Include="tests\away\pick\PickingTests.ts" />
+    <TypeScriptCompile Include="tests\away\primitives\PrimitivesTest.ts" />
+    <TypeScriptCompile Include="tests\away\primitives\WireframePrimitive.ts" />
+    <TypeScriptCompile Include="tests\away\render\RenderTest.ts" />
+    <TypeScriptCompile Include="tests\away\textures\CubeTextures.ts" />
+    <TypeScriptCompile Include="tests\demos\cubes\CubeDemo.ts" />
+    <TypeScriptCompile Include="tests\demos\lights\TorusLight.ts" />
+    <TypeScriptCompile Include="tests\demos\materials\MaterialAlphaTest.ts" />
+    <TypeScriptCompile Include="tests\demos\Object3D\TorusObject3DDemo.ts" />
+    <TypeScriptCompile Include="tests\demos\parsers\AWDShadowTest.ts" />
+    <TypeScriptCompile Include="tests\demos\parsers\AWDSuzanne.ts" />
+    <TypeScriptCompile Include="tests\demos\parsers\ObjChiefTestDay.ts" />
+    <TypeScriptCompile Include="tests\misc\BlueBitmap.ts" />
+    <TypeScriptCompile Include="tests\misc\bugs\CyclicDependencyBug.ts" />
+    <TypeScriptCompile Include="tests\misc\bugs\ts\Base.ts" />
+    <TypeScriptCompile Include="tests\misc\bugs\ts\FooA.ts" />
+    <TypeScriptCompile Include="tests\misc\bugs\ts\FooC.ts" />
+    <TypeScriptCompile Include="tests\misc\DynamicObjects.ts" />
+    <TypeScriptCompile Include="tests\misc\import\ImportTest.ts" />
+    <TypeScriptCompile Include="tests\misc\import\ts\BaseClass.ts" />
+    <TypeScriptCompile Include="tests\misc\import\ts\FooA.ts" />
+    <TypeScriptCompile Include="tests\misc\import\ts\FooB.ts" />
+    <TypeScriptCompile Include="tests\misc\import\ts\_reference.ts" />
+    <TypeScriptCompile Include="tests\scene\AGALTextureTorus.ts.ts" />
+    <TypeScriptCompile Include="tests\scene\AGALTorus.ts" />
+    <TypeScriptCompile Include="tests\scene\BlendTorus.ts" />
+    <TypeScriptCompile Include="tests\scene\LightTorus.ts" />
+    <TypeScriptCompile Include="tests\scene\MaterialTorus.ts" />
+    <TypeScriptCompile Include="tests\scene\PhongTorus.ts" />
+    <TypeScriptCompile Include="tests\scene\RotatingBluePlane.ts" />
+    <TypeScriptCompile Include="tests\scene\RotatingTorus.ts" />
+  </ItemGroup>
+  <PropertyGroup>
+    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
+    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
+  </PropertyGroup>
+  <PropertyGroup>
+    <RootNamespace>Away3d</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
+  <ProjectExtensions>
+    <VisualStudio>
+      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+        <WebProjectProperties>
+          <UseIIS>True</UseIIS>
+          <AutoAssignPort>True</AutoAssignPort>
+          <DevelopmentServerPort>63832</DevelopmentServerPort>
+          <DevelopmentServerVPath>/</DevelopmentServerVPath>
+          <IISUrl>http://localhost:63832/</IISUrl>
+          <NTLMAuthentication>False</NTLMAuthentication>
+          <UseCustomServer>False</UseCustomServer>
+          <CustomServerUrl>
+          </CustomServerUrl>
+          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+        </WebProjectProperties>
+      </FlavorProperties>
+    </VisualStudio>
+  </ProjectExtensions>
+  <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
+    <TypeScriptTarget>ES5</TypeScriptTarget>
+    <TypeScriptRemoveComments>false</TypeScriptRemoveComments>
+    <TypeScriptSourceMap>true</TypeScriptSourceMap>
+    <TypeScriptModuleKind>AMD</TypeScriptModuleKind>
+    <TypeScriptOutFile>build/away3d.next.js</TypeScriptOutFile>
+    <TypeScriptOutDir>build</TypeScriptOutDir>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)' == 'Release'">
+    <TypeScriptTarget>ES5</TypeScriptTarget>
+    <TypeScriptRemoveComments>true</TypeScriptRemoveComments>
+    <TypeScriptSourceMap>false</TypeScriptSourceMap>
+    <TypeScriptModuleKind>AMD</TypeScriptModuleKind>
+  </PropertyGroup>
+  <Import Project="$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets')" />
+</Project>

File away3d-extension-ts/Gruntfile.js

+/****************************************************************************************************************************************************************
+ *   Grunt File Usage:
+ ****************************************************************************************************************************************************************
+ *
+ *  Export Documentation, TypeScript and Minify:
+ *
+ *      grunt
+ *
+ *  Export TypeScript and Minify:
+ *
+ *      grunt lib
+ *
+ *****************************************************************************************************************************************************************
+ *  Options
+ *****************************************************************************************************************************************************************
+ *
+ *  Export lib version, defaults to 'next' if not specified:
+ *
+ *      grunt --libversion=0.0.1
+ *
+ ****************************************************************************************************************************************************************
+ *    Installing Dependencies:
+ ****************************************************************************************************************************************************************
+ *
+ *  To install Grunt
+ *
+ *  1) install the grunt cli:
+ *
+ *      npm install -g grunt-cli
+ *
+ *  2) install the dependencies used by the build script:
+ *
+ *      OSX :       sudo npm install
+ *      Windows:    npm install
+ *
+ ****************************************************************************************************************************************************************/
+
+module.exports = function(grunt) {
+
+
+    var version = grunt.option('libversion') || 'next';                     // Check for a version number | defaults to next if not specified
+
+    //--------------------------------------------------------------------------------------------------------------
+    // Plugins used by Grunt Script
+    //--------------------------------------------------------------------------------------------------------------
+
+    grunt.loadNpmTasks("grunt-ts");
+    grunt.loadNpmTasks('grunt-contrib-yuidoc');
+    grunt.loadNpmTasks('grunt-contrib-uglify');
+    grunt.loadNpmTasks('grunt-contrib-concat');
+
+    //--------------------------------------------------------------------------------------------------------------
+    // Grunt Config
+    //--------------------------------------------------------------------------------------------------------------
+
+    grunt.initConfig( {
+
+        //--------------------------------------------------------------------------------------------------------------
+        // Read the package.json
+        //--------------------------------------------------------------------------------------------------------------
+
+        pkg: grunt.file.readJSON('package.json'),
+
+        //--------------------------------------------------------------------------------------------------------------
+        // Metadata / Configuration
+        //--------------------------------------------------------------------------------------------------------------
+
+        meta: {
+
+            tsFile: 'src/away3d.ts',                                     // TypeScript export source
+            tsPath: 'src/',                                              // TypeScript source folder
+
+            tsExportFile: 'build/away3d.' + version + '.js',             // JavaScript export target
+            tsExportUglyFile: 'build/away3d.' + version + '.min.js',     // JavaScript minified target
+
+            tsExportFolder: 'build/',                                    // Export folder
+            docsPath: 'docs/'                                            // Documentation export path
+
+        },
+
+        //--------------------------------------------------------------------------------------------------------------
+        // Export and compile TypeScript
+        //--------------------------------------------------------------------------------------------------------------
+
+        ts: {
+
+            MainJsFile: {
+                src: ['<%= meta.tsFile %>'],
+                out: '<%= meta.tsExportFile %>',
+                options: {
+                    target: 'es5',
+                    sourcemap: true,
+                    declaration: true,
+                    comments: true
+                }
+            }
+        },
+
+        //--------------------------------------------------------------------------------------------------------------
+        // Concatenate file ( currently not used )
+        //--------------------------------------------------------------------------------------------------------------
+
+        concat: {
+            options: {
+                // define a string to put between each file in the concatenated output
+                separator: ';'
+            },
+            dist: {
+                // the files to concatenate
+                src: [ '<%= meta.tsExportFile %>' ],
+                // the location of the resulting JS file
+                dest: ''
+
+            }
+        },
+
+        //--------------------------------------------------------------------------------------------------------------
+        // Minify JavaScript source
+        //--------------------------------------------------------------------------------------------------------------
+
+        uglify: {
+
+            options: {
+                mangle: false
+            },
+            my_target: {
+                files: {
+                    '<%= meta.tsExportUglyFile %>': [ '<%= meta.tsExportFile %>' ]
+                }
+            }
+
+        },
+
+        //--------------------------------------------------------------------------------------------------------------
+        // Export Documentation ( using multi export JS files )
+        //--------------------------------------------------------------------------------------------------------------
+
+        yuidoc: {
+
+            compile: {
+
+                name: '<%= pkg.name %>',
+                description: '<%= pkg.description %>',
+                version: '<%= pkg.version %>',
+                url: '<%= pkg.homepage %>',
+
+                options: {
+                    extension:'.ts',
+                    paths: '<%= meta.tsPath %>',
+                    outdir: '<%= meta.docsPath %>'
+                }
+            }
+        }
+
+    } );
+
+    //--------------------------------------------------------------------------------------------------------------
+    // Register Grunt tasks
+    //--------------------------------------------------------------------------------------------------------------
+
+    grunt.option.init();
+	grunt.registerTask('default',   ['ts' , 'uglify' , 'yuidoc' ]); // Default Tasks
+	grunt.registerTask('lib',   ['ts' , 'uglify' ]); // Export TypeScript only
+
+};
+

File away3d-extension-ts/README.md

+Away3D Extension
+================
+
+Away3D Extension is a framework enabling WebGL-accelerated 3D graphics for AwayJS.

File away3d-extension-ts/away3d-license.txt

+Copyright 2013 The Away Foundation (http://www.theawayfoundation.org)
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.