├── .editorconfig ├── .gitignore ├── .travis.yml ├── LICENSE ├── MiniThreejsViewer └── index.html ├── README.md ├── SimpleViewer ├── TrackballControls.js ├── documents │ ├── sample-scene-aframe.png │ ├── sample-scene-threejs.png │ └── sample-scene-unity.png ├── index.css ├── index.js ├── kanau-utils.js ├── libs │ ├── pure-min.css │ ├── stats.min.js │ └── three.min.js ├── package.json ├── sample-aframe │ └── simple-scene │ │ ├── images │ │ ├── blue_christmas_by_kahookashii-d4jz91b.jpg │ │ └── logo_square.png │ │ ├── index.html │ │ └── models │ │ ├── Cube.mtl │ │ ├── Cube.obj │ │ ├── Plane.mtl │ │ ├── Plane.obj │ │ ├── body.mtl │ │ ├── body.obj │ │ ├── enginside.mtl │ │ ├── enginside.obj │ │ ├── engmount.mtl │ │ ├── engmount.obj │ │ ├── engout.mtl │ │ ├── engout.obj │ │ ├── engrim.mtl │ │ ├── engrim.obj │ │ ├── rearbody.mtl │ │ ├── rearbody.obj │ │ ├── tail.mtl │ │ ├── tail.obj │ │ ├── tiles.mtl │ │ ├── tiles.obj │ │ ├── windows.mtl │ │ ├── windows.obj │ │ ├── wings.mtl │ │ └── wings.obj ├── sample-threejs │ ├── 5minlab │ │ ├── images │ │ │ ├── 01_로고_2.png │ │ │ ├── 5minvr.png │ │ │ ├── Lightmap-0_comp_light.jpg │ │ │ ├── app_upper_for_vrweb.png │ │ │ └── blue-sky-resize.jpg │ │ └── scene.json │ ├── lightmap │ │ ├── images │ │ │ ├── 01_로고_4.png │ │ │ ├── 40692662-Social-media-messages-twitter-retweet-icon-sign-Seamless-pattern-with-geometric-texture-Vector-illus-Stock-Vector.jpg │ │ │ ├── Lightmap-0_comp_light.jpg │ │ │ ├── blue_christmas_by_kahookashii-d4jz91b.jpg │ │ │ └── name.png │ │ └── scene.json │ ├── materials │ │ ├── images │ │ │ ├── Slate Tiles - (Normal Map).png │ │ │ ├── Slate Tiles - AO Map.png │ │ │ ├── Slate Tiles - Color Map.png │ │ │ ├── Slate Tiles - HeightMap.png │ │ │ └── Slate Tiles - Specular Map.png │ │ └── scene.json │ ├── models │ │ └── scene.json │ ├── script-variables │ │ ├── images │ │ │ ├── 128px-BroBear-guide2_cv.png │ │ │ └── blue_christmas_by_kahookashii-d4jz91b.jpg │ │ └── scene.json │ └── simple-scene │ │ ├── images │ │ ├── blue_christmas_by_kahookashii-d4jz91b.jpg │ │ └── logo_square.png │ │ └── scene.json └── views │ ├── pages │ ├── index.ejs │ └── layout.ejs │ └── partials │ ├── footer.ejs │ ├── ga.ejs │ ├── github-ribbon.ejs │ ├── head.ejs │ ├── nav.ejs │ └── samples.ejs ├── UnityProject ├── Assets │ ├── Kanau.meta │ ├── Kanau │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── AFrameScene.meta │ │ │ ├── AFrameScene │ │ │ │ ├── AFrameExportVisitor.cs │ │ │ │ ├── AFrameExportVisitor.cs.meta │ │ │ │ ├── AFrameNode.cs │ │ │ │ ├── AFrameNode.cs.meta │ │ │ │ ├── AFrameNodeFactory.cs │ │ │ │ ├── AFrameNodeFactory.cs.meta │ │ │ │ ├── ColorProperty.cs │ │ │ │ ├── ColorProperty.cs.meta │ │ │ │ ├── Editor.meta │ │ │ │ ├── Editor │ │ │ │ │ ├── KeyValuePropertyTest.cs │ │ │ │ │ ├── KeyValuePropertyTest.cs.meta │ │ │ │ │ ├── Vector3PropertyTest.cs │ │ │ │ │ └── Vector3PropertyTest.cs.meta │ │ │ │ ├── IProperty.cs │ │ │ │ ├── IProperty.cs.meta │ │ │ │ ├── KeyValueProperty.cs │ │ │ │ ├── KeyValueProperty.cs.meta │ │ │ │ ├── Materials.meta │ │ │ │ ├── Materials │ │ │ │ │ ├── AFrameMaterial.cs │ │ │ │ │ ├── AFrameMaterial.cs.meta │ │ │ │ │ ├── BaseAFrameShader.cs │ │ │ │ │ ├── BaseAFrameShader.cs.meta │ │ │ │ │ ├── DiffuseAFrameMaterialFactory.cs │ │ │ │ │ ├── DiffuseAFrameMaterialFactory.cs.meta │ │ │ │ │ ├── IMaterialFactory.cs │ │ │ │ │ ├── IMaterialFactory.cs.meta │ │ │ │ │ ├── MaterialFacade.cs │ │ │ │ │ ├── MaterialFacade.cs.meta │ │ │ │ │ ├── StandardMaterialFactory.cs │ │ │ │ │ ├── StandardMaterialFactory.cs.meta │ │ │ │ │ ├── UnlitColorMaterialFactory.cs │ │ │ │ │ ├── UnlitColorMaterialFactory.cs.meta │ │ │ │ │ ├── UnlitTextureMaterialFactory.cs │ │ │ │ │ └── UnlitTextureMaterialFactory.cs.meta │ │ │ │ ├── MtlExporter.cs │ │ │ │ ├── MtlExporter.cs.meta │ │ │ │ ├── ObjExporter.cs │ │ │ │ ├── ObjExporter.cs.meta │ │ │ │ ├── SimpleProperty.cs │ │ │ │ ├── SimpleProperty.cs.meta │ │ │ │ ├── Vector2Property.cs │ │ │ │ ├── Vector2Property.cs.meta │ │ │ │ ├── Vector3Property.cs │ │ │ │ └── Vector3Property.cs.meta │ │ │ ├── ExportMenu.cs │ │ │ ├── ExportMenu.cs.meta │ │ │ ├── ExportSettings.cs │ │ │ ├── ExportSettings.cs.meta │ │ │ ├── External.meta │ │ │ ├── External │ │ │ │ ├── Antlr4.StringTemplate.dll │ │ │ │ ├── Antlr4.StringTemplate.dll.meta │ │ │ │ ├── JPGEncoder.cs │ │ │ │ ├── JPGEncoder.cs.meta │ │ │ │ ├── LitJson.dll │ │ │ │ ├── LitJson.dll.meta │ │ │ │ ├── MiniEXR.cs │ │ │ │ ├── MiniEXR.cs.meta │ │ │ │ ├── note.txt │ │ │ │ └── note.txt.meta │ │ │ ├── SceneExporter.cs │ │ │ ├── SceneExporter.cs.meta │ │ │ ├── SceneFormat.cs │ │ │ ├── SceneFormat.cs.meta │ │ │ ├── Three.cs │ │ │ ├── Three.cs.meta │ │ │ ├── ThreeScene.meta │ │ │ ├── ThreeScene │ │ │ │ ├── BaseElem.cs │ │ │ │ ├── BaseElem.cs.meta │ │ │ │ ├── Cameras.meta │ │ │ │ ├── Cameras │ │ │ │ │ ├── CameraElem.cs │ │ │ │ │ ├── CameraElem.cs.meta │ │ │ │ │ ├── PerspectiveCameraElem.cs │ │ │ │ │ └── PerspectiveCameraElem.cs.meta │ │ │ │ ├── Geometries.meta │ │ │ │ ├── Geometries │ │ │ │ │ ├── BoxBufferGeometryElem.cs │ │ │ │ │ ├── BoxBufferGeometryElem.cs.meta │ │ │ │ │ ├── BufferGeometryElem.cs │ │ │ │ │ ├── BufferGeometryElem.cs.meta │ │ │ │ │ ├── CylinderBufferGeometryElem.cs │ │ │ │ │ ├── CylinderBufferGeometryElem.cs.meta │ │ │ │ │ ├── QuadBufferGeometry.cs │ │ │ │ │ ├── QuadBufferGeometry.cs.meta │ │ │ │ │ ├── SphereBufferGeometryElem.cs │ │ │ │ │ └── SphereBufferGeometryElem.cs.meta │ │ │ │ ├── GroupElem.cs │ │ │ │ ├── GroupElem.cs.meta │ │ │ │ ├── IThreeElem.cs │ │ │ │ ├── IThreeElem.cs.meta │ │ │ │ ├── IVisitor.cs │ │ │ │ ├── IVisitor.cs.meta │ │ │ │ ├── Lights.meta │ │ │ │ ├── Lights │ │ │ │ │ ├── AmbientLightElem.cs │ │ │ │ │ ├── AmbientLightElem.cs.meta │ │ │ │ │ ├── DirectionalLightElem.cs │ │ │ │ │ ├── DirectionalLightElem.cs.meta │ │ │ │ │ ├── LightElem.cs │ │ │ │ │ ├── LightElem.cs.meta │ │ │ │ │ ├── PointLightElem.cs │ │ │ │ │ └── PointLightElem.cs.meta │ │ │ │ ├── Materials.meta │ │ │ │ ├── Materials │ │ │ │ │ ├── IMaterialWriter.cs │ │ │ │ │ ├── IMaterialWriter.cs.meta │ │ │ │ │ ├── MaterialElem.cs │ │ │ │ │ ├── MaterialElem.cs.meta │ │ │ │ │ ├── MeshBasicMaterialWriter.cs │ │ │ │ │ ├── MeshBasicMaterialWriter.cs.meta │ │ │ │ │ ├── MeshLambertMaterialWriter.cs │ │ │ │ │ ├── MeshLambertMaterialWriter.cs.meta │ │ │ │ │ ├── MeshPhongMaterialWriter.cs │ │ │ │ │ ├── MeshPhongMaterialWriter.cs.meta │ │ │ │ │ ├── MeshStandardMaterialWriter.cs │ │ │ │ │ └── MeshStandardMaterialWriter.cs.meta │ │ │ │ ├── MetadataElem.cs │ │ │ │ ├── MetadataElem.cs.meta │ │ │ │ ├── Object3DElem.cs │ │ │ │ ├── Object3DElem.cs.meta │ │ │ │ ├── Objects.meta │ │ │ │ ├── Objects │ │ │ │ │ ├── MeshElem.cs │ │ │ │ │ └── MeshElem.cs.meta │ │ │ │ ├── SceneElem.cs │ │ │ │ ├── SceneElem.cs.meta │ │ │ │ ├── Textures.meta │ │ │ │ ├── Textures │ │ │ │ │ ├── ImageElem.cs │ │ │ │ │ ├── ImageElem.cs.meta │ │ │ │ │ ├── TextureElem.cs │ │ │ │ │ └── TextureElem.cs.meta │ │ │ │ ├── ThreeNodeTable.cs │ │ │ │ ├── ThreeNodeTable.cs.meta │ │ │ │ ├── ThreeSceneExportVisitor.cs │ │ │ │ ├── ThreeSceneExportVisitor.cs.meta │ │ │ │ ├── ThreeSceneRoot.cs │ │ │ │ └── ThreeSceneRoot.cs.meta │ │ │ ├── UnityScene.meta │ │ │ ├── UnityScene │ │ │ │ ├── Containers.meta │ │ │ │ ├── Containers │ │ │ │ │ ├── LightmapContainer.cs │ │ │ │ │ ├── LightmapContainer.cs.meta │ │ │ │ │ ├── MaterialContainer.cs │ │ │ │ │ ├── MaterialContainer.cs.meta │ │ │ │ │ ├── MeshContainer.cs │ │ │ │ │ ├── MeshContainer.cs.meta │ │ │ │ │ ├── TextureContainer.cs │ │ │ │ │ └── TextureContainer.cs.meta │ │ │ │ ├── DumpVisitor.cs │ │ │ │ ├── DumpVisitor.cs.meta │ │ │ │ ├── NodeTable.cs │ │ │ │ ├── NodeTable.cs.meta │ │ │ │ ├── ProjectSettings.cs │ │ │ │ ├── ProjectSettings.cs.meta │ │ │ │ ├── SceneGraph.meta │ │ │ │ ├── SceneGraph │ │ │ │ │ ├── CameraNode.cs │ │ │ │ │ ├── CameraNode.cs.meta │ │ │ │ │ ├── ComponentNode.cs │ │ │ │ │ ├── ComponentNode.cs.meta │ │ │ │ │ ├── GameObjectNode.cs │ │ │ │ │ ├── GameObjectNode.cs.meta │ │ │ │ │ ├── IUnityNode.cs │ │ │ │ │ ├── IUnityNode.cs.meta │ │ │ │ │ ├── LightNode.cs │ │ │ │ │ ├── LightNode.cs.meta │ │ │ │ │ ├── RenderNode.cs │ │ │ │ │ ├── RenderNode.cs.meta │ │ │ │ │ ├── ScriptNode.cs │ │ │ │ │ └── ScriptNode.cs.meta │ │ │ │ ├── ThreeSceneConvertVisitor.cs │ │ │ │ ├── ThreeSceneConvertVisitor.cs.meta │ │ │ │ ├── UnitySceneRoot.cs │ │ │ │ └── UnitySceneRoot.cs.meta │ │ │ ├── Utils.meta │ │ │ └── Utils │ │ │ │ ├── ComponentHelper.cs │ │ │ │ ├── ComponentHelper.cs.meta │ │ │ │ ├── Conversions.cs │ │ │ │ ├── Conversions.cs.meta │ │ │ │ ├── Editor.meta │ │ │ │ ├── Editor │ │ │ │ ├── ConversionsTest.cs │ │ │ │ ├── ConversionsTest.cs.meta │ │ │ │ ├── ExportPathHelperTest.cs │ │ │ │ └── ExportPathHelperTest.cs.meta │ │ │ │ ├── ExportPathHelper.cs │ │ │ │ ├── ExportPathHelper.cs.meta │ │ │ │ ├── FileHelper.cs │ │ │ │ ├── FileHelper.cs.meta │ │ │ │ ├── FlattenHelper.cs │ │ │ │ ├── FlattenHelper.cs.meta │ │ │ │ ├── GLConverter.cs │ │ │ │ ├── GLConverter.cs.meta │ │ │ │ ├── GameObjectHelper.cs │ │ │ │ ├── GameObjectHelper.cs.meta │ │ │ │ ├── GameObjectIndexComparer.cs │ │ │ │ ├── GameObjectIndexComparer.cs.meta │ │ │ │ ├── JsonScopeWriter.cs │ │ │ │ ├── JsonScopeWriter.cs.meta │ │ │ │ ├── Report.cs │ │ │ │ └── Report.cs.meta │ │ ├── template_append.txt │ │ ├── template_append.txt.meta │ │ ├── template_end.txt │ │ ├── template_end.txt.meta │ │ ├── template_head.txt │ │ └── template_head.txt.meta │ ├── Materials.meta │ ├── Materials │ │ ├── 5minlab.meta │ │ ├── 5minlab │ │ │ ├── 5minlab_logo.mat │ │ │ ├── 5minlab_logo.mat.meta │ │ │ ├── 5minlab_sky.mat │ │ │ ├── 5minlab_sky.mat.meta │ │ │ ├── 5minlab_snakevr.mat │ │ │ ├── 5minlab_snakevr.mat.meta │ │ │ ├── White.mat │ │ │ └── White.mat.meta │ │ ├── MaterialBox.mat │ │ ├── MaterialBox.mat.meta │ │ ├── MaterialPlane.mat │ │ ├── MaterialPlane.mat.meta │ │ ├── MaterialSphere.mat │ │ ├── MaterialSphere.mat.meta │ │ ├── SampleTexture.mat │ │ ├── SampleTexture.mat.meta │ │ ├── SlateTiles.meta │ │ ├── SlateTiles │ │ │ ├── SlateTileMobileBumpedDiffuse.mat │ │ │ ├── SlateTileMobileBumpedDiffuse.mat.meta │ │ │ ├── SlateTileMobileBumpedSpecular.mat │ │ │ ├── SlateTileMobileBumpedSpecular.mat.meta │ │ │ ├── SlateTileMobileDiffuse.mat │ │ │ ├── SlateTileMobileDiffuse.mat.meta │ │ │ ├── SlateTileMobileVertexLit.mat │ │ │ ├── SlateTileMobileVertexLit.mat.meta │ │ │ ├── SlateTileStandard.mat │ │ │ ├── SlateTileStandard.mat.meta │ │ │ ├── SlateTileStandardSpecular.mat │ │ │ ├── SlateTileStandardSpecular.mat.meta │ │ │ ├── SlateTileUnlitTexture.mat │ │ │ ├── SlateTileUnlitTexture.mat.meta │ │ │ ├── UnlitColor.mat │ │ │ └── UnlitColor.mat.meta │ │ ├── blue_christmas_by_kahookashii-d4jz91b.mat │ │ ├── blue_christmas_by_kahookashii-d4jz91b.mat.meta │ │ ├── logo_square.mat │ │ ├── logo_square.mat.meta │ │ ├── mylightmap.meta │ │ └── mylightmap │ │ │ ├── Floor.mat │ │ │ ├── Floor.mat.meta │ │ │ ├── Logo.mat │ │ │ ├── Logo.mat.meta │ │ │ ├── Name.mat │ │ │ ├── Name.mat.meta │ │ │ ├── Twitter.mat │ │ │ └── Twitter.mat.meta │ ├── Models.meta │ ├── Models │ │ ├── 5minlab.meta │ │ ├── 5minlab │ │ │ ├── 5minvr.obj │ │ │ ├── 5minvr.obj.meta │ │ │ ├── 5minvr.png │ │ │ ├── 5minvr.png.meta │ │ │ ├── Materials.meta │ │ │ └── Materials │ │ │ │ ├── 5minvrMat.mat │ │ │ │ └── 5minvrMat.mat.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ │ ├── bodyMat.mat │ │ │ ├── bodyMat.mat.meta │ │ │ ├── enginsideMat.mat │ │ │ ├── enginsideMat.mat.meta │ │ │ ├── engmountMat.mat │ │ │ ├── engmountMat.mat.meta │ │ │ ├── engoutMat.mat │ │ │ ├── engoutMat.mat.meta │ │ │ ├── engrimMat.mat │ │ │ ├── engrimMat.mat.meta │ │ │ ├── rearbodyMat.mat │ │ │ ├── rearbodyMat.mat.meta │ │ │ ├── tailMat.mat │ │ │ ├── tailMat.mat.meta │ │ │ ├── tilesMat.mat │ │ │ ├── tilesMat.mat.meta │ │ │ ├── windowsMat.mat │ │ │ ├── windowsMat.mat.meta │ │ │ ├── wingsMat.mat │ │ │ └── wingsMat.mat.meta │ │ ├── README.txt │ │ ├── README.txt.meta │ │ ├── shuttle.obj │ │ └── shuttle.obj.meta │ ├── Scenes.meta │ ├── Scenes │ │ ├── Demo5minlab.meta │ │ ├── Demo5minlab.unity │ │ ├── Demo5minlab.unity.meta │ │ ├── Demo5minlab │ │ │ ├── LightingData.asset │ │ │ ├── LightingData.asset.meta │ │ │ ├── Lightmap-0_comp_dir.exr │ │ │ ├── Lightmap-0_comp_dir.exr.meta │ │ │ ├── Lightmap-0_comp_light.exr │ │ │ └── Lightmap-0_comp_light.exr.meta │ │ ├── DemoLightmap.meta │ │ ├── DemoLightmap.unity │ │ ├── DemoLightmap.unity.meta │ │ ├── DemoLightmap │ │ │ ├── LightingData.asset │ │ │ ├── LightingData.asset.meta │ │ │ ├── Lightmap-0_comp_dir.exr │ │ │ ├── Lightmap-0_comp_dir.exr.meta │ │ │ ├── Lightmap-0_comp_light.exr │ │ │ ├── Lightmap-0_comp_light.exr.meta │ │ │ ├── ReflectionProbe-0.exr │ │ │ └── ReflectionProbe-0.exr.meta │ │ ├── DemoMaterials.unity │ │ ├── DemoMaterials.unity.meta │ │ ├── DemoModels.unity │ │ ├── DemoModels.unity.meta │ │ ├── DemoScriptVariables.unity │ │ ├── DemoScriptVariables.unity.meta │ │ ├── DemoSimpleScene.unity │ │ └── DemoSimpleScene.unity.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── HelloWorld.cs │ │ ├── HelloWorld.cs.meta │ │ ├── ScriptVariableDemo.cs │ │ └── ScriptVariableDemo.cs.meta │ ├── Textures.meta │ └── Textures │ │ ├── 128px-BroBear-guide2_cv.png │ │ ├── 128px-BroBear-guide2_cv.png.meta │ │ ├── 5minlab.meta │ │ ├── 5minlab │ │ ├── 01_로고_2.png │ │ ├── 01_로고_2.png.meta │ │ ├── app_upper_for_vrweb.png │ │ ├── app_upper_for_vrweb.png.meta │ │ ├── blue-sky-resize.jpg │ │ ├── blue-sky-resize.jpg.meta │ │ ├── logo_square.png │ │ └── logo_square.png.meta │ │ ├── SlateTiles.meta │ │ ├── SlateTiles │ │ ├── Env_Cube.hdr │ │ ├── Env_Cube.hdr.meta │ │ ├── Env_Cube.png │ │ ├── Env_Cube.png.meta │ │ ├── Env_Lat-Lon.hdr │ │ ├── Env_Lat-Lon.hdr.meta │ │ ├── Env_Lat-Lon.png │ │ ├── Env_Lat-Lon.png.meta │ │ ├── README.txt │ │ ├── README.txt.meta │ │ ├── Slate Tiles - (Normal Map).png │ │ ├── Slate Tiles - (Normal Map).png.meta │ │ ├── Slate Tiles - AO Map.png │ │ ├── Slate Tiles - AO Map.png.meta │ │ ├── Slate Tiles - Color Map.png │ │ ├── Slate Tiles - Color Map.png.meta │ │ ├── Slate Tiles - HeightMap.png │ │ ├── Slate Tiles - HeightMap.png.meta │ │ ├── Slate Tiles - Specular Map.png │ │ ├── Slate Tiles - Specular Map.png.meta │ │ ├── Slate Tiles.gtx │ │ └── Slate Tiles.gtx.meta │ │ ├── blue_christmas_by_kahookashii-d4jz91b.jpg │ │ ├── blue_christmas_by_kahookashii-d4jz91b.jpg.meta │ │ ├── mylightmap.meta │ │ └── mylightmap │ │ ├── 01_로고_4.png │ │ ├── 01_로고_4.png.meta │ │ ├── 40692662-Social-media-messages-twitter-retweet-icon-sign-Seamless-pattern-with-geometric-texture-Vector-illus-Stock-Vector.jpg │ │ ├── 40692662-Social-media-messages-twitter-retweet-icon-sign-Seamless-pattern-with-geometric-texture-Vector-illus-Stock-Vector.jpg.meta │ │ ├── name.png │ │ └── name.png.meta └── ProjectSettings │ ├── AudioManager.asset │ ├── ClusterInputManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── NavMeshAreas.asset │ ├── NetworkManager.asset │ ├── Physics2DSettings.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── TagManager.asset │ ├── TimeManager.asset │ ├── UnityAdsSettings.asset │ └── UnityConnectSettings.asset ├── deploy_key.enc ├── document ├── manual-build-lightmap.png ├── manual-copy-kanau.png ├── manual-kanau-menu.jpg ├── manual-light-baked.png ├── manual-mini-threejs-viewer.jpg ├── manual-set-static.png ├── original │ ├── manual-build-lightmap.png │ ├── manual-copy-kanau.png │ ├── manual-kanau-menu.png │ ├── manual-light-baked.png │ └── manual-set-static.png ├── sample-scene-aframe.jpg ├── sample-scene-threejs.jpg └── sample-scene-unity.jpg └── script ├── execute.sh └── install.sh /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | insert_final_newline = true 6 | 7 | [*.cs] 8 | indent_style = space 9 | indent_size = 4 10 | 11 | [{package.json,.travis.yml}] 12 | indent_style = space 13 | indent_size = 2 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | [Bb]uilds/ 6 | Assets/AssetStoreTools* 7 | 8 | # Autogenerated VS/MD solution and project files 9 | ExportedObj/ 10 | *.csproj 11 | *.unityproj 12 | *.sln 13 | *.suo 14 | *.tmp 15 | *.user 16 | *.userprefs 17 | *.pidb 18 | *.booproj 19 | *.svd 20 | 21 | 22 | # Unity3D generated meta files 23 | *.pidb.meta 24 | 25 | # Unity3D Generated File On Crash Reports 26 | sysinfo.txt 27 | 28 | # Builds 29 | *.apk 30 | *.unitypackage 31 | 32 | # development 33 | UnityProject/output 34 | 35 | # node.js for viewer 36 | node_modules 37 | 38 | SimpleViewer/*.html 39 | SimpleViewer/output 40 | 41 | MiniThreejsViewer/images/* 42 | MiniThreejsViewer/models/* 43 | MiniThreejsViewer/*.json 44 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | 5 | sudo: false 6 | 7 | install: 8 | - ./script/install.sh 9 | 10 | script: 11 | - ./script/execute.sh 12 | 13 | branches: 14 | only: 15 | - master 16 | 17 | notifications: 18 | email: false 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 5분실험실 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /SimpleViewer/documents/sample-scene-aframe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/documents/sample-scene-aframe.png -------------------------------------------------------------------------------- /SimpleViewer/documents/sample-scene-threejs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/documents/sample-scene-threejs.png -------------------------------------------------------------------------------- /SimpleViewer/documents/sample-scene-unity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/documents/sample-scene-unity.png -------------------------------------------------------------------------------- /SimpleViewer/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0 auto; 3 | padding: 10px; 4 | max-width: 820px; 5 | } 6 | 7 | h1 { 8 | text-align: center; 9 | } 10 | 11 | h2 { 12 | text-align: center; 13 | } 14 | 15 | 16 | footer { 17 | text-align: center; 18 | } 19 | 20 | a.anchor-no-decoration, a.anchor-no-decoration:visited { 21 | text-decoration: none; 22 | color:#357DAF; 23 | } -------------------------------------------------------------------------------- /SimpleViewer/index.js: -------------------------------------------------------------------------------- 1 | const ejs = require('ejs'); 2 | const fs = require('fs'); 3 | 4 | function writeExamplePage(data, output) { 5 | const baseTemplateFile = './views/pages/layout.ejs'; 6 | ejs.renderFile(baseTemplateFile, data, {}, function(err, str) { 7 | fs.writeFile(output, str, function(err) { 8 | if(err) { 9 | return console.error("cannot write file : " + output); 10 | } 11 | }); 12 | }); 13 | } 14 | 15 | writeExamplePage({ 16 | scenefile: './sample-threejs/materials/scene.json', 17 | }, './threejs-materials.html'); 18 | writeExamplePage({ 19 | scenefile: './sample-threejs/models/scene.json', 20 | }, './threejs-models.html'); 21 | writeExamplePage({ 22 | scenefile: './sample-threejs/script-variables/scene.json', 23 | }, './threejs-script-variables.html'); 24 | writeExamplePage({ 25 | scenefile: './sample-threejs/simple-scene/scene.json', 26 | }, './threejs-simple-scene.html'); 27 | writeExamplePage({ 28 | scenefile: './sample-threejs/5minlab/scene.json', 29 | }, './threejs-5minlab-scene.html'); 30 | writeExamplePage({ 31 | scenefile: './sample-threejs/lightmap/scene.json', 32 | }, './threejs-lightmap-scene.html'); 33 | 34 | function writeIndexPage() { 35 | ejs.renderFile('./views/pages/index.ejs', {}, {}, function(err, str) { 36 | fs.writeFile('./index.html', str, function(err) { 37 | }); 38 | }); 39 | } 40 | writeIndexPage(); -------------------------------------------------------------------------------- /SimpleViewer/kanau-utils.js: -------------------------------------------------------------------------------- 1 | function findByUserData(node, key, value) { 2 | if(node.userData && node.userData[key] == value) { 3 | return node; 4 | } 5 | 6 | for(var i = 0 ; i < node.children.length ; i++) { 7 | var child = node.children[i]; 8 | var found = findByUserData(child, key, value); 9 | if(found != null) { 10 | return found; 11 | } 12 | } 13 | 14 | return undefined; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /SimpleViewer/libs/stats.min.js: -------------------------------------------------------------------------------- 1 | // stats.js - http://github.com/mrdoob/stats.js 2 | var Stats=function(){function h(a){c.appendChild(a.dom);return a}function k(a){for(var d=0;de+1E3&&(r.update(1E3*a/(c-e),100),e=c,a=0,t)){var d=performance.memory;t.update(d.usedJSHeapSize/1048576,d.jsHeapSizeLimit/1048576)}return c},update:function(){g=this.end()},domElement:c,setMode:k}}; 4 | Stats.Panel=function(h,k,l){var c=Infinity,g=0,e=Math.round,a=e(window.devicePixelRatio||1),r=80*a,f=48*a,t=3*a,u=2*a,d=3*a,m=15*a,n=74*a,p=30*a,q=document.createElement("canvas");q.width=r;q.height=f;q.style.cssText="width:80px;height:48px";var b=q.getContext("2d");b.font="bold "+9*a+"px Helvetica,Arial,sans-serif";b.textBaseline="top";b.fillStyle=l;b.fillRect(0,0,r,f);b.fillStyle=k;b.fillText(h,t,u);b.fillRect(d,m,n,p);b.fillStyle=l;b.globalAlpha=.9;b.fillRect(d,m,n,p);return{dom:q,update:function(f, 5 | v){c=Math.min(c,f);g=Math.max(g,f);b.fillStyle=l;b.globalAlpha=1;b.fillRect(0,0,r,m);b.fillStyle=k;b.fillText(e(f)+" "+h+" ("+e(c)+"-"+e(g)+")",t,u);b.drawImage(q,d+a,m,n-a,p,d,m,n-a,p);b.fillRect(d+n-a,m,a,p);b.fillStyle=l;b.globalAlpha=.9;b.fillRect(d+n-a,m,a,e((1-f/v)*p))}}};"object"===typeof module&&(module.exports=Stats); 6 | -------------------------------------------------------------------------------- /SimpleViewer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "simple-viewer", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "author": "", 7 | "license": "MIT", 8 | "dependencies": { 9 | "aframe": "0.2.0", 10 | "three": "0.78.0", 11 | "ejs": "2.4.2", 12 | "purecss": "0.6.0" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/images/blue_christmas_by_kahookashii-d4jz91b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-aframe/simple-scene/images/blue_christmas_by_kahookashii-d4jz91b.jpg -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/images/logo_square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-aframe/simple-scene/images/logo_square.png -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/Cube.mtl: -------------------------------------------------------------------------------- 1 | newmtl Cube 2 | map_Kd .././images/logo_square.png 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/Cube.obj: -------------------------------------------------------------------------------- 1 | mtllib Cube.mtl 2 | usemtl Cube 3 | 4 | g Cube 5 | v 0.5 -0.5 -0.5 6 | v -0.5 -0.5 -0.5 7 | v 0.5 0.5 -0.5 8 | v -0.5 0.5 -0.5 9 | v 0.5 0.5 0.5 10 | v -0.5 0.5 0.5 11 | v 0.5 -0.5 0.5 12 | v -0.5 -0.5 0.5 13 | v 0.5 0.5 -0.5 14 | v -0.5 0.5 -0.5 15 | v 0.5 0.5 0.5 16 | v -0.5 0.5 0.5 17 | v 0.5 -0.5 0.5 18 | v 0.5 -0.5 -0.5 19 | v -0.5 -0.5 -0.5 20 | v -0.5 -0.5 0.5 21 | v -0.5 -0.5 -0.5 22 | v -0.5 0.5 -0.5 23 | v -0.5 0.5 0.5 24 | v -0.5 -0.5 0.5 25 | v 0.5 -0.5 0.5 26 | v 0.5 0.5 0.5 27 | v 0.5 0.5 -0.5 28 | v 0.5 -0.5 -0.5 29 | 30 | vn 0 0 -1 31 | vn 0 0 -1 32 | vn 0 0 -1 33 | vn 0 0 -1 34 | vn 0 1 0 35 | vn 0 1 0 36 | vn 0 0 1 37 | vn 0 0 1 38 | vn 0 1 0 39 | vn 0 1 0 40 | vn 0 0 1 41 | vn 0 0 1 42 | vn 0 -1 0 43 | vn 0 -1 0 44 | vn 0 -1 0 45 | vn 0 -1 0 46 | vn -1 0 0 47 | vn -1 0 0 48 | vn -1 0 0 49 | vn -1 0 0 50 | vn 1 0 0 51 | vn 1 0 0 52 | vn 1 0 0 53 | vn 1 0 0 54 | 55 | vt 0 0 56 | vt 1 0 57 | vt 0 1 58 | vt 1 1 59 | vt 0 1 60 | vt 1 1 61 | vt 0 1 62 | vt 1 1 63 | vt 0 0 64 | vt 1 0 65 | vt 0 0 66 | vt 1 0 67 | vt 0 0 68 | vt 0 1 69 | vt 1 1 70 | vt 1 0 71 | vt 0 0 72 | vt 0 1 73 | vt 1 1 74 | vt 1 0 75 | vt 0 0 76 | vt 0 1 77 | vt 1 1 78 | vt 1 0 79 | f 1/1/1 4/4/4 3/3/3 80 | f 1/1/1 2/2/2 4/4/4 81 | f 9/9/9 6/6/6 5/5/5 82 | f 9/9/9 10/10/10 6/6/6 83 | f 11/11/11 8/8/8 7/7/7 84 | f 11/11/11 12/12/12 8/8/8 85 | f 13/13/13 15/15/15 14/14/14 86 | f 13/13/13 16/16/16 15/15/15 87 | f 17/17/17 19/19/19 18/18/18 88 | f 17/17/17 20/20/20 19/19/19 89 | f 21/21/21 23/23/23 22/22/22 90 | f 21/21/21 24/24/24 23/23/23 91 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/Plane.mtl: -------------------------------------------------------------------------------- 1 | newmtl Plane 2 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/body.mtl: -------------------------------------------------------------------------------- 1 | newmtl body 2 | Kd 0.8 0.8 0.8 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/enginside.mtl: -------------------------------------------------------------------------------- 1 | newmtl enginside 2 | Kd 0.8 0.8 0.8 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/engmount.mtl: -------------------------------------------------------------------------------- 1 | newmtl engmount 2 | Kd 0.8 0.8 0.8 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/engout.mtl: -------------------------------------------------------------------------------- 1 | newmtl engout 2 | Kd 0.8 0.8 0.8 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/engrim.mtl: -------------------------------------------------------------------------------- 1 | newmtl engrim 2 | Kd 0.8 0.8 0.8 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/rearbody.mtl: -------------------------------------------------------------------------------- 1 | newmtl rearbody 2 | Kd 0.8 0.8 0.8 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/tail.mtl: -------------------------------------------------------------------------------- 1 | newmtl tail 2 | Kd 0.8 0.8 0.8 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/tiles.mtl: -------------------------------------------------------------------------------- 1 | newmtl tiles 2 | Kd 0.8 0.8 0.8 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/windows.mtl: -------------------------------------------------------------------------------- 1 | newmtl windows 2 | Kd 0.8 0.8 0.8 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/windows.obj: -------------------------------------------------------------------------------- 1 | mtllib windows.mtl 2 | usemtl windows 3 | 4 | g windows 5 | v 0.4999494 -0.068171 -0.056924 6 | v 0.5349478 -0.04709326 -0.05660632 7 | v 0.4999762 -0.04911556 -0.08052054 8 | v 0.4906717 -0.06201945 -0.06865015 9 | v 0.5299752 -0.01479122 -0.08110404 10 | v 0.5568033 -0.01192018 -0.05686858 11 | v 0.5568033 0.01192013 -0.05686858 12 | v 0.5299752 0.01479117 -0.08110404 13 | v 0.5349478 0.04709321 -0.05660632 14 | v 0.4999762 0.04911551 -0.08052054 15 | v 0.4999494 0.06817095 -0.056924 16 | v 0.4906717 0.0620194 -0.06865015 17 | 18 | vn 0.3498757 -0.7262125 -0.5917791 19 | vn 0.5380441 -0.5321638 -0.6536897 20 | vn 0.4086783 -0.6497691 -0.640923 21 | vn 0.267552 -0.7497336 -0.60524 22 | vn 0.6262481 -0.2969533 -0.7208551 23 | vn 0.6674099 -0.2028691 -0.716525 24 | vn 0.6674099 0.2028691 -0.716525 25 | vn 0.6262481 0.2969533 -0.7208551 26 | vn 0.5380441 0.5321638 -0.6536897 27 | vn 0.4086783 0.6497691 -0.640923 28 | vn 0.3498757 0.7262125 -0.5917791 29 | vn 0.267552 0.7497336 -0.60524 30 | 31 | f 1/1/1 3/3/3 2/2/2 32 | f 1/1/1 4/4/4 3/3/3 33 | f 5/5/5 2/2/2 3/3/3 34 | f 2/2/2 5/5/5 6/6/6 35 | f 7/7/7 6/6/6 5/5/5 36 | f 7/7/7 5/5/5 8/8/8 37 | f 7/7/7 8/8/8 9/9/9 38 | f 9/9/9 8/8/8 10/10/10 39 | f 9/9/9 10/10/10 11/11/11 40 | f 10/10/10 12/12/12 11/11/11 41 | -------------------------------------------------------------------------------- /SimpleViewer/sample-aframe/simple-scene/models/wings.mtl: -------------------------------------------------------------------------------- 1 | newmtl wings 2 | Kd 0.8 0.8 0.8 3 | -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/5minlab/images/01_로고_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/5minlab/images/01_로고_2.png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/5minlab/images/5minvr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/5minlab/images/5minvr.png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/5minlab/images/Lightmap-0_comp_light.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/5minlab/images/Lightmap-0_comp_light.jpg -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/5minlab/images/app_upper_for_vrweb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/5minlab/images/app_upper_for_vrweb.png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/5minlab/images/blue-sky-resize.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/5minlab/images/blue-sky-resize.jpg -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/lightmap/images/01_로고_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/lightmap/images/01_로고_4.png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/lightmap/images/40692662-Social-media-messages-twitter-retweet-icon-sign-Seamless-pattern-with-geometric-texture-Vector-illus-Stock-Vector.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/lightmap/images/40692662-Social-media-messages-twitter-retweet-icon-sign-Seamless-pattern-with-geometric-texture-Vector-illus-Stock-Vector.jpg -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/lightmap/images/Lightmap-0_comp_light.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/lightmap/images/Lightmap-0_comp_light.jpg -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/lightmap/images/blue_christmas_by_kahookashii-d4jz91b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/lightmap/images/blue_christmas_by_kahookashii-d4jz91b.jpg -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/lightmap/images/name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/lightmap/images/name.png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/materials/images/Slate Tiles - (Normal Map).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/materials/images/Slate Tiles - (Normal Map).png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/materials/images/Slate Tiles - AO Map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/materials/images/Slate Tiles - AO Map.png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/materials/images/Slate Tiles - Color Map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/materials/images/Slate Tiles - Color Map.png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/materials/images/Slate Tiles - HeightMap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/materials/images/Slate Tiles - HeightMap.png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/materials/images/Slate Tiles - Specular Map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/materials/images/Slate Tiles - Specular Map.png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/script-variables/images/128px-BroBear-guide2_cv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/script-variables/images/128px-BroBear-guide2_cv.png -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/script-variables/images/blue_christmas_by_kahookashii-d4jz91b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/script-variables/images/blue_christmas_by_kahookashii-d4jz91b.jpg -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/simple-scene/images/blue_christmas_by_kahookashii-d4jz91b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/simple-scene/images/blue_christmas_by_kahookashii-d4jz91b.jpg -------------------------------------------------------------------------------- /SimpleViewer/sample-threejs/simple-scene/images/logo_square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/SimpleViewer/sample-threejs/simple-scene/images/logo_square.png -------------------------------------------------------------------------------- /SimpleViewer/views/pages/index.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <% include ../partials/head.ejs %> 6 | 7 | 8 | <% include ../partials/nav.ejs %> 9 | 10 |

Export Three.js or A-Frame From Unity Scene.

11 | 12 |

Unity3D Scene

13 | 14 | 15 |

Exported to Three.js

16 | 17 | 18 |

Exported to AFrame

19 | 20 | 21 | <% include ../partials/samples.ejs %> 22 | 23 |

24 | 25 | How To Use / Documents 26 | 27 |

28 | 29 | <% include ../partials/footer.ejs %> 30 | 31 | -------------------------------------------------------------------------------- /SimpleViewer/views/partials/footer.ejs: -------------------------------------------------------------------------------- 1 | 4 | 5 | <% include ../partials/ga.ejs %> 6 | -------------------------------------------------------------------------------- /SimpleViewer/views/partials/ga.ejs: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /SimpleViewer/views/partials/github-ribbon.ejs: -------------------------------------------------------------------------------- 1 | 2 | Fork me on GitHub 3 | -------------------------------------------------------------------------------- /SimpleViewer/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /SimpleViewer/views/partials/nav.ejs: -------------------------------------------------------------------------------- 1 |

Unity Scene Web Exporter

2 | 3 | <% include ../partials/github-ribbon.ejs %> -------------------------------------------------------------------------------- /SimpleViewer/views/partials/samples.ejs: -------------------------------------------------------------------------------- 1 |

Three.js Examples

2 | 10 | 11 | 12 |

AFrame Examples

13 | 16 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd570ff00d052f640aa8df8b986bbb7b 3 | folderAsset: yes 4 | timeCreated: 1466154384 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 812f79c31b5eca24d9e8b424a904d2e6 3 | folderAsset: yes 4 | timeCreated: 1466154414 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83b610c9fefe7184485e0c5d3ce6f2ff 3 | folderAsset: yes 4 | timeCreated: 1467962303 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/AFrameExportVisitor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b4e8b78793e2d240b9bae3a5f765e2b 3 | timeCreated: 1467994506 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/AFrameNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43b840ded6f1e384ead4e91e2065a755 3 | timeCreated: 1467100287 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/AFrameNodeFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b495e2185f881c2428c252074d9fe111 3 | timeCreated: 1467994506 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/ColorProperty.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace Assets.Kanau.AFrameScene { 5 | public class ColorProperty : IProperty { 6 | public Color Value { get; private set; } 7 | 8 | bool useDefaultValue; 9 | Color defaultValue; 10 | 11 | public ColorProperty (Color value, Color defaultval) { 12 | this.Value = value; 13 | this.defaultValue = defaultval; 14 | this.useDefaultValue = true; 15 | } 16 | public ColorProperty (Color value) { 17 | this.Value = value; 18 | this.useDefaultValue = false; 19 | } 20 | 21 | public string MakeString () { 22 | if (useDefaultValue && Value == defaultValue) { 23 | return ""; 24 | } 25 | 26 | return "#" + Three.UnityColorToHexColor(Value); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/ColorProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 295820c6961be9f42b423f1898b4fafe 3 | timeCreated: 1479034847 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd1d18f9142ff3546b6cc01ad8758df1 3 | folderAsset: yes 4 | timeCreated: 1467994774 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Editor/KeyValuePropertyTest.cs: -------------------------------------------------------------------------------- 1 | using NUnit.Framework; 2 | 3 | namespace Assets.Kanau.AFrameScene.Editor { 4 | class KeyValuePropertyTest { 5 | [Test] 6 | public void AddTest() { 7 | var p = new KeyValueProperty(); 8 | p.Add("primitive", "box"); 9 | p.Add("width", 1); 10 | var expected = "primitive: box; width: 1"; 11 | Assert.AreEqual(expected, p.MakeString()); 12 | } 13 | 14 | [Test] 15 | public void EmptyTest() { 16 | var w = new KeyValueProperty(); 17 | Assert.AreEqual("", w.MakeString()); 18 | } 19 | } 20 | 21 | 22 | } 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Editor/KeyValuePropertyTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1304cbe0e4d7334449abd26d3848b60c 3 | timeCreated: 1467098042 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Editor/Vector3PropertyTest.cs: -------------------------------------------------------------------------------- 1 | using NUnit.Framework; 2 | using UnityEngine; 3 | 4 | namespace Assets.Kanau.AFrameScene.Editor { 5 | class Vector3PropertyTest { 6 | [Test] 7 | public void SameWithDefaultValue() { 8 | var p = new Vector3Property(Vector3.one, Vector3.one); 9 | var expected = ""; 10 | Assert.AreEqual(expected, p.MakeString()); 11 | } 12 | 13 | [Test] 14 | public void DifferentWithDefaultValue() { 15 | var p = new Vector3Property(Vector3.one, Vector3.zero); 16 | var expected = "1 1 1"; 17 | Assert.AreEqual(expected, p.MakeString()); 18 | } 19 | 20 | [Test] 21 | public void NotUseDefaultValue() { 22 | var p = new Vector3Property(Vector3.zero); 23 | var expected = "0 0 0"; 24 | Assert.AreEqual(expected, p.MakeString()); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Editor/Vector3PropertyTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48876cc36aae196469feccff4fed4a01 3 | timeCreated: 1467994838 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/IProperty.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Assets.Kanau.AFrameScene { 7 | public interface IProperty { 8 | string MakeString(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/IProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0be22fd651217145a7bc6fe2726b984 3 | timeCreated: 1467964904 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/KeyValueProperty.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Assets.Kanau.AFrameScene { 6 | public class KeyValueProperty : IProperty { 7 | struct KeyValueTuple { 8 | public string key; 9 | public string value; 10 | } 11 | 12 | List data = new List(); 13 | 14 | public void Add(string key, T value) { 15 | var tuple = new KeyValueTuple() 16 | { 17 | key = key, 18 | value = value.ToString(), 19 | }; 20 | data.Add(tuple); 21 | } 22 | 23 | public string MakeString() { 24 | var tokens = new string[data.Count]; 25 | for (int i = 0; i < data.Count; i++) { 26 | var t = data[i]; 27 | var elem = string.Format("{0}: {1}", t.key, t.value); 28 | tokens[i] = elem; 29 | } 30 | return string.Join("; ", tokens); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/KeyValueProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b66ec8827a1732048a75bb1e807c7220 3 | timeCreated: 1467098042 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f43d77fe723154c4fbe7f0c3c8f5efb8 3 | folderAsset: yes 4 | timeCreated: 1467994506 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/AFrameMaterial.cs: -------------------------------------------------------------------------------- 1 | namespace Assets.Kanau.AFrameScene.Materials { 2 | public enum MaterialSide { 3 | Front, 4 | Back, 5 | Double 6 | } 7 | 8 | /// 9 | /// https://aframe.io/docs/master/components/material.html#properties 10 | /// 11 | public class AFrameMaterial { 12 | const bool DefaultDepthTest = true; 13 | const float DefaultOpacity = 1.0f; 14 | const bool DefaultTransparent = false; 15 | const MaterialSide DefaultSide = MaterialSide.Front; 16 | 17 | public bool DepthTest { get; set; } 18 | public float Opacity { get; set; } 19 | public bool Transparent { get; set; } 20 | public MaterialSide Side { get; set; } 21 | 22 | public BaseAFrameShader Shader { get; set; } 23 | 24 | public AFrameMaterial() { 25 | this.DepthTest = DefaultDepthTest; 26 | this.Opacity = DefaultOpacity; 27 | this.Transparent = DefaultTransparent; 28 | this.Side = DefaultSide; 29 | } 30 | 31 | public KeyValueProperty CreateProperty() { 32 | var p = new KeyValueProperty(); 33 | if (DepthTest != DefaultDepthTest) { p.Add("depthTest", DepthTest); } 34 | if (Opacity != DefaultOpacity) { p.Add("opacity", Opacity); } 35 | if (Transparent != DefaultTransparent) { p.Add("transparent", Transparent); } 36 | if (Side != DefaultSide) { p.Add("side", Side.ToString().ToLower()); } 37 | 38 | Shader.FillProperty(p); 39 | return p; 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/AFrameMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a512d15279bd794bb6bc90ae65719d4 3 | timeCreated: 1467113748 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/BaseAFrameShader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 614ae8b747b55a041ad87a89bd59f1d9 3 | timeCreated: 1467994506 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/DiffuseAFrameMaterialFactory.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.ThreeScene.Materials; 2 | 3 | namespace Assets.Kanau.AFrameScene.Materials { 4 | public class DiffuseMaterialFactory : IMaterialFactory { 5 | public AFrameMaterial Create(MaterialElem elem) { 6 | var container = elem.Container; 7 | 8 | var src = ""; 9 | if (elem.Map != null) { 10 | src = elem.Map.ImagePath; 11 | } 12 | 13 | var shader = new FlatAFrameShader() 14 | { 15 | Color = container.Color, 16 | Repeat = container.MainTextureScale, 17 | Src = src, 18 | }; 19 | var output = new AFrameMaterial() 20 | { 21 | Shader = shader, 22 | Transparent = container.Transparent, 23 | Side = (container.Color.a == 1) ? MaterialSide.Front: MaterialSide.Double, 24 | }; 25 | return output; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/DiffuseAFrameMaterialFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c18afaea27f4dd4c8a6b171e782167e 3 | timeCreated: 1467994506 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/IMaterialFactory.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.ThreeScene.Materials; 2 | 3 | namespace Assets.Kanau.AFrameScene.Materials { 4 | public interface IMaterialFactory { 5 | AFrameMaterial Create(MaterialElem elem); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/IMaterialFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c37fe921ff724124386f83f072c65073 3 | timeCreated: 1467994506 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/MaterialFacade.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85fb197e6b0b129439b26c50f2af054e 3 | timeCreated: 1467994506 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/StandardMaterialFactory.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.ThreeScene.Materials; 2 | 3 | namespace Assets.Kanau.AFrameScene.Materials { 4 | public class StandardMaterialFactory : IMaterialFactory { 5 | public AFrameMaterial Create(MaterialElem elem) { 6 | var container = elem.Container; 7 | 8 | var src = ""; 9 | if (elem.Map != null) { 10 | src = elem.Map.ImagePath; 11 | } 12 | 13 | var shader = new StandardAFrameShader() 14 | { 15 | Color = container.Color, 16 | Metalness = container.Metallic, 17 | Roughness = container.Roughness, 18 | Repeat = container.MainTextureScale, 19 | Src = src, 20 | }; 21 | 22 | var side = (container.Color.a == 1) ? MaterialSide.Front : MaterialSide.Double; 23 | var output = new AFrameMaterial() 24 | { 25 | Shader = shader, 26 | Transparent = container.Transparent, 27 | Opacity = container.Color.a, 28 | Side = side, 29 | }; 30 | return output; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/StandardMaterialFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27cfc179826e2ca4998f403335bd9bc4 3 | timeCreated: 1467994506 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/UnlitColorMaterialFactory.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.ThreeScene.Materials; 2 | 3 | namespace Assets.Kanau.AFrameScene.Materials { 4 | public class UnlitColorMaterialFactory : IMaterialFactory { 5 | public AFrameMaterial Create(MaterialElem elem) { 6 | var container = elem.Container; 7 | 8 | var shader = new FlatAFrameShader() 9 | { 10 | Color = container.Color, 11 | }; 12 | 13 | var output = new AFrameMaterial() 14 | { 15 | Side = MaterialSide.Front, 16 | Shader = shader, 17 | }; 18 | return output; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/UnlitColorMaterialFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c13a74e89d596d4438a403933fe8ab85 3 | timeCreated: 1467994506 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/UnlitTextureMaterialFactory.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.ThreeScene.Materials; 2 | 3 | namespace Assets.Kanau.AFrameScene.Materials { 4 | public class UnlitTextureMaterialFactory : IMaterialFactory { 5 | public AFrameMaterial Create(MaterialElem elem) { 6 | var container = elem.Container; 7 | 8 | var src = ""; 9 | if (elem.Map != null) { 10 | src = elem.Map.ImagePath; 11 | } 12 | 13 | var shader = new FlatAFrameShader() 14 | { 15 | Repeat = container.MainTextureScale, 16 | Src = src, 17 | }; 18 | var output = new AFrameMaterial() 19 | { 20 | Shader = shader, 21 | Side = MaterialSide.Front, 22 | }; 23 | return output; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Materials/UnlitTextureMaterialFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 014313957ba583242b5a5fb54724340b 3 | timeCreated: 1467994506 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/MtlExporter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8a45a365f4ff22498afb2334ba29f6b 3 | timeCreated: 1479025720 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/ObjExporter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f40ba26eec255cb45bd0be3aa8958d4e 3 | timeCreated: 1468073391 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/SimpleProperty.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace Assets.Kanau.AFrameScene { 8 | public class SimpleProperty : IProperty { 9 | public T Value { get; private set; } 10 | T defaultValue; 11 | bool useDefaultValue; 12 | 13 | public SimpleProperty(T val) { 14 | Debug.Assert(val != null); 15 | this.Value = val; 16 | this.useDefaultValue = false; 17 | this.defaultValue = default(T); 18 | } 19 | public SimpleProperty (T val, T defaultValue) { 20 | Debug.Assert(val != null); 21 | this.Value = val; 22 | this.defaultValue = defaultValue; 23 | this.useDefaultValue = true; 24 | } 25 | public string MakeString() { 26 | if(useDefaultValue) { 27 | if(Value.Equals(defaultValue)) { 28 | return ""; 29 | } 30 | return Value.ToString(); 31 | 32 | } else { 33 | return Value.ToString(); 34 | } 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/SimpleProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d206eedc32497ce478abec295d0d981d 3 | timeCreated: 1467964904 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Vector2Property.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace Assets.Kanau.AFrameScene { 5 | public class Vector2Property : IProperty { 6 | public Vector2 Value { get; private set; } 7 | 8 | bool useDefaultValue; 9 | Vector2 defaultValue; 10 | 11 | public Vector2Property (Vector2 value, Vector2 defaultval) { 12 | this.Value = value; 13 | this.defaultValue = defaultval; 14 | this.useDefaultValue = true; 15 | } 16 | public Vector2Property (Vector2 value) { 17 | this.Value = value; 18 | this.useDefaultValue = false; 19 | } 20 | 21 | public string MakeString () { 22 | if (useDefaultValue && Value == defaultValue) { 23 | return ""; 24 | } 25 | 26 | var tokens = new string[] 27 | { 28 | Value.x.ToString(), 29 | Value.y.ToString(), 30 | }; 31 | return string.Join(" ", tokens); 32 | } 33 | 34 | public string GetValue (string key) { 35 | return MakeString(); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Vector2Property.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a02d0a0790204cc49a87789ff37e1b82 3 | timeCreated: 1479035196 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Vector3Property.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace Assets.Kanau.AFrameScene { 5 | public class Vector3Property : IProperty { 6 | public Vector3 Value { get; private set; } 7 | 8 | bool useDefaultValue; 9 | Vector3 defaultValue; 10 | 11 | public Vector3Property(Vector3 value, Vector3 defaultval) { 12 | this.Value = value; 13 | this.defaultValue = defaultval; 14 | this.useDefaultValue = true; 15 | } 16 | public Vector3Property(Vector3 value) { 17 | this.Value = value; 18 | this.useDefaultValue = false; 19 | } 20 | 21 | public string MakeString() { 22 | if (useDefaultValue && Value == defaultValue) { 23 | return ""; 24 | } 25 | 26 | var tokens = new string[] 27 | { 28 | Value.x.ToString(), 29 | Value.y.ToString(), 30 | Value.z.ToString(), 31 | }; 32 | return string.Join(" ", tokens); 33 | } 34 | 35 | public static Vector3Property MakeScale(Vector3 s) { 36 | return new Vector3Property(s, Vector3.one); 37 | } 38 | public static Vector3Property MakePosition(Vector3 p) { 39 | return new Vector3Property(p, Vector3.zero); 40 | } 41 | public static Vector3Property MakeRotation(Quaternion q) { 42 | var r = q.eulerAngles; 43 | return new Vector3Property(new Vector3(-r.x, -r.y, r.z), Vector3.zero); 44 | } 45 | 46 | public string GetValue (string key) { 47 | return MakeString(); 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/AFrameScene/Vector3Property.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 038d7efb76f173c45a0bef88c8741a54 3 | timeCreated: 1467964904 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ExportMenu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3401bf92879626b4cad46c863a87fb8f 3 | timeCreated: 1467095204 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ExportSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee9debe52c41a8e4997cca7f3f371c54 3 | timeCreated: 1468070183 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/External.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9cc839075f4bae4598449df6d7b69cf 3 | folderAsset: yes 4 | timeCreated: 1466165391 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/External/Antlr4.StringTemplate.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Kanau/Editor/External/Antlr4.StringTemplate.dll -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/External/Antlr4.StringTemplate.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dd08283c4d50c744b8ef541367a47d3 3 | timeCreated: 1466165427 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/External/JPGEncoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 836e6bddf4bb3fe418a4e3672bc37e11 3 | timeCreated: 1466165453 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/External/LitJson.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Kanau/Editor/External/LitJson.dll -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/External/LitJson.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32202e740abe8d343a6b296f0b392616 3 | timeCreated: 1466165408 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/External/MiniEXR.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edf7ccbc4e260ec4c876a1c73b6c1f5a 3 | timeCreated: 1466165457 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/External/note.txt: -------------------------------------------------------------------------------- 1 | * LitJson : 0.9.0 2 | * https://github.com/AndreasBroager/unity-jpeg-encoder/ 3 | * https://www.nuget.org/packages/Antlr4.StringTemplate/4.0.6.9004 4 | * MiniEXR.cs : http://wiki.unity3d.com/index.php/MiniEXR -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/External/note.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7e0a3e651109964cb345da030638795 3 | timeCreated: 1466165441 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/SceneExporter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb0cb64befddf0a478ed77de08736708 3 | timeCreated: 1466165794 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/SceneFormat.cs: -------------------------------------------------------------------------------- 1 | namespace Assets.Kanau { 2 | public enum SceneFormat { 3 | ThreeJS, 4 | AFrame 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/SceneFormat.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a73f3fa9fc63ebf4cbacc4ad02d87a7c 3 | timeCreated: 1468068896 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Three.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ad33fcba95b2d547a1c1ba576eeac33 3 | timeCreated: 1466165348 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3b1e618be3525048b6a2e4b0eb5bb5e 3 | folderAsset: yes 4 | timeCreated: 1466155328 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/BaseElem.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Assets.Kanau.ThreeScene { 4 | public abstract class BaseElem : IThreeElem 5 | { 6 | protected Guid guid = Guid.NewGuid(); 7 | 8 | public string _uuid = null; 9 | public string Uuid 10 | { 11 | get 12 | { 13 | if(_uuid == null) { 14 | _uuid = guid.ToString().ToUpper(); 15 | } 16 | return _uuid; 17 | } 18 | set { _uuid = value; } 19 | } 20 | 21 | public virtual string Name { get; set; } 22 | 23 | public abstract string Type { get; } 24 | 25 | public abstract void Accept(IVisitor v); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/BaseElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ac12ae00a4374d4ba277602cac6c5d3 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Cameras.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e19d84ffc5f44464d9c1b7c1984a499b 3 | folderAsset: yes 4 | timeCreated: 1466232596 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Cameras/CameraElem.cs: -------------------------------------------------------------------------------- 1 | namespace Assets.Kanau.ThreeScene.Cameras 2 | { 3 | public abstract class CameraElem : Object3DElem 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Cameras/CameraElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 697a396d9178fbe489abbb8841d18263 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Cameras/PerspectiveCameraElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.SceneGraph; 2 | 3 | namespace Assets.Kanau.ThreeScene.Cameras { 4 | public class PerspectiveCameraElem : CameraElem 5 | { 6 | public override string Type { get { return "PerspectiveCamera"; } } 7 | public override void Accept(IVisitor v) { v.Visit(this); } 8 | 9 | public float FOV { get; set; } 10 | public float Near { get; set; } 11 | public float Far { get; set; } 12 | 13 | public PerspectiveCameraElem(CameraNode cam) { 14 | //this.Name = cam.Value.name; 15 | this.Name = string.Format("{0}_{1}", cam.Value.name, Type); 16 | 17 | this.FOV = cam.FieldOfView; 18 | this.Near = cam.Near; 19 | this.Far = cam.Far; 20 | // shadow : cast + receive 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Cameras/PerspectiveCameraElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64886bec86401ba49bb405eb4151cf90 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Geometries.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b267021c7e02c24f970bd6396995cc5 3 | folderAsset: yes 4 | timeCreated: 1466232596 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Geometries/BoxBufferGeometryElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.Containers; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace Assets.Kanau.ThreeScene.Geometries { 8 | public class BoxBufferGeometryElem : AbstractGeometryElem { 9 | public override string Type { get { return "BoxBufferGeometry"; } } 10 | public override void Accept (IVisitor v) { v.Visit(this); } 11 | 12 | public float Width { get; private set; } 13 | public float Height { get; private set; } 14 | public float Depth { get; private set; } 15 | 16 | public BoxBufferGeometryElem(MeshContainer c) { 17 | this.Width = 1; 18 | this.Height = 1; 19 | this.Depth = 1; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Geometries/BoxBufferGeometryElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b19f6bc325172934e932678cd0022ca4 3 | timeCreated: 1479037633 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Geometries/BufferGeometryElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e30cdade72b411649a868ad2212d98c4 3 | timeCreated: 1466167173 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Geometries/CylinderBufferGeometryElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.Containers; 2 | 3 | namespace Assets.Kanau.ThreeScene.Geometries { 4 | public class CylinderBufferGeometryElem : AbstractGeometryElem { 5 | public override string Type { get { return "CylinderBufferGeometry"; } } 6 | public override void Accept(IVisitor v) { v.Visit(this); } 7 | 8 | public float Height { get; private set; } 9 | public float Radius { get; private set; } 10 | 11 | public CylinderBufferGeometryElem(MeshContainer c) { 12 | this.Height = 2; 13 | this.Radius = 0.5f; 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Geometries/CylinderBufferGeometryElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd25db87fa4742440bbdd6d6baee8035 3 | timeCreated: 1467105882 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Geometries/QuadBufferGeometry.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.Containers; 2 | 3 | namespace Assets.Kanau.ThreeScene.Geometries { 4 | public class QuadBufferGeometry : AbstractGeometryElem { 5 | public float Width { get; private set; } 6 | public float Height { get; private set; } 7 | 8 | public QuadBufferGeometry(MeshContainer c) { 9 | this.Width = 1; 10 | this.Height = 1; 11 | } 12 | 13 | public override string Type { get { return "PlaneBufferGeometry"; } } 14 | public override void Accept(IVisitor v) { v.Visit(this); } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Geometries/QuadBufferGeometry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d44f2fbf2b479a54eb52d366a07e65a9 3 | timeCreated: 1467106329 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Geometries/SphereBufferGeometryElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.Containers; 2 | 3 | namespace Assets.Kanau.ThreeScene.Geometries { 4 | public class SphereBufferGeometryElem : AbstractGeometryElem { 5 | public override string Type { get { return "SphereBufferGeometry"; } } 6 | public override void Accept(IVisitor v) { v.Visit(this); } 7 | 8 | public float Radius { get; private set; } 9 | 10 | public SphereBufferGeometryElem(MeshContainer c) { 11 | Radius = 0.5f; 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Geometries/SphereBufferGeometryElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1423b0eb12c01aa4983124b3c3fb8912 3 | timeCreated: 1467106025 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/GroupElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.SceneGraph; 2 | 3 | namespace Assets.Kanau.ThreeScene { 4 | public class GroupElem : Object3DElem 5 | { 6 | public override string Type { get { return "Group"; } } 7 | public override void Accept(IVisitor v) { v.Visit(this); } 8 | 9 | public GroupElem(IGameObjectNode n) { 10 | this.Name = n.ToString(); 11 | 12 | var go = n.CurrentObject; 13 | if(go != null) { 14 | var tr = go.transform; 15 | this.SetTransform(tr); 16 | 17 | this.Visible = n.ActiveSelf; 18 | } 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/GroupElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c48ad4f9b1c33a74c800df67eb406a5e 3 | timeCreated: 1466345801 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/IThreeElem.cs: -------------------------------------------------------------------------------- 1 | namespace Assets.Kanau.ThreeScene { 2 | public interface IThreeElem 3 | { 4 | string Uuid { get; } 5 | void Accept(IVisitor v); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/IThreeElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3a5a3e7174b9e24483766dd7aedd5bd 3 | timeCreated: 1466167173 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/IVisitor.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.ThreeScene.Cameras; 2 | using Assets.Kanau.ThreeScene.Geometries; 3 | using Assets.Kanau.ThreeScene.Lights; 4 | using Assets.Kanau.ThreeScene.Materials; 5 | using Assets.Kanau.ThreeScene.Objects; 6 | using Assets.Kanau.ThreeScene.Textures; 7 | 8 | namespace Assets.Kanau.ThreeScene { 9 | public interface IVisitor { 10 | void Visit(PerspectiveCameraElem el); 11 | 12 | void Visit(BufferGeometryElem el); 13 | void Visit (BoxBufferGeometryElem el); 14 | void Visit(CylinderBufferGeometryElem el); 15 | void Visit(QuadBufferGeometry el); 16 | void Visit(SphereBufferGeometryElem el); 17 | 18 | void Visit(AmbientLightElem el); 19 | void Visit(DirectionalLightElem el); 20 | void Visit(PointLightElem el); 21 | 22 | void Visit(MaterialElem el); 23 | 24 | void Visit(MeshElem el); 25 | 26 | void Visit(ImageElem el); 27 | void Visit(TextureElem el); 28 | 29 | void Visit(MetadataElem el); 30 | void Visit(SceneElem el); 31 | void Visit(GroupElem el); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/IVisitor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3fec8894afc26a840a9fb22d088bf213 3 | timeCreated: 1467964904 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Lights.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f119c1a87e19af47b047fa91b4d08f9 3 | folderAsset: yes 4 | timeCreated: 1466232596 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Lights/AmbientLightElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene; 2 | 3 | namespace Assets.Kanau.ThreeScene.Lights { 4 | public class AmbientLightElem : LightElem 5 | { 6 | public override string Type { get { return "AmbientLight"; } } 7 | public override void Accept(IVisitor v) { v.Visit(this); } 8 | 9 | public AmbientLightElem(ProjectSettings settings) : base() { 10 | this.UnityColor = settings.AmbientColor; 11 | this.Name = "AmbientLight"; 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Lights/AmbientLightElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77b218f717020f14d90e38b2ea148926 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Lights/DirectionalLightElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.SceneGraph; 2 | 3 | namespace Assets.Kanau.ThreeScene.Lights { 4 | public class DirectionalLightElem : LightElem 5 | { 6 | public override string Type { get { return "DirectionalLight"; } } 7 | public override void Accept(IVisitor v) { v.Visit(this); } 8 | 9 | public DirectionalLightElem(LightNode node) : base(node) { 10 | //this.Name = node.Value.name; 11 | this.Name = string.Format("{0}_{1}", node.Value.name, Type); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Lights/DirectionalLightElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2da8d9149cc04dd40a9f586daaa8f445 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Lights/LightElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.SceneGraph; 2 | using UnityEngine; 3 | 4 | namespace Assets.Kanau.ThreeScene.Lights { 5 | public abstract class LightElem : Object3DElem { 6 | public uint Color 7 | { 8 | get { return Three.UnityColorToThreeColorInt(UnityColor); } 9 | } 10 | public float Intensity { get; set; } 11 | public Color UnityColor { get; set; } 12 | public float Distance { get; set; } 13 | public float Decay { get; set; } 14 | 15 | public LightElem() { 16 | Intensity = 1.0f; 17 | } 18 | 19 | public LightElem(LightNode node) { 20 | // 빛 관련 공통속성 21 | this.Intensity = node.Intensity; 22 | this.UnityColor = node.Color; 23 | 24 | // 유니티로는 point light 거리 무한을 표현할수 없어서 25 | // 일정범위 이상을 무한으로 취급함 26 | if (node.Distance >= LightNode.InfiniteDistance) { 27 | this.Distance = 0; 28 | } else { 29 | this.Distance = node.Distance; 30 | } 31 | 32 | // TODO 유니티에는 Decay에 대응되는게 없어서 적당히 설정 33 | this.Decay = 1; 34 | 35 | // TODO shadow : cast 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Lights/LightElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 569acd20b9836f648a03b6bbf559a613 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Lights/PointLightElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.SceneGraph; 2 | 3 | namespace Assets.Kanau.ThreeScene.Lights { 4 | public class PointLightElem : LightElem 5 | { 6 | public override string Type { get { return "PointLight"; } } 7 | public override void Accept(IVisitor v) { v.Visit(this); } 8 | 9 | 10 | public PointLightElem(LightNode node) : base(node){ 11 | //this.Name = node.Value.name; 12 | this.Name = string.Format("{0}_{1}", node.Value.name, Type); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Lights/PointLightElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4e1fdef58061ca4f99754111cbe18da 3 | timeCreated: 1466232597 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13d575e823a0d78409d87a53bf1e7ef0 3 | folderAsset: yes 4 | timeCreated: 1466232596 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials/IMaterialWriter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a979d0e690ca28e4885e34c21fc946fc 3 | timeCreated: 1466835994 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials/MaterialElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1121442d142dc654babb48895d2bd249 3 | timeCreated: 1466167477 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials/MeshBasicMaterialWriter.cs: -------------------------------------------------------------------------------- 1 | namespace Assets.Kanau.ThreeScene.Materials { 2 | public class MeshBasicMaterialWriter : AbstractMaterialWriter 3 | { 4 | public override string[] GetAttributes() { 5 | return new string[] 6 | { 7 | "color", 8 | "map", 9 | "aoMap", 10 | "aoMapIntensity", 11 | "specularMap", 12 | "alphaMap", 13 | "envMap", 14 | "combine", 15 | "reflectivity", 16 | "refractionRatio", 17 | "fog", 18 | "shading", 19 | "wireframe", 20 | "wireframeLinewidth", 21 | "wireframeLinecap", 22 | "wireframeLinejoin", 23 | "vertexColors", 24 | "skinning", 25 | "morphTargets" 26 | }; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials/MeshBasicMaterialWriter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80cc981b5ac1d3745b303ef30c5d971e 3 | timeCreated: 1466840197 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials/MeshLambertMaterialWriter.cs: -------------------------------------------------------------------------------- 1 | namespace Assets.Kanau.ThreeScene.Materials { 2 | public class MeshLambertMaterialWriter : AbstractMaterialWriter 3 | { 4 | public override string[] GetAttributes() { 5 | return new string[] 6 | { 7 | "color", 8 | "map", 9 | "lightMap", 10 | "lightMapIntensity", 11 | "aoMap", 12 | "aoMapIntensity", 13 | "emissive", 14 | "emissiveMap", 15 | "emissiveIntensity", 16 | "specularMap", 17 | "alphaMap", 18 | "envMap", 19 | "combine", 20 | "reflectivity", 21 | "refractionRatio", 22 | "fog", 23 | "wireframe", 24 | "wireframeLinewidth", 25 | "wireframeLinecap", 26 | "wireframeLinejoin", 27 | "vertexColors", 28 | "skinning", 29 | "morphTargets", 30 | "morphNormals", 31 | }; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials/MeshLambertMaterialWriter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb7897cf65b4bdc469da6524b4ba4bae 3 | timeCreated: 1466835994 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials/MeshPhongMaterialWriter.cs: -------------------------------------------------------------------------------- 1 | namespace Assets.Kanau.ThreeScene.Materials { 2 | /// 3 | /// http://threejs.org/docs/index.html#Reference/Materials/MeshPhongMaterial 4 | /// 5 | public class MeshPhongMaterialWriter : AbstractMaterialWriter 6 | { 7 | public override string[] GetAttributes() { 8 | return new string[] 9 | { 10 | "color", 11 | "specular", 12 | "shininess", 13 | "map", 14 | "lightMap", 15 | "lightMapIntensity", 16 | "aoMap", 17 | "aoMapIntensity", 18 | "emissive", 19 | "emissiveMap", 20 | "emissiveIntensity", 21 | "bumpMap", 22 | "bumpScale", 23 | "normalMap", 24 | "normalScale", 25 | "displacementMap", 26 | "displacementScale", 27 | "displacementBias", 28 | "specularMap", 29 | "alphaMap", 30 | "envMap", 31 | "combine", 32 | "reflectivity", 33 | "refractionRatio", 34 | "fog", 35 | "shading", 36 | "wireframe", 37 | "wireframeLinewidth", 38 | "wireframeLinecap", 39 | "wireframeLinejoin", 40 | "vertexColors", 41 | "skinning", 42 | "morphTargets", 43 | "morphNormals" 44 | }; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials/MeshPhongMaterialWriter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9509d1496022d143a4abe79e2fee9a4 3 | timeCreated: 1466835994 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials/MeshStandardMaterialWriter.cs: -------------------------------------------------------------------------------- 1 | namespace Assets.Kanau.ThreeScene.Materials { 2 | /// 3 | /// http://threejs.org/docs/index.html#Reference/Materials/MeshStandardMaterial 4 | /// 5 | public class MeshStandardMaterialWriter : AbstractMaterialWriter 6 | { 7 | /* 8 | text = '''....''' 9 | print(",\n".join(['"' + x.split('-')[0].strip() + '"' for x in text.splitlines()])) 10 | */ 11 | 12 | public override string[] GetAttributes() { 13 | return new string[] 14 | { 15 | "color", 16 | "roughness", 17 | "metalness", 18 | "map", 19 | "lightMap", 20 | "lightMapIntensity", 21 | "aoMap", 22 | "aoMapIntensity", 23 | "emissive", 24 | "emissiveMap", 25 | "emissiveIntensity", 26 | "bumpMap", 27 | //"bumpMapScale", 28 | "bumpScale", 29 | "normalMap", 30 | //"normalMapScale", 31 | "normalScale", 32 | "displacementMap", 33 | "displacementScale", 34 | "displacementBias", 35 | "roughnessMap", 36 | "metalnessMap", 37 | "alphaMap", 38 | "envMap", 39 | "envMapIntensity", 40 | "refractionRatio", 41 | "fog", 42 | "shading", 43 | "wireframe", 44 | "wireframeLinewidth", 45 | "wireframeLinecap", 46 | "wireframeLinejoin", 47 | "vertexColors", 48 | "skinning", 49 | "morphTargets", 50 | "morphNormals", 51 | }; 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Materials/MeshStandardMaterialWriter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f36670018f53c904fa5ac5546edac111 3 | timeCreated: 1466835994 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/MetadataElem.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Assets.Kanau.ThreeScene { 4 | public class MetadataElem : IThreeElem 5 | { 6 | public float Version { get { return 1f; } } 7 | public string Type { get { return "Object"; } } 8 | public string Generator { get { return "Kanau"; } } 9 | 10 | public string Uuid { get { throw new NotImplementedException(); } } 11 | public void Accept(IVisitor v) { v.Visit(this); } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/MetadataElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b064b46531b67540b17924347d67751 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Object3DElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4afd2d842770ee84eb705efa7f167804 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Objects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f4774d411e175046b21c09e88182943 3 | folderAsset: yes 4 | timeCreated: 1466232596 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Objects/MeshElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.ThreeScene.Geometries; 2 | using Assets.Kanau.ThreeScene.Materials; 3 | using Assets.Kanau.UnityScene.SceneGraph; 4 | 5 | namespace Assets.Kanau.ThreeScene.Objects { 6 | public class MeshElem : Object3DElem 7 | { 8 | public override string Type { get { return "Mesh"; } } 9 | public override void Accept(IVisitor v) { v.Visit(this); } 10 | 11 | public AbstractGeometryElem Geometry { get; set; } 12 | public MaterialElem Material { get; set; } 13 | 14 | public MeshElem(RenderNode n) { 15 | //Name = n.CurrentObject.name; 16 | this.Name = string.Format("{0}_{1}", n.CurrentObject.name, Type); 17 | 18 | // shadow : cast + receive 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Objects/MeshElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5306ef4f7fcb9954a8304c4405ea8c07 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/SceneElem.cs: -------------------------------------------------------------------------------- 1 | namespace Assets.Kanau.ThreeScene { 2 | public class SceneElem : Object3DElem 3 | { 4 | public override string Type { get { return "Scene"; } } 5 | public override void Accept(IVisitor v) { v.Visit(this); } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/SceneElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e5010e84a026444090794bb45e62008 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7274fa427e687644c828ced28ddba369 3 | folderAsset: yes 4 | timeCreated: 1466232596 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Textures/ImageElem.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.Containers; 2 | using Assets.Kanau.Utils; 3 | using System; 4 | 5 | namespace Assets.Kanau.ThreeScene.Textures { 6 | public class ImageElem : BaseElem 7 | { 8 | public override string Type { 9 | get { 10 | throw new NotImplementedException("not need"); 11 | } 12 | } 13 | 14 | TextureContainer texcontainer; 15 | LightmapContainer lightmapcontainer; 16 | 17 | public ImageElem(TextureContainer c) { 18 | this.texcontainer = c; 19 | this.Name = c.FileName; 20 | } 21 | 22 | public ImageElem(LightmapContainer c) { 23 | this.lightmapcontainer = c; 24 | this.Name = c.ExportedFileName(".jpg"); 25 | } 26 | 27 | public void ExpoortImageFile(ExportPathHelper pathHelper) { 28 | if (texcontainer != null) { 29 | string filename = pathHelper.ToImagePath(Name); 30 | texcontainer.Save(filename); 31 | } 32 | if(lightmapcontainer != null) { 33 | lightmapcontainer.Save(pathHelper); 34 | } 35 | } 36 | 37 | public string URL 38 | { 39 | get 40 | { 41 | return string.Format("./{0}/{1}", ExportSettings.Instance.destination.imageDirectory, Name); 42 | } 43 | } 44 | 45 | public override void Accept(IVisitor v) { v.Visit(this); } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Textures/ImageElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f2bcaa605da0c34888d21cd551c963b 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/Textures/TextureElem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0ad9b046f716b542a21203b63c48c9d 3 | timeCreated: 1466167477 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/ThreeNodeTable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e050360360545549b0f3672a14a25d0 3 | timeCreated: 1466172097 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/ThreeSceneExportVisitor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d20022435cb54fb40abf547c823ed568 3 | timeCreated: 1467964904 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/ThreeScene/ThreeSceneRoot.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8da00406eae9d2f40bd6471e55ba5082 3 | timeCreated: 1466167725 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62c50165139fc4d44824223717dc8e01 3 | folderAsset: yes 4 | timeCreated: 1466154468 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/Containers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f9cc2688dcdbe74c85571ab77238f05 3 | folderAsset: yes 4 | timeCreated: 1466232596 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/Containers/LightmapContainer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c741b7e8ba137949a98b60b64a39bb5 3 | timeCreated: 1466331459 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/Containers/MaterialContainer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ff1508c42c379e4d93481ec3dc3fce4 3 | timeCreated: 1466160497 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/Containers/MeshContainer.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | #if UNITY_EDITOR 3 | using UnityEditor; 4 | #endif 5 | 6 | namespace Assets.Kanau.UnityScene.Containers { 7 | public class MeshContainer 8 | { 9 | public Mesh Mesh { get; private set; } 10 | public string InstanceId { get { return Mesh.GetInstanceID().ToString(); } } 11 | 12 | public MeshContainer(Mesh m) { 13 | this.Mesh = m; 14 | } 15 | 16 | public string Name { get { return Mesh.name; } } 17 | public int VertexCount { get { return Mesh.vertexCount; } } 18 | public int TriangleCount { get { return Mesh.triangles.Length / 3; } } 19 | 20 | public string Guid 21 | { 22 | get 23 | { 24 | #if UNITY_EDITOR 25 | var assetpath = AssetDatabase.GetAssetPath(Mesh); 26 | var guid = AssetDatabase.AssetPathToGUID(assetpath); 27 | return guid; 28 | #else 29 | return ""; 30 | #endif 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/Containers/MeshContainer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 211bc26b861d7874d8502a2d11fa667b 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/Containers/TextureContainer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1500aa57cad5af246b89f2ab4c2c50d7 3 | timeCreated: 1466160497 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/DumpVisitor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a90a7f776ece04b44a2efe25ab461b0b 3 | timeCreated: 1466166420 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/NodeTable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25f3d102becf8f64c9035486ce1e5411 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/ProjectSettings.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace Assets.Kanau.UnityScene 5 | { 6 | // 프로젝트 속성은 씬 그래프와 분리 7 | public class ProjectSettings 8 | { 9 | public Color BackgroundColor { 10 | get { 11 | if (Camera.main != null) { 12 | return Camera.main.backgroundColor; 13 | } else { 14 | return Color.black; 15 | } 16 | } 17 | } 18 | 19 | public Color AmbientColor { 20 | get { return RenderSettings.ambientLight; } 21 | } 22 | 23 | public string[] Layers { 24 | get { 25 | List layerNames = new List(); 26 | //user defined layers start with layer 8 and unity supports 31 layers 27 | for (int i = 0; i <= 31; i++) { 28 | layerNames.Add(LayerMask.LayerToName(i)); 29 | } 30 | return layerNames.ToArray(); 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/ProjectSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5259bc0812d6f284d80a19caf20900ea 3 | timeCreated: 1466160497 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 995eed76e5afd2840baea30e03868197 3 | folderAsset: yes 4 | timeCreated: 1466232596 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/CameraNode.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Assets.Kanau.UnityScene.SceneGraph 4 | { 5 | public class CameraNode : ComponentNode 6 | { 7 | public string Type { 8 | get { 9 | if (Value.orthographic) { 10 | return "OrthographicCamera"; 11 | } else { 12 | return "PerspectiveCamera"; 13 | } 14 | } 15 | } 16 | 17 | public float FieldOfView { get { return Value.fieldOfView; } } 18 | public float Near { get { return Value.nearClipPlane; } } 19 | public float Far { get { return Value.farClipPlane; } } 20 | } 21 | } -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/CameraNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6332ed43d058f7a4592a4066ef188888 3 | timeCreated: 1466154494 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/ComponentNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44c459774790c944dbff760704c1df9c 3 | timeCreated: 1466232596 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/GameObjectNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62233d2eede5b844aa7c158e916afb01 3 | timeCreated: 1466160497 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/IUnityNode.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Assets.Kanau.UnityScene.SceneGraph 4 | { 5 | public interface IUnityNode 6 | { 7 | string InstanceId { get; } 8 | 9 | GameObject CurrentObject { get; } 10 | GameObject ParentObject { get; } 11 | 12 | void Initialize(T comp, INodeTable containerTable) where T : Component; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/IUnityNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d901b8faa44007458c0b0c352daa3cd 3 | timeCreated: 1466161833 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/LightNode.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Assets.Kanau.UnityScene.SceneGraph 4 | { 5 | public class LightNode : ComponentNode 6 | { 7 | public const float InfiniteDistance = 10000; 8 | public LightType Type { get { return Value.type; } } 9 | public Color Color { get { return Value.color; } } 10 | public float Intensity { get { return Value.intensity; } } 11 | public float Distance { get { return Value.range; } } 12 | 13 | public Vector3 Direction { 14 | get { 15 | return Value.transform.forward; 16 | } 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/LightNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7d4f9d8b69e9074bb2a5ec5c30f45e9 3 | timeCreated: 1466160498 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/RenderNode.cs: -------------------------------------------------------------------------------- 1 | using Assets.Kanau.UnityScene.Containers; 2 | using Assets.Kanau.Utils; 3 | using System; 4 | using UnityEngine; 5 | 6 | namespace Assets.Kanau.UnityScene.SceneGraph { 7 | public class RenderNode : ComponentNode 8 | { 9 | public MaterialContainer Material { get; private set; } 10 | public MeshContainer Mesh { get; private set; } 11 | public object MeshNode { 12 | get; 13 | internal set; 14 | } 15 | 16 | public override void Initialize(T1 comp, INodeTable containerTable) { 17 | base.Initialize(comp, containerTable); 18 | 19 | // find mesh & material 20 | if (Value is MeshRenderer || Value is SkinnedMeshRenderer) { 21 | var mesh = ComponentHelper.GetMesh(Value.gameObject); 22 | Mesh = containerTable.Get(mesh.GetInstanceID().ToString()); 23 | 24 | // TODO material이 여러개인 경우는? 25 | var mtl = Value.sharedMaterial; 26 | Material = containerTable.Get(mtl.GetInstanceID().ToString()); 27 | 28 | } else { 29 | throw new NotImplementedException("unknown renderer " + comp.GetType().ToString()); 30 | } 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/RenderNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc3c5f222b558e840a8fbbd37296cb4d 3 | timeCreated: 1466176967 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/SceneGraph/ScriptNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1de7025f9aa63147b2278ae31ef52f9 3 | timeCreated: 1466160497 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/ThreeSceneConvertVisitor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0640f2e30e3b42546809022a22ea7b18 3 | timeCreated: 1466169237 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/UnityScene/UnitySceneRoot.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d87b223f0d65b574ba6c1e845c7ad7db 3 | timeCreated: 1466326554 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a6926477b021a04daf0e91299dbe524 3 | folderAsset: yes 4 | timeCreated: 1466154458 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/ComponentHelper.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Assets.Kanau.Utils 4 | { 5 | public class ComponentHelper 6 | { 7 | public static Mesh GetMesh(GameObject go) { 8 | Mesh mesh = null; 9 | if (go.GetComponent() is MeshRenderer) { 10 | MeshFilter meshFilter = go.GetComponent(); 11 | mesh = meshFilter.sharedMesh; 12 | } else { 13 | mesh = go.GetComponent().sharedMesh; 14 | } 15 | return mesh; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/ComponentHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad32c5769a18bb340a68419418221450 3 | timeCreated: 1466232597 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/Conversions.cs: -------------------------------------------------------------------------------- 1 | // Ŭnicode please 2 | using System; 3 | using UnityEngine; 4 | 5 | namespace Assets.Kanau.Utils 6 | { 7 | public class Conversions 8 | { 9 | 10 | public static float RoundWithDecimalPlace(float v, int prec) 11 | { 12 | int[] precTable = new int[] { 1, 10, 100, 1000 }; 13 | int precValue = precTable[prec]; 14 | return (float)Math.Round(v * precValue) / precValue; 15 | } 16 | 17 | public static Vector3 RoundVector(Vector3 v, int prec) 18 | { 19 | float x = RoundWithDecimalPlace(v.x, prec); 20 | float y = RoundWithDecimalPlace(v.y, prec); 21 | float z = RoundWithDecimalPlace(v.z, prec); 22 | return new Vector3(x, y, z); 23 | } 24 | 25 | public static Vector2 RoundVector(Vector2 v, int prec) 26 | { 27 | float x = RoundWithDecimalPlace(v.x, prec); 28 | float y = RoundWithDecimalPlace(v.y, prec); 29 | return new Vector2(x, y); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/Conversions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5cc08b7ae2b66447ab188060a6685ae 3 | timeCreated: 1466165493 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fd6e53f81c2c234da89da5923809a55 3 | folderAsset: yes 4 | timeCreated: 1466165517 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/Editor/ConversionsTest.cs: -------------------------------------------------------------------------------- 1 | using NUnit.Framework; 2 | 3 | namespace Assets.Kanau.Utils 4 | { 5 | public class ConversionsTest 6 | { 7 | [Test] 8 | public void RoundWithDecimalPlaceTest() 9 | { 10 | Assert.AreEqual(0f, Conversions.RoundWithDecimalPlace(0.1234f, 0)); 11 | Assert.AreEqual(0.1f, Conversions.RoundWithDecimalPlace(0.1234f, 1)); 12 | Assert.AreEqual(0.12f, Conversions.RoundWithDecimalPlace(0.1234f, 2)); 13 | Assert.AreEqual(0.123f, Conversions.RoundWithDecimalPlace(0.1234f, 3)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/Editor/ConversionsTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eec35a6b4ecd2704aabfd8729533ceab 3 | timeCreated: 1466165493 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/Editor/ExportPathHelperTest.cs: -------------------------------------------------------------------------------- 1 | using NUnit.Framework; 2 | 3 | namespace Assets.Kanau.Utils { 4 | public class ExportPathHelperTest 5 | { 6 | [SetUp] 7 | public void Init() 8 | { 9 | string targetFilePath = @"c:\hello\world\sample.json"; 10 | ExportPathHelper.Instance.UpdateTargetFilePath(targetFilePath); 11 | } 12 | 13 | [Test] 14 | public void PropertiesTest() 15 | { 16 | var helper = ExportPathHelper.Instance; 17 | 18 | Assert.AreEqual(@"c:\hello\world", helper.RootPath); 19 | Assert.AreEqual(@"json", helper.Extension); 20 | Assert.AreEqual(@"sample", helper.Prefix); 21 | 22 | Assert.AreEqual(@"sample.json", helper.SceneFileName); 23 | Assert.AreEqual(@"c:\hello\world\sample.json", helper.SceneFilePath); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/Editor/ExportPathHelperTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 013f08b522ab11941bff5a5339999fe3 3 | timeCreated: 1466165493 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/ExportPathHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 213d1454227562d40b05dc15396f481a 3 | timeCreated: 1466165493 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/FileHelper.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using System.Text; 3 | 4 | namespace Assets.Kanau.Utils { 5 | public class FileHelper 6 | { 7 | public static void SaveContentsAsFile(string content, string path) 8 | { 9 | byte[] info = new UTF8Encoding(true).GetBytes(content); 10 | FileStream fs = File.Create(path); 11 | fs.Write(info, 0, info.Length); 12 | fs.Close(); 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/FileHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 84cae24065b8aa1498d2039ca176d176 3 | timeCreated: 1466165493 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/FlattenHelper.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Assets.Kanau.Utils 4 | { 5 | public class FlattenHelper 6 | { 7 | public static float[] Flatten(Vector2[] data) { 8 | const int stride = 2; 9 | var retval = new float[data.Length * stride]; 10 | for (int i = 0; i < data.Length; i++) { 11 | var p = data[i]; 12 | for(int j = 0; j < stride; j++) { 13 | retval[i * stride + j] = p[j]; 14 | } 15 | } 16 | return retval; 17 | } 18 | 19 | public static float[] Flatten(Vector3[] data) { 20 | const int stride = 3; 21 | var retval = new float[data.Length * stride]; 22 | for (int i = 0; i < data.Length; i++) { 23 | var p = data[i]; 24 | for (int j = 0; j < stride; j++) { 25 | retval[i * stride + j] = p[j]; 26 | } 27 | } 28 | return retval; 29 | } 30 | 31 | public static float[] Flatten(Vector4[] data) { 32 | const int stride = 4; 33 | var retval = new float[data.Length * stride]; 34 | for (int i = 0; i < data.Length; i++) { 35 | var p = data[i]; 36 | for (int j = 0; j < stride; j++) { 37 | retval[i * stride + j] = p[j]; 38 | } 39 | } 40 | return retval; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/FlattenHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 816c928392c1c3b4ca0342a44088bd4d 3 | timeCreated: 1466513598 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/GLConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c147d5c5d7d03054e8421c450e969469 3 | timeCreated: 1466513598 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/GameObjectHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | #if UNITY_EDITOR 6 | using UnityEditor; 7 | #endif 8 | 9 | namespace Assets.Kanau.Utils { 10 | public class GameObjectHelper { 11 | 12 | #if UNITY_EDITOR 13 | public static GameObject[] GetExportGameObjects() { 14 | GameObject[] gameObjects = null; 15 | if (Selection.gameObjects.Length > 0) { 16 | gameObjects = Selection.gameObjects; 17 | } else { 18 | gameObjects = GetRootGameObjects().ToArray(); 19 | } 20 | 21 | Array.Sort(gameObjects, new GameObjectIndexComparer()); 22 | return gameObjects; 23 | } 24 | #endif 25 | 26 | public static List GetRootGameObjects() { 27 | List rootObjects = new List(); 28 | foreach (Transform xform in UnityEngine.Object.FindObjectsOfType()) { 29 | if (xform.parent == null) { 30 | rootObjects.Add(xform.gameObject); 31 | } 32 | } 33 | return rootObjects; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/GameObjectHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7eaadc44b5ca39246a1add2093552f66 3 | timeCreated: 1468069113 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/GameObjectIndexComparer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using UnityEngine; 3 | 4 | namespace Assets.Kanau.Utils 5 | { 6 | public class GameObjectIndexComparer : IComparer 7 | { 8 | public int Compare(object x, object y) { 9 | var gox = x as GameObject; 10 | var goy = y as GameObject; 11 | var ix = gox.transform.GetSiblingIndex(); 12 | var iy = goy.transform.GetSiblingIndex(); 13 | return ix.CompareTo(iy); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/GameObjectIndexComparer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23b2cd206806b1c46870724ad50062fa 3 | timeCreated: 1466520971 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/JsonScopeWriter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 321b6d698e9f5324f8dfe038c6f6431f 3 | timeCreated: 1466165493 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/Editor/Utils/Report.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 213613b8150858346bd533c614f2cdf1 3 | timeCreated: 1466165493 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/template_append.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Kanau/template_append.txt -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/template_append.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fe08e4905bc95245acacd713442871c 3 | timeCreated: 1467097508 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/template_end.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/template_end.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c84cfad23f05c849b02f64008fae4bb 3 | timeCreated: 1467097508 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/template_head.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | &TITLE& 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Kanau/template_head.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c90a3853e0380e4e8ef33243d323e1a 3 | timeCreated: 1467097508 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 017e98ad2296f334191b530440654268 3 | folderAsset: yes 4 | timeCreated: 1466168400 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/5minlab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dbcfaff65a32434d830f3581e1960e2 3 | folderAsset: yes 4 | timeCreated: 1471093284 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/5minlab/5minlab_logo.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c73f785c306a07843a2a5e7b8b8161d5 3 | timeCreated: 1471092806 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/5minlab/5minlab_sky.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e9ae963d0df2ce4686a23b07640171c 3 | timeCreated: 1471093294 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/5minlab/5minlab_snakevr.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0d4df26b9164d34fa8c0a022e337b61 3 | timeCreated: 1470833083 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/5minlab/White.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cccfe247821e344428215e9a0151451e 3 | timeCreated: 1471093080 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/MaterialBox.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b44c9a8062d057b4b814f60b300b1257 3 | timeCreated: 1466168406 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/MaterialPlane.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94f1bde4a4645bc41b1ebac2202e39bf 3 | timeCreated: 1466168493 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/MaterialSphere.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1572883529b72bc42ac16ffe469e25b2 3 | timeCreated: 1466429439 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/SampleTexture.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 571fad45b73d17b4c8619d448593f6c2 3 | timeCreated: 1466424445 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/SlateTiles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5781995ecbeeafb45ab165e6c1111d18 3 | folderAsset: yes 4 | timeCreated: 1466833752 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/SlateTiles/SlateTileMobileBumpedDiffuse.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72dcaf77d53e34d45a9117c35b09fb90 3 | timeCreated: 1466843057 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/SlateTiles/SlateTileMobileBumpedSpecular.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d7d5225ffe795340b8ddabe6c166231 3 | timeCreated: 1466843112 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/SlateTiles/SlateTileMobileDiffuse.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d032c8bef935b8543b1ed98b441ff4a3 3 | timeCreated: 1466833797 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/SlateTiles/SlateTileMobileVertexLit.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acd083e094714824a922065711100eb8 3 | timeCreated: 1466833839 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/SlateTiles/SlateTileStandard.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1e5be5d01dae6f4cb2c0ebc9cf700d9 3 | timeCreated: 1466833669 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/SlateTiles/SlateTileStandardSpecular.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd1ef5602bc53634388f97d40fba3bee 3 | timeCreated: 1466833249 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/SlateTiles/SlateTileUnlitTexture.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d3e7b5f86cf1a34495b32f3e02bf82c 3 | timeCreated: 1466833718 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/SlateTiles/UnlitColor.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8ad35ab88238eb4d9eba08e0d830659 3 | timeCreated: 1466833746 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/blue_christmas_by_kahookashii-d4jz91b.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59ae2546e9624864d8b4ac7302216fd5 3 | timeCreated: 1466516690 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/logo_square.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 572297056f0f497489b7f7b27ef0bbce 3 | timeCreated: 1471094699 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/mylightmap.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ac7cf1cb3c1e4a49b46157cf6527595 3 | folderAsset: yes 4 | timeCreated: 1472369600 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/mylightmap/Floor.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 130f8bd91578c914685d7ba862e38110 3 | timeCreated: 1472369794 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/mylightmap/Logo.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 750fcb15ff0a45e4999d661ac62209c8 3 | timeCreated: 1472369687 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/mylightmap/Name.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 607818f74b15d714f8ea04fc4366d442 3 | timeCreated: 1472369720 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Materials/mylightmap/Twitter.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 798bfe98a9e2cf4458f2885691017fdb 3 | timeCreated: 1472369739 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45a50eba9b47a5a46b4609e08a345925 3 | folderAsset: yes 4 | timeCreated: 1466862868 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/5minlab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 122445df735f62143a20cc882915d80b 3 | folderAsset: yes 4 | timeCreated: 1470832828 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/5minlab/5minvr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Models/5minlab/5minvr.png -------------------------------------------------------------------------------- /UnityProject/Assets/Models/5minlab/5minvr.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7a18f067a2962a46a914b95befd08f3 3 | timeCreated: 1470832831 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/5minlab/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4114097c0075634bb5fe7e69f4b5bf7 3 | folderAsset: yes 4 | timeCreated: 1470832833 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/5minlab/Materials/5minvrMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f665a7d57e15b7d4da52b30d520957fb 3 | timeCreated: 1470832833 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7a80ffa0e388884bb36f90bc9c96cc6 3 | folderAsset: yes 4 | timeCreated: 1466862930 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials/bodyMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97e0754537d9d2e43bb5798ea6c5ceb7 3 | timeCreated: 1466862930 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials/enginsideMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed9b604f26c09374c8caf2fbeb89ba66 3 | timeCreated: 1466862930 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials/engmountMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1dc56416505b9314cac6e56f0e4560de 3 | timeCreated: 1466862930 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials/engoutMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01d1fefe1707fba4b8ee680d7e8c760b 3 | timeCreated: 1466862930 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials/engrimMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d64c817e0943cc4db7fbbb4c493f393 3 | timeCreated: 1466862930 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials/rearbodyMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e1284c4949ec2540a35928741f63e41 3 | timeCreated: 1466862930 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials/tailMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41068600d12f7354d874a50d6bac9e74 3 | timeCreated: 1466862930 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials/tilesMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48f6cfd514fed06478d84c342dabd6b7 3 | timeCreated: 1466862930 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials/windowsMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56204631ad9ce1546addfd4dbed6f148 3 | timeCreated: 1466862930 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/Materials/wingsMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d832e8a345a5a14d94ac3d5b3be79ed 3 | timeCreated: 1466862930 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Models/README.txt: -------------------------------------------------------------------------------- 1 | http://people.sc.fsu.edu/~jburkardt/data/obj/obj.html -------------------------------------------------------------------------------- /UnityProject/Assets/Models/README.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ce280c496e74e14ab0fe565c58cef59 3 | timeCreated: 1466862970 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 03adfb518dcd53b4b8df7154b2516b10 3 | folderAsset: yes 4 | timeCreated: 1466154408 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/Demo5minlab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5f3dd968671375478adfbb72015c57a 3 | folderAsset: yes 4 | timeCreated: 1471072043 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/Demo5minlab.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09e94812c63a74145b22f0ebf647c1de 3 | timeCreated: 1470832858 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/Demo5minlab/LightingData.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Scenes/Demo5minlab/LightingData.asset -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/Demo5minlab/LightingData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c490da93dd5cf94d974c25635904ba5 3 | timeCreated: 1471094417 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/Demo5minlab/Lightmap-0_comp_dir.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Scenes/Demo5minlab/Lightmap-0_comp_dir.exr -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/Demo5minlab/Lightmap-0_comp_dir.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e045163682c93b48b249b500c80785a 3 | timeCreated: 1471094417 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 3 34 | mipBias: 0 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 2 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: 0 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/Demo5minlab/Lightmap-0_comp_light.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Scenes/Demo5minlab/Lightmap-0_comp_light.exr -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/Demo5minlab/Lightmap-0_comp_light.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2b161df4afe39b4eb14e4ebf3f6ecd6 3 | timeCreated: 1471094429 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 1 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 3 34 | mipBias: 0 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 1 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: 6 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoLightmap.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78edd86c495226f4ab0aa48cf7a58a99 3 | folderAsset: yes 4 | timeCreated: 1472369918 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoLightmap.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6aa5d16ae80ae14f94029c9c1db5ab8 3 | timeCreated: 1472369819 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoLightmap/LightingData.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Scenes/DemoLightmap/LightingData.asset -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoLightmap/LightingData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdcc4d6b1f579da4ea2d3a3658218c4c 3 | timeCreated: 1472370146 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoLightmap/Lightmap-0_comp_dir.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Scenes/DemoLightmap/Lightmap-0_comp_dir.exr -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoLightmap/Lightmap-0_comp_dir.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b19a0ce94cc5a8847af67080e537c836 3 | timeCreated: 1472370145 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 3 34 | mipBias: 0 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 2 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: 0 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoLightmap/Lightmap-0_comp_light.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Scenes/DemoLightmap/Lightmap-0_comp_light.exr -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoLightmap/Lightmap-0_comp_light.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 506c00ab352d9a940b61d541ce295f82 3 | timeCreated: 1472370164 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 1 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 3 34 | mipBias: 0 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 1 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: 6 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoLightmap/ReflectionProbe-0.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Scenes/DemoLightmap/ReflectionProbe-0.exr -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoLightmap/ReflectionProbe-0.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db637c8920b43ce4a86b936b21723258 3 | timeCreated: 1472370145 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: 7 | 8900000: generatedCubemap 8 | serializedVersion: 2 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 1 12 | linearTexture: 0 13 | correctGamma: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | grayScaleToAlpha: 0 25 | generateCubemap: 6 26 | cubemapConvolution: 1 27 | cubemapConvolutionSteps: 7 28 | cubemapConvolutionExponent: 1.5 29 | seamlessCubemap: 1 30 | textureFormat: -1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | filterMode: 2 34 | aniso: 0 35 | mipBias: 0 36 | wrapMode: 1 37 | nPOTScale: 1 38 | lightmap: 0 39 | rGBM: 0 40 | compressionQuality: 100 41 | allowsAlphaSplitting: 0 42 | spriteMode: 0 43 | spriteExtrude: 1 44 | spriteMeshType: 1 45 | alignment: 0 46 | spritePivot: {x: 0.5, y: 0.5} 47 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 48 | spritePixelsToUnits: 100 49 | alphaIsTransparency: 0 50 | spriteTessellationDetail: -1 51 | textureType: 3 52 | buildTargetSettings: [] 53 | spriteSheet: 54 | serializedVersion: 2 55 | sprites: [] 56 | outline: [] 57 | spritePackingTag: 58 | userData: 59 | assetBundleName: 60 | assetBundleVariant: 61 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoMaterials.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 50f8832d7077b454ea931044a13ee965 3 | timeCreated: 1466834185 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoModels.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2a8af04c4ba8264486d1c6d96b71f27 3 | timeCreated: 1466875619 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoScriptVariables.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5f4abb902bf69f4d86f12e4fecf592e 3 | timeCreated: 1466862753 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scenes/DemoSimpleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f5ffff47b0278042a389e9ad184ac48 3 | timeCreated: 1466154408 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eef71e1e7c957e14a929045675a57946 3 | folderAsset: yes 4 | timeCreated: 1466424843 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scripts/HelloWorld.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class HelloWorld : MonoBehaviour { 5 | public int intValue = 1; 6 | } 7 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scripts/HelloWorld.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2390049731437e847acf79bbe653fdcd 3 | timeCreated: 1466424848 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scripts/ScriptVariableDemo.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class ScriptVariableDemo : MonoBehaviour { 4 | public byte sampleByte = 3; 5 | public short sampleShort = 2; 6 | public int sampleInt = 1; 7 | public long sampleLong = 12345; 8 | 9 | public float sampleFloat = 2.3f; 10 | public double sampleDouble = 4.567890; 11 | 12 | public bool sampleBool = true; 13 | 14 | public char sampleChar = 'a'; 15 | public string sampleString = "hello world"; 16 | 17 | // reference 18 | public GameObject sampleGameObject; 19 | public Material sampleMaterial; 20 | public Transform sampleTransform; 21 | public Texture sampleTexture; 22 | } 23 | -------------------------------------------------------------------------------- /UnityProject/Assets/Scripts/ScriptVariableDemo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a7276696f0ff9e49975b6d36fcbda1d 3 | timeCreated: 1466424851 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e9a8a51e53fbde4ba525f7a31e7828f 3 | folderAsset: yes 4 | timeCreated: 1466424243 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/128px-BroBear-guide2_cv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/128px-BroBear-guide2_cv.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/128px-BroBear-guide2_cv.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd3aa404730bb834aa45790ba1e5f524 3 | timeCreated: 1466424260 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/5minlab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6c646ec848edad47bb75f0eca7c4a20 3 | folderAsset: yes 4 | timeCreated: 1470833036 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/5minlab/01_로고_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/5minlab/01_로고_2.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/5minlab/01_로고_2.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e72f906da27948b4c8f0b0802702acd6 3 | timeCreated: 1471092779 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/5minlab/app_upper_for_vrweb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/5minlab/app_upper_for_vrweb.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/5minlab/app_upper_for_vrweb.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07a834f768560d04c86e5b8b807b5286 3 | timeCreated: 1470833047 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/5minlab/blue-sky-resize.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/5minlab/blue-sky-resize.jpg -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/5minlab/blue-sky-resize.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31df4931601cc0247be7262ff71cc5dc 3 | timeCreated: 1471093252 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/5minlab/logo_square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/5minlab/logo_square.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/5minlab/logo_square.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48bedcdbb32552e488ebe95649776850 3 | timeCreated: 1471094681 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 0 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2896bc553aba9f42908173b8dd78de3 3 | folderAsset: yes 4 | timeCreated: 1466833480 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Env_Cube.hdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/SlateTiles/Env_Cube.hdr -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Env_Cube.hdr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c72a15344252ed43948d05e2f0c3ced 3 | timeCreated: 1466833483 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Env_Cube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/SlateTiles/Env_Cube.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Env_Cube.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba3a3c25599154b4695778094ee8fe97 3 | timeCreated: 1466833486 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Env_Lat-Lon.hdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/SlateTiles/Env_Lat-Lon.hdr -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Env_Lat-Lon.hdr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a299861e8e9e7cb47b6fcac7221715de 3 | timeCreated: 1466833485 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Env_Lat-Lon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/SlateTiles/Env_Lat-Lon.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Env_Lat-Lon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 379a404f41b3576479946a5d1c29dc44 3 | timeCreated: 1466833481 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/README.txt: -------------------------------------------------------------------------------- 1 | http://kay-vriend.blogspot.kr/2012/09/slate-tiles-texture.html -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/README.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2226eebe02733634587c6d5b1aa6af7b 3 | timeCreated: 1466833490 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles - (Normal Map).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/SlateTiles/Slate Tiles - (Normal Map).png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles - (Normal Map).png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d8962f43dd34ce48bd3bcb837d0acde 3 | timeCreated: 1466833485 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 1 19 | externalNormalMap: 1 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles - AO Map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/SlateTiles/Slate Tiles - AO Map.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles - AO Map.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d48c2e4ae48e29a44a094c36d0178a82 3 | timeCreated: 1466833490 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles - Color Map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/SlateTiles/Slate Tiles - Color Map.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles - Color Map.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f42c68aa7030ac4c8c5d4b79946721e 3 | timeCreated: 1466833482 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles - HeightMap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/SlateTiles/Slate Tiles - HeightMap.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles - HeightMap.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3634b02a1f5ac9f449df245ffba33944 3 | timeCreated: 1466833481 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles - Specular Map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/SlateTiles/Slate Tiles - Specular Map.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles - Specular Map.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce9edfb8621e37d418fed87423f07462 3 | timeCreated: 1466833488 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles.gtx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/SlateTiles/Slate Tiles.gtx -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/SlateTiles/Slate Tiles.gtx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd5bd32afd12f2b4ea1bb94d74946fdc 3 | timeCreated: 1466833480 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/blue_christmas_by_kahookashii-d4jz91b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/blue_christmas_by_kahookashii-d4jz91b.jpg -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/blue_christmas_by_kahookashii-d4jz91b.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 280b65d58921d5a47a15f19f04541845 3 | timeCreated: 1466516686 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/mylightmap.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e7fab530095ac04cb7d0b5ef4515117 3 | folderAsset: yes 4 | timeCreated: 1472369532 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/mylightmap/01_로고_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/mylightmap/01_로고_4.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/mylightmap/01_로고_4.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 144c8d1c2e22de740994da15e53bf2d0 3 | timeCreated: 1472369535 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/mylightmap/40692662-Social-media-messages-twitter-retweet-icon-sign-Seamless-pattern-with-geometric-texture-Vector-illus-Stock-Vector.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/mylightmap/40692662-Social-media-messages-twitter-retweet-icon-sign-Seamless-pattern-with-geometric-texture-Vector-illus-Stock-Vector.jpg -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/mylightmap/40692662-Social-media-messages-twitter-retweet-icon-sign-Seamless-pattern-with-geometric-texture-Vector-illus-Stock-Vector.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4cb085bb346202419f09f77d4b293a9 3 | timeCreated: 1472369536 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/mylightmap/name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/UnityProject/Assets/Textures/mylightmap/name.png -------------------------------------------------------------------------------- /UnityProject/Assets/Textures/mylightmap/name.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edc201489e8b42147820d8cc45caa95c 3 | timeCreated: 1472369536 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_DisableAudio: 0 16 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_SolverIterationCount: 6 13 | m_QueriesHitTriggers: 1 14 | m_EnableAdaptiveForce: 0 15 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 16 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Scenes/DemoSimpleScene.unity 10 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_ExternalVersionControlSupport: Hidden Meta Files 8 | m_SerializationMode: 2 9 | m_WebSecurityEmulationEnabled: 0 10 | m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d 11 | m_DefaultBehaviorMode: 0 12 | m_SpritePackerMode: 2 13 | m_SpritePackerPaddingPower: 1 14 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 15 | m_ProjectGenerationRootNamespace: 16 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshAreas: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_MinPenetrationForPenalty: 0.01 17 | m_BaumgarteScale: 0.2 18 | m_BaumgarteTimeOfImpactScale: 0.75 19 | m_TimeToSleep: 0.5 20 | m_LinearSleepTolerance: 0.01 21 | m_AngularSleepTolerance: 2 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 26 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.4.2p3 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!292 &1 4 | UnityAdsSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_InitializeOnStartup: 1 8 | m_TestMode: 0 9 | m_EnabledPlatforms: 4294967295 10 | m_IosGameId: 11 | m_AndroidGameId: 12 | -------------------------------------------------------------------------------- /UnityProject/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | UnityPurchasingSettings: 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | UnityAnalyticsSettings: 10 | m_Enabled: 0 11 | m_InitializeOnStartup: 1 12 | m_TestMode: 0 13 | m_TestEventUrl: 14 | m_TestConfigUrl: 15 | -------------------------------------------------------------------------------- /deploy_key.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/deploy_key.enc -------------------------------------------------------------------------------- /document/manual-build-lightmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/manual-build-lightmap.png -------------------------------------------------------------------------------- /document/manual-copy-kanau.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/manual-copy-kanau.png -------------------------------------------------------------------------------- /document/manual-kanau-menu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/manual-kanau-menu.jpg -------------------------------------------------------------------------------- /document/manual-light-baked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/manual-light-baked.png -------------------------------------------------------------------------------- /document/manual-mini-threejs-viewer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/manual-mini-threejs-viewer.jpg -------------------------------------------------------------------------------- /document/manual-set-static.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/manual-set-static.png -------------------------------------------------------------------------------- /document/original/manual-build-lightmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/original/manual-build-lightmap.png -------------------------------------------------------------------------------- /document/original/manual-copy-kanau.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/original/manual-copy-kanau.png -------------------------------------------------------------------------------- /document/original/manual-kanau-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/original/manual-kanau-menu.png -------------------------------------------------------------------------------- /document/original/manual-light-baked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/original/manual-light-baked.png -------------------------------------------------------------------------------- /document/original/manual-set-static.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/original/manual-set-static.png -------------------------------------------------------------------------------- /document/sample-scene-aframe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/sample-scene-aframe.jpg -------------------------------------------------------------------------------- /document/sample-scene-threejs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/sample-scene-threejs.jpg -------------------------------------------------------------------------------- /document/sample-scene-unity.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/if1live/unity-scene-web-exporter/6f247afdcc845710ff1fe2ee08a7cd7b2ceebe91/document/sample-scene-unity.jpg -------------------------------------------------------------------------------- /script/execute.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # reference : https://tintypemolly.github.io/pelican-setup.html 3 | 4 | function clear_previous_content() { 5 | rm -rf documents 6 | rm -rf libs 7 | rm -rf sample-aframe 8 | rm -rf sample-threejs 9 | rm -rf *.html 10 | rm -rf *.js 11 | rm -rf *.css 12 | } 13 | 14 | function copy_content() { 15 | cp -r documents output 16 | cp -r libs output 17 | cp -r sample-aframe output 18 | cp -r sample-threejs output 19 | cp *.html output 20 | cp *.js output 21 | cp *.css output 22 | } 23 | 24 | function publish() { 25 | SHA=`git rev-parse --verify HEAD` 26 | git add . 27 | git commit -a -m "Deploy to GitHub Pages: ${SHA}" 28 | if [[ $? == 0 ]]; then 29 | git push origin gh-pages 30 | fi 31 | } 32 | 33 | function configure_ssh() { 34 | git config --global user.email "libsora25@gmail.com" 35 | git config --global user.name "Travis" 36 | 37 | ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key" 38 | ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv" 39 | openssl aes-256-cbc -K $encrypted_60ccbfd98931_key -iv $encrypted_60ccbfd98931_iv -in deploy_key.enc -out deploy_key -d 40 | chmod 600 deploy_key 41 | eval `ssh-agent -s` 42 | ssh-add deploy_key 43 | } 44 | 45 | configure_ssh; 46 | 47 | cd SimpleViewer 48 | node index.js 49 | 50 | git clone --depth 1 --quiet -b gh-pages git@github.com:if1live/unity-scene-web-exporter.git output 51 | 52 | cd output; clear_previous_content; cd .. 53 | 54 | copy_content; 55 | 56 | cd output; publish; 57 | 58 | cd .. 59 | 60 | 61 | -------------------------------------------------------------------------------- /script/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd SimpleViewer 3 | npm install 4 | cd .. 5 | --------------------------------------------------------------------------------