├── Dataset Demo ├── DATASET.png └── Dataset sample │ ├── guest room_Perspective.exr │ ├── guest room_Perspective_VRaySamplerInfo.exr │ ├── guest room_Perspective_normal.exr │ ├── hall ganesh 3_Perspective.exr │ ├── hall ganesh 3_Perspective_Normal.exr │ ├── hall ganesh 3_Perspective_Position.exr │ ├── scene_00_Perspective.exr │ ├── scene_00_Perspective_VRaySamplerInfo.exr │ ├── scene_00_Perspective_normal.exr │ ├── scene_22_Perspective.exr │ ├── scene_22_Perspective_VRaySamplerInfo.exr │ ├── scene_22_Perspective_normal.exr │ ├── sponza_Orthographic.exr │ ├── sponza_Orthographic_VRaySamplerInfo.exr │ └── sponza_Orthographic_normal.exr ├── DeepLearning └── Ao_pt │ ├── .idea │ ├── Ao_pt.iml │ ├── inspectionProfiles │ │ └── Project_Default.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml │ ├── Checkpoints │ └── 12-20-Unet-4 │ │ └── net_params_12_2019-12-22_16-30.pkl │ ├── Models │ ├── NANO.py │ ├── __init__.py │ ├── __pycache__ │ │ ├── NANO.cpython-36.pyc │ │ ├── NANO.cpython-37.pyc │ │ ├── __init__.cpython-36.pyc │ │ ├── __init__.cpython-37.pyc │ │ ├── lstmConv.cpython-36.pyc │ │ └── lstmConv.cpython-37.pyc │ └── lstmConv.py │ ├── Myloss │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── __init__.cpython-37.pyc │ │ ├── ssim_loss.cpython-36.pyc │ │ └── ssim_loss.cpython-37.pyc │ ├── compute_ssim.py │ └── ssim_loss.py │ ├── Others │ ├── __init__.py │ ├── bar_img.py │ ├── blend_ao.py │ ├── compare_depth.py │ ├── compare_filters.py │ ├── compute_normal.py │ ├── demo.py │ ├── depth2pcd.py │ ├── file_rename.py │ ├── generate_file_list.py │ ├── mlp_train.py │ ├── model2json.py │ ├── model2json_v1.py │ ├── pie_img.py │ ├── process.py │ ├── process_depth_and_normal.py │ ├── readxaf.py │ ├── remove_dirty_data.py │ ├── save_weight.py │ ├── show_img.py │ ├── test_ssim_loss.py │ └── ts_train.py │ ├── __init__.py │ ├── __pycache__ │ ├── config.cpython-36.pyc │ ├── config.cpython-37.pyc │ ├── dataloaders.cpython-36.pyc │ ├── dataloaders.cpython-37.pyc │ ├── generate_train_file_lst.cpython-36.pyc │ └── generate_train_file_lst.cpython-37.pyc │ ├── config.py │ ├── conpare.py │ ├── dataloaders.py │ ├── deepshading_train.py │ ├── demo.py │ ├── ds_eval.py │ ├── ds_train.py │ ├── generate_train_file_lst.py │ ├── lstm_train.py │ ├── model2json_v2.py │ ├── rm_lst.txt │ ├── show_depth.py │ ├── test_lst.txt │ ├── train_lst.txt │ ├── train_mnist.py │ ├── transform_scene.py │ └── unet │ ├── RRDnet.py │ ├── Resnet18.py │ ├── __init__.py │ ├── __pycache__ │ ├── RRDnet.cpython-36.pyc │ ├── RRDnet.cpython-37.pyc │ ├── __init__.cpython-36.pyc │ ├── __init__.cpython-37.pyc │ ├── deepshading.cpython-36.pyc │ ├── deepshading.cpython-37.pyc │ ├── unet_model.cpython-36.pyc │ ├── unet_model.cpython-37.pyc │ ├── unet_multi_scale_model.cpython-37.pyc │ ├── unet_parts.cpython-36.pyc │ ├── unet_parts.cpython-37.pyc │ ├── unet_parts_ts.cpython-36.pyc │ ├── unet_parts_ts.cpython-37.pyc │ ├── unet_ts.cpython-36.pyc │ └── unet_ts.cpython-37.pyc │ ├── deepshading.py │ ├── unet_model.py │ ├── unet_multi_scale_model.py │ ├── unet_parts.py │ ├── unet_parts_ts.py │ └── unet_ts.py ├── README.md ├── Unity └── test │ ├── .vs │ ├── test_01 │ │ └── v15 │ │ │ ├── .suo │ │ │ ├── Browse.VC.db │ │ │ ├── Browse.VC.opendb │ │ │ └── Server │ │ │ └── sqlite3 │ │ │ ├── storage.ide │ │ │ ├── storage.ide-shm │ │ │ └── storage.ide-wal │ ├── test_02 │ │ └── v15 │ │ │ ├── .suo │ │ │ ├── Browse.VC.db │ │ │ └── Server │ │ │ └── sqlite3 │ │ │ ├── db.lock │ │ │ ├── storage.ide │ │ │ ├── storage.ide-shm │ │ │ └── storage.ide-wal │ ├── test_03 - 副本 │ │ └── v15 │ │ │ ├── .suo │ │ │ ├── Browse.VC.db │ │ │ └── Server │ │ │ └── sqlite3 │ │ │ ├── db.lock │ │ │ ├── storage.ide │ │ │ ├── storage.ide-shm │ │ │ └── storage.ide-wal │ └── test_03 │ │ ├── v14 │ │ └── .suo │ │ └── v15 │ │ ├── .suo │ │ ├── Browse.VC.db │ │ ├── Browse.VC.opendb │ │ └── Server │ │ └── sqlite3 │ │ ├── storage.ide │ │ ├── storage.ide-shm │ │ └── storage.ide-wal │ ├── Assembly-CSharp-Editor.csproj │ ├── Assembly-CSharp.csproj │ ├── Assets │ ├── Editor.meta │ ├── Editor │ │ ├── EditorObjExporter.cs │ │ ├── EditorObjExporter.cs.meta │ │ ├── ExportTerrain.cs │ │ └── ExportTerrain.cs.meta │ ├── GTAO.meta │ ├── GTAO │ │ ├── Scripts.meta │ │ ├── Scripts │ │ │ ├── GraphicsUtility.cs │ │ │ ├── GraphicsUtility.cs.meta │ │ │ ├── GroundTruthAmbientOcclusion.cs │ │ │ ├── GroundTruthAmbientOcclusion.cs.meta │ │ │ ├── ShaderIDs.cs │ │ │ └── ShaderIDs.cs.meta │ │ ├── Shaders.meta │ │ └── Shaders │ │ │ ├── GTAO.shader │ │ │ ├── GTAO.shader.meta │ │ │ ├── GTAO_Common.cginc │ │ │ ├── GTAO_Common.cginc.meta │ │ │ ├── GTAO_Pass.cginc │ │ │ ├── GTAO_Pass.cginc.meta │ │ │ ├── Shader_Include.meta │ │ │ └── Shader_Include │ │ │ ├── AreaLight.hlsl │ │ │ ├── AreaLight.hlsl.meta │ │ │ ├── BSDF_Library.hlsl │ │ │ ├── BSDF_Library.hlsl.meta │ │ │ ├── Common.hlsl │ │ │ ├── Common.hlsl.meta │ │ │ ├── Filtter_Library.hlsl │ │ │ ├── Filtter_Library.hlsl.meta │ │ │ ├── ImageBasedLighting.hlsl │ │ │ ├── ImageBasedLighting.hlsl.meta │ │ │ ├── Include_HLSL.hlsl │ │ │ ├── Include_HLSL.hlsl.meta │ │ │ ├── Montcalo_Library.hlsl │ │ │ ├── Montcalo_Library.hlsl.meta │ │ │ ├── Noise_Library.hlsl │ │ │ ├── Noise_Library.hlsl.meta │ │ │ ├── ShadingModel.hlsl │ │ │ └── ShadingModel.hlsl.meta │ ├── Horizon Based Ambient Occlusion.meta │ ├── Horizon Based Ambient Occlusion │ │ ├── Demo.meta │ │ ├── Demo │ │ │ ├── Demo.unity │ │ │ ├── Demo.unity.meta │ │ │ ├── Models.meta │ │ │ ├── Models │ │ │ │ ├── Dragons Candle.fbx │ │ │ │ ├── Dragons Candle.fbx.meta │ │ │ │ ├── Materials.meta │ │ │ │ ├── Materials │ │ │ │ │ ├── Dragons.mat │ │ │ │ │ └── Dragons.mat.meta │ │ │ │ ├── Textures.meta │ │ │ │ └── Textures │ │ │ │ │ ├── Dragons.png │ │ │ │ │ └── Dragons.png.meta │ │ │ ├── Scripts.meta │ │ │ └── Scripts │ │ │ │ ├── HBAOControl.cs │ │ │ │ ├── HBAOControl.cs.meta │ │ │ │ ├── RotateObject.cs │ │ │ │ └── RotateObject.cs.meta │ │ ├── Documentation.meta │ │ ├── Documentation │ │ │ ├── User Guide.pdf │ │ │ └── User Guide.pdf.meta │ │ ├── Readme.txt │ │ ├── Readme.txt.meta │ │ ├── Scripts.meta │ │ ├── Scripts │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ │ ├── HBAO_Core_Editor.cs │ │ │ │ ├── HBAO_Core_Editor.cs.meta │ │ │ │ ├── HBAO_Editor.cs │ │ │ │ ├── HBAO_Editor.cs.meta │ │ │ │ ├── HBAO_GaiaExtension.cs │ │ │ │ ├── HBAO_GaiaExtension.cs.meta │ │ │ │ ├── HBAO_Integrated_Editor.cs │ │ │ │ ├── HBAO_Integrated_Editor.cs.meta │ │ │ │ ├── HBAO_MinMaxSliderDrawer.cs │ │ │ │ ├── HBAO_MinMaxSliderDrawer.cs.meta │ │ │ │ ├── Resources.meta │ │ │ │ └── Resources │ │ │ │ │ ├── hbao.png │ │ │ │ │ ├── hbao.png.meta │ │ │ │ │ ├── icon.png │ │ │ │ │ └── icon.png.meta │ │ │ ├── HBAO.cs │ │ │ ├── HBAO.cs.meta │ │ │ ├── HBAO_Core.cs │ │ │ ├── HBAO_Core.cs.meta │ │ │ ├── HBAO_Integrated.cs │ │ │ ├── HBAO_Integrated.cs.meta │ │ │ ├── HBAO_MinMaxSliderAttribute.cs │ │ │ └── HBAO_MinMaxSliderAttribute.cs.meta │ │ ├── Shaders.meta │ │ └── Shaders │ │ │ ├── HBAO.shader │ │ │ ├── HBAO.shader.meta │ │ │ ├── HBAO_Blur.cginc │ │ │ ├── HBAO_Blur.cginc.meta │ │ │ ├── HBAO_BlurX_frag.cginc │ │ │ ├── HBAO_BlurX_frag.cginc.meta │ │ │ ├── HBAO_BlurY_frag.cginc │ │ │ ├── HBAO_BlurY_frag.cginc.meta │ │ │ ├── HBAO_Deferred.cginc │ │ │ ├── HBAO_Deferred.cginc.meta │ │ │ ├── HBAO_DeinterleaveDepth_frag.cginc │ │ │ ├── HBAO_DeinterleaveDepth_frag.cginc.meta │ │ │ ├── HBAO_DeinterleaveNormals_frag.cginc │ │ │ ├── HBAO_DeinterleaveNormals_frag.cginc.meta │ │ │ ├── HBAO_Integrated.cginc │ │ │ ├── HBAO_Integrated.cginc.meta │ │ │ ├── HBAO_Reinterleave_frag.cginc │ │ │ ├── HBAO_Reinterleave_frag.cginc.meta │ │ │ ├── HBAO_frag.cginc │ │ │ └── HBAO_frag.cginc.meta │ ├── MYHBAO.meta │ ├── MYHBAO │ │ ├── MyHBAO.cs │ │ ├── MyHBAO.cs.meta │ │ ├── myhbao.shader │ │ └── myhbao.shader.meta │ ├── NNAO.meta │ ├── NNAO │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── NNAOEditor.cs │ │ │ └── NNAOEditor.cs.meta │ │ ├── Scripts.meta │ │ ├── Scripts │ │ │ ├── NNAO.cs │ │ │ └── NNAO.cs.meta │ │ ├── Shaders.meta │ │ ├── Shaders │ │ │ ├── NNAO.shader │ │ │ ├── NNAO.shader.meta │ │ │ ├── NNAOBlur.cginc │ │ │ ├── NNAOBlur.cginc.meta │ │ │ ├── NNAOCombine.cginc │ │ │ ├── NNAOCombine.cginc.meta │ │ │ ├── NNAOCore.cginc │ │ │ ├── NNAOCore.cginc.meta │ │ │ ├── NNAOTemporal.cginc │ │ │ └── NNAOTemporal.cginc.meta │ │ ├── Textures.meta │ │ └── Textures │ │ │ ├── nnao_f0.tga │ │ │ ├── nnao_f0.tga.meta │ │ │ ├── nnao_f1.tga │ │ │ ├── nnao_f1.tga.meta │ │ │ ├── nnao_f2.tga │ │ │ ├── nnao_f2.tga.meta │ │ │ ├── nnao_f3.tga │ │ │ └── nnao_f3.tga.meta │ ├── NNPostProcessing.meta │ ├── NNPostProcessing │ │ ├── DemoScene.meta │ │ ├── DemoScene │ │ │ ├── Arts.meta │ │ │ ├── Arts │ │ │ │ ├── BroadleafBark.tga │ │ │ │ ├── BroadleafBark.tga.meta │ │ │ │ ├── BroadleafBark_Normal.tga │ │ │ │ ├── BroadleafBark_Normal.tga.meta │ │ │ │ ├── Broadleaf_Mobile Materials.meta │ │ │ │ ├── Broadleaf_Mobile Materials │ │ │ │ │ ├── Billboard.mat │ │ │ │ │ ├── Billboard.mat.meta │ │ │ │ │ ├── LOD0.meta │ │ │ │ │ ├── LOD0 │ │ │ │ │ │ ├── Branches_0.mat │ │ │ │ │ │ ├── Branches_0.mat.meta │ │ │ │ │ │ ├── Leaves_1.mat │ │ │ │ │ │ └── Leaves_1.mat.meta │ │ │ │ │ ├── LOD1.meta │ │ │ │ │ ├── LOD1 │ │ │ │ │ │ ├── Branches_0.mat │ │ │ │ │ │ ├── Branches_0.mat.meta │ │ │ │ │ │ ├── Leaves_1.mat │ │ │ │ │ │ └── Leaves_1.mat.meta │ │ │ │ │ ├── LOD2.meta │ │ │ │ │ └── LOD2 │ │ │ │ │ │ ├── Branches_0.mat │ │ │ │ │ │ ├── Branches_0.mat.meta │ │ │ │ │ │ ├── Leaves_1.mat │ │ │ │ │ │ └── Leaves_1.mat.meta │ │ │ │ ├── Broadleaf_Mobile.spm │ │ │ │ ├── Broadleaf_Mobile.spm.meta │ │ │ │ ├── Broadleaf_Mobile_Atlas.tga │ │ │ │ ├── Broadleaf_Mobile_Atlas.tga.meta │ │ │ │ ├── Broadleaf_Mobile_Atlas_Billboards.tga │ │ │ │ ├── Broadleaf_Mobile_Atlas_Billboards.tga.meta │ │ │ │ ├── Broadleaf_Mobile_Atlas_Billboards_Normal.tga │ │ │ │ ├── Broadleaf_Mobile_Atlas_Billboards_Normal.tga.meta │ │ │ │ ├── Broadleaf_Mobile_Atlas_Normal.tga │ │ │ │ ├── Broadleaf_Mobile_Atlas_Normal.tga.meta │ │ │ │ ├── CliffAlbedoSpecular.png │ │ │ │ ├── CliffAlbedoSpecular.png.meta │ │ │ │ ├── GrassFrond01AlbedoAlpha.tga │ │ │ │ ├── GrassFrond01AlbedoAlpha.tga.meta │ │ │ │ ├── GrassHillAlbedo.png │ │ │ │ ├── GrassHillAlbedo.png.meta │ │ │ │ ├── GrassRockyAlbedo.png │ │ │ │ ├── GrassRockyAlbedo.png.meta │ │ │ │ ├── Skybox.mat │ │ │ │ ├── Skybox.mat.meta │ │ │ │ ├── terrain.asset │ │ │ │ └── terrain.asset.meta │ │ │ ├── Scene.unity │ │ │ └── Scene.unity.meta │ │ ├── Documentation.pdf │ │ ├── Documentation.pdf.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── Model.meta │ │ │ ├── Model │ │ │ │ ├── model - 副本 (2).json │ │ │ │ ├── model - 副本 (2).json.meta │ │ │ │ ├── model.json │ │ │ │ ├── model.json.meta │ │ │ │ ├── model_4.json │ │ │ │ ├── model_4.json.meta │ │ │ │ ├── model_8.json │ │ │ │ ├── model_8.json.meta │ │ │ │ ├── starry_night.json │ │ │ │ └── starry_night.json.meta │ │ │ ├── NNLayer.compute │ │ │ └── NNLayer.compute.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── NNCompute.cs │ │ │ ├── NNCompute.cs.meta │ │ │ ├── NNLayerBase.cs │ │ │ ├── NNLayerBase.cs.meta │ │ │ ├── NNLayers.meta │ │ │ ├── NNLayers │ │ │ ├── Add.cs │ │ │ ├── Add.cs.meta │ │ │ ├── AvgPooling2D.cs │ │ │ ├── AvgPooling2D.cs.meta │ │ │ ├── BatchNormalization.cs │ │ │ ├── BatchNormalization.cs.meta │ │ │ ├── CSDN.cs │ │ │ ├── CSDN.cs.meta │ │ │ ├── Concatenate.cs │ │ │ ├── Concatenate.cs.meta │ │ │ ├── Conv2D.cs │ │ │ ├── Conv2D.cs.meta │ │ │ ├── ConvBlock.cs │ │ │ ├── ConvBlock.cs.meta │ │ │ ├── DebugLayer.cs │ │ │ ├── DebugLayer.cs.meta │ │ │ ├── InputLayer.cs │ │ │ ├── InputLayer.cs.meta │ │ │ ├── LeakyReLU.cs │ │ │ ├── LeakyReLU.cs.meta │ │ │ ├── MaxPooling2D.cs │ │ │ ├── MaxPooling2D.cs.meta │ │ │ ├── OutputLayer.cs │ │ │ ├── OutputLayer.cs.meta │ │ │ ├── ReLU.cs │ │ │ ├── ReLU.cs.meta │ │ │ ├── Tanh.cs │ │ │ ├── Tanh.cs.meta │ │ │ ├── UpSampling2D.cs │ │ │ ├── UpSampling2D.cs.meta │ │ │ ├── upAndCat.cs │ │ │ └── upAndCat.cs.meta │ │ │ ├── NNModel.cs │ │ │ ├── NNModel.cs.meta │ │ │ ├── NNModelSerialize.cs │ │ │ ├── NNModelSerialize.cs.meta │ │ │ ├── NNPostProcessingEffect.cs │ │ │ ├── NNPostProcessingEffect.cs.meta │ │ │ ├── SimpleCharacterController.cs │ │ │ └── SimpleCharacterController.cs.meta │ ├── New Material.mat │ ├── New Material.mat.meta │ ├── ReadNormalAndDepth │ │ ├── GetInput.cs │ │ ├── GetInput.cs.meta │ │ ├── GetInput.shader │ │ ├── GetInput.shader.meta │ │ ├── ReadDepth.cs │ │ ├── ReadDepth.cs.meta │ │ ├── ReadDepth.shader │ │ ├── ReadDepth.shader.meta │ │ ├── ReadNormal.cs │ │ ├── ReadNormal.cs.meta │ │ ├── ReadNormal.shader │ │ └── ReadNormal.shader.meta │ ├── Scenes │ │ ├── SampleScene.unity │ │ └── SampleScene.unity.meta │ ├── Volumetric Ambient Occlusion.meta │ ├── Volumetric Ambient Occlusion │ │ ├── Assets.meta │ │ ├── Assets │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ │ ├── Resources.meta │ │ │ │ ├── Resources │ │ │ │ │ ├── script_icon.png │ │ │ │ │ ├── script_icon.png.meta │ │ │ │ │ ├── watermark.png │ │ │ │ │ ├── watermark.png.meta │ │ │ │ │ ├── wilberforce_script_icon.png │ │ │ │ │ └── wilberforce_script_icon.png.meta │ │ │ │ ├── VAOEffectEditor.dll │ │ │ │ └── VAOEffectEditor.dll.meta │ │ │ ├── Scripts.meta │ │ │ ├── Scripts │ │ │ │ ├── VAOEffect.cs │ │ │ │ ├── VAOEffect.cs.meta │ │ │ │ ├── VAOEffect.dll │ │ │ │ ├── VAOEffect.dll.meta │ │ │ │ ├── VAOEffectCommandBuffer.cs │ │ │ │ └── VAOEffectCommandBuffer.cs.meta │ │ │ ├── Shaders.meta │ │ │ └── Shaders │ │ │ │ ├── Raycast.shader │ │ │ │ ├── Raycast.shader.meta │ │ │ │ ├── RaycastColorbleed.shader │ │ │ │ ├── RaycastColorbleed.shader.meta │ │ │ │ ├── VAO.cginc │ │ │ │ ├── VAO.cginc.meta │ │ │ │ ├── VAOBeforeReflectionsBlendShader.shader │ │ │ │ ├── VAOBeforeReflectionsBlendShader.shader.meta │ │ │ │ ├── VAOColorbleed.shader │ │ │ │ ├── VAOColorbleed.shader.meta │ │ │ │ ├── VAOFinalPassShader.shader │ │ │ │ ├── VAOFinalPassShader.shader.meta │ │ │ │ ├── VAOShader.shader │ │ │ │ └── VAOShader.shader.meta │ │ ├── Documentation.meta │ │ └── Documentation │ │ │ ├── ReadMe.txt │ │ │ ├── ReadMe.txt.meta │ │ │ ├── VAO Manual.pdf │ │ │ └── VAO Manual.pdf.meta │ ├── chair.max │ └── chair.max.meta │ ├── ExportedObj │ ├── SampleScene.unity_25.mtl │ └── SampleScene.unity_25.obj │ ├── Logs │ └── Packages-Update.log │ ├── Packages │ └── manifest.json │ ├── ProjectSettings │ ├── AudioManager.asset │ ├── ClusterInputManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── NavMeshAreas.asset │ ├── Physics2DSettings.asset │ ├── PresetManager.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── TagManager.asset │ ├── TimeManager.asset │ ├── UnityConnectSettings.asset │ ├── VFXManager.asset │ └── XRSettings.asset │ ├── SharpEXR.csproj │ ├── SharpEXR.dll │ ├── Unity_lic.alf │ ├── obj │ └── Debug │ │ ├── Assembly-CSharp-Editor.csproj.CoreCompileInputs.cache │ │ ├── Assembly-CSharp-Editor.csprojAssemblyReference.cache │ │ ├── Assembly-CSharp.csproj.CopyComplete │ │ ├── Assembly-CSharp.csproj.CoreCompileInputs.cache │ │ ├── Assembly-CSharp.csproj.FileListAbsolute.txt │ │ ├── Assembly-CSharp.csprojAssemblyReference.cache │ │ ├── Assembly-CSharp.dll │ │ ├── Assembly-CSharp.pdb │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ ├── test_01.sln │ ├── test_02.sln │ ├── test_03 - 副本.sln │ └── test_03.sln └── img └── DATASET.png /Dataset Demo/DATASET.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/DATASET.png -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/guest room_Perspective.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/guest room_Perspective.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/guest room_Perspective_VRaySamplerInfo.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/guest room_Perspective_VRaySamplerInfo.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/guest room_Perspective_normal.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/guest room_Perspective_normal.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/hall ganesh 3_Perspective.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/hall ganesh 3_Perspective.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/hall ganesh 3_Perspective_Normal.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/hall ganesh 3_Perspective_Normal.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/hall ganesh 3_Perspective_Position.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/hall ganesh 3_Perspective_Position.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/scene_00_Perspective.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/scene_00_Perspective.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/scene_00_Perspective_VRaySamplerInfo.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/scene_00_Perspective_VRaySamplerInfo.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/scene_00_Perspective_normal.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/scene_00_Perspective_normal.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/scene_22_Perspective.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/scene_22_Perspective.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/scene_22_Perspective_VRaySamplerInfo.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/scene_22_Perspective_VRaySamplerInfo.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/scene_22_Perspective_normal.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/scene_22_Perspective_normal.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/sponza_Orthographic.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/sponza_Orthographic.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/sponza_Orthographic_VRaySamplerInfo.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/sponza_Orthographic_VRaySamplerInfo.exr -------------------------------------------------------------------------------- /Dataset Demo/Dataset sample/sponza_Orthographic_normal.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Dataset Demo/Dataset sample/sponza_Orthographic_normal.exr -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/.idea/Ao_pt.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Checkpoints/12-20-Unet-4/net_params_12_2019-12-22_16-30.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Checkpoints/12-20-Unet-4/net_params_12_2019-12-22_16-30.pkl -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Models/__init__.py: -------------------------------------------------------------------------------- 1 | from .lstmConv import ConvLSTM -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Models/__pycache__/NANO.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Models/__pycache__/NANO.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Models/__pycache__/NANO.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Models/__pycache__/NANO.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Models/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Models/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Models/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Models/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Models/__pycache__/lstmConv.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Models/__pycache__/lstmConv.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Models/__pycache__/lstmConv.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Models/__pycache__/lstmConv.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Myloss/__init__.py: -------------------------------------------------------------------------------- 1 | from .ssim_loss import MY_SSIM 2 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Myloss/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Myloss/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Myloss/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Myloss/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Myloss/__pycache__/ssim_loss.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Myloss/__pycache__/ssim_loss.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Myloss/__pycache__/ssim_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Myloss/__pycache__/ssim_loss.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Myloss/compute_ssim.py: -------------------------------------------------------------------------------- 1 | import cv2 2 | import matplotlib.pyplot as plt 3 | import numpy as np 4 | import torch 5 | from Myloss import MY_SSIM 6 | import os 7 | import pyexr 8 | 9 | fp_hbao = 'C:\\Users\\39796\\Desktop\\1-hbao.exr' 10 | fp_ours = 'C:\\Users\\39796\\Desktop\\1-ours.exr' 11 | fp_gt = 'C:\\Users\\39796\\Desktop\\guest room_Camera001.exr' 12 | 13 | gt = torch.from_numpy(pyexr.open(fp_gt).get()) 14 | ours = torch.from_numpy(pyexr.open(fp_ours).get()) 15 | hbao = torch.from_numpy(pyexr.open(fp_hbao).get()) 16 | 17 | ssim_hbao = MY_SSIM()(gt, hbao).item() 18 | ssim_ours = MY_SSIM()(gt, ours).item() 19 | 20 | print(ssim_hbao, '\n', ssim_ours) 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Others/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/Others/__init__.py -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Others/bar_img.py: -------------------------------------------------------------------------------- 1 | import matplotlib.pyplot as plt 2 | from matplotlib.font_manager import FontProperties 3 | # import seaborn as sns 4 | import numpy as np 5 | 6 | def autolabel(rects): 7 | for rect in rects: 8 | height = rect.get_height() 9 | plt.text(rect.get_x()+rect.get_width()-0.125, height+0.1, '%s' % float(height), fontdict={'fontsize':25}) 10 | 11 | 12 | # font = FontProperties(fname=r"C:\Windows\Fonts\simhei.ttf", size=14) 13 | 14 | wid = 0.1 15 | scale = 2 16 | # a = plt.bar([1/scale], [2.1], width=wid, label='4x') 17 | # 18 | # b = plt.bar([2/scale], [10.8], width=wid, label='8x') 19 | # 20 | # c = plt.bar([3/scale], [42.5], width=wid, label='16x') 21 | 22 | # d = plt.bar([4/scale], [33.6], width=wid, label='1920x1080') 23 | lst = np.array([1.74,10.32,8.6, 24 | 4.66,10.16,8.3, 25 | 5.19,10.15,8.9, 26 | 5.51,10.17,9.3, 27 | 6.28,10.7,9.4, 28 | 6.72,11.21,9.2, 29 | 8.29,13.11,10.5, 30 | 12.98,21.49,11.7, 31 | 16.08,21.06,11.8, 32 | 20.60,25.52,16.5, 33 | 24.21,29.02,17.5, 34 | 29.31,34.18,25.3, 35 | 34.93,39.49,26.6, 36 | 40.36,45.52,25.3, 37 | 40.53,45.92,24.9]).reshape((15, 3)) 38 | print(lst[1:, :]-lst[:-1, :]) 39 | 40 | 41 | 42 | # a = plt.bar([1/scale, 2/scale, 3/scale], [1.0,1.1,15.6], width=wid, label='720p') 43 | # 44 | # b = plt.bar([5/scale, 6/scale, 7/scale], [1.8,2.3,38.7], width=wid, label='2k') 45 | # 46 | # c = plt.bar([9/scale, 10/scale, 11/scale], [7.3,8.8,153.9], width=wid, label='4k') 47 | # 48 | # # d = plt.bar([4/scale], [33.6], width=wid, label='1920x1080') 49 | # 50 | # # a.spines['top'].set_visible(False) 51 | # # params 52 | # 53 | # # x: 条形图x轴 54 | # # y:条形图的高度 55 | # # width:条形图的宽度 默认是0.8 56 | # # bottom:条形底部的y坐标值 默认是0 57 | # # align:center / edge 条形图是否以x轴坐标为中心点或者是以x轴坐标为边缘 58 | # autolabel(a) 59 | # autolabel(b) 60 | # autolabel(c) 61 | # # autolabel(d) 62 | # 63 | # plt.legend(fontsize=20) 64 | # 65 | # plt.xlabel('Resolution', fontdict={'fontsize':15}) 66 | # plt.ylabel('Time(ms)', fontdict={'fontsize':15}) 67 | # plt.xticks([]) 68 | # plt.title(u'Time of 4x Filters', fontdict={'fontsize':15}) 69 | # 70 | # plt.show() -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Others/blend_ao.py: -------------------------------------------------------------------------------- 1 | import pyexr 2 | import cv2 3 | import matplotlib.pyplot as plt 4 | import numpy as np 5 | 6 | ours_128 = pyexr.open('C:\\Users\\zhangdongjiu\\Desktop\\s06-c3_128-exp4-ours.exr').get()[:, :, 0] 7 | ours_2048 = pyexr.open('C:\\Users\\zhangdongjiu\\Desktop\\scene_15_Camera003_2048.exr').get()[:, :, 0] 8 | 9 | hbao = pyexr.open('C:\\Users\\zhangdongjiu\\Desktop\\S06-C3_2048-1-hbao.exr').get()[:, :, 0] 10 | 11 | blend_ = cv2.resize(ours_128, (0, 0), fx=16, fy=16, interpolation=cv2.INTER_CUBIC) 12 | plt.subplot(221) 13 | plt.imshow(np.clip(ours_128*255., 0, 255).astype(np.uint8), cmap='gray') 14 | 15 | plt.subplot(222) 16 | plt.imshow(np.clip(hbao*255., 0, 255).astype(np.uint8), cmap='gray') 17 | 18 | plt.subplot(223) 19 | plt.imshow(np.clip((blend_+hbao)*255./2., 0, 255).astype(np.uint8), cmap='gray') 20 | 21 | plt.subplot(224) 22 | # plt.imshow(np.clip(cv2.resize(ours_128, (0, 0), fx=16, fy=16, interpolation=cv2.INTER_CUBIC)*255., 0, 255).astype(np.uint8), cmap='gray') 23 | plt.imshow(np.clip(ours_2048*255., 0, 255).astype(np.uint8), cmap='gray') 24 | plt.show() -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Others/compare_depth.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | import pyexr 3 | import matplotlib.pyplot as plt 4 | import os 5 | 6 | base_dir = 'C:\\Users\\39796\\Desktop\\Ambient Occlosion Paper\\scene_image' 7 | # 'scene_18_Perspective_View180014' 8 | position_path = os.path.join(base_dir, 'scene_18_Perspective_View130013.exr') 9 | # depth_path = os.path.join(base_dir, 'scene_19_Camera001_Z Depth.exr') 10 | # 'scene_18_Perspective_rgb_Z Depth_View090049.exr' 11 | # position = 1+pyexr.open(position_path).get()[:, :, 2]/1500.0 12 | position = pyexr.open(position_path).get()[:, :, :] 13 | print(np.mean(position[:,:, 0])) 14 | # depth = pyexr.open(depth_path).get()[:, :, 2] 15 | # plt.imsave('%s\\scene_18_Perspective_rgb_Z Depth_View090049.png'%base_dir, position) 16 | 17 | # plt.subplot(131) 18 | plt.imshow(position) 19 | # plt.subplot(132) 20 | # plt.imshow(depth) 21 | # plt.subplot(133) 22 | # plt.imshow(position-depth) 23 | plt.show() -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Others/compare_filters.py: -------------------------------------------------------------------------------- 1 | import cv2 2 | import matplotlib.pyplot as plt 3 | import numpy as np 4 | import torch 5 | from Myloss import SSIM 6 | import os 7 | 8 | 9 | fnk4_2_lst = [os.path.join('Logs\\K4_2', i) for i in os.listdir('Logs\\K4_2')] 10 | count_ = 0 11 | for i in range(2249): 12 | # fnk4 = 'Logs\\K4\\%05d-result.png' % i 13 | fnk4 = fnk4_2_lst[count_] 14 | # print(fnk4) 15 | fnk8 = 'Logs\\K8\\%05d-result.png' % i 16 | # print(fnk8) 17 | fnk16 = 'Logs\\K16\\%05d-result.png' % i 18 | fnkgt = 'Logs\\GT\\%05d-gt.png' % i 19 | 20 | if os.path.exists(fnk8) == False: 21 | continue 22 | K4 = cv2.imread(fnk4) 23 | K8 = cv2.imread(fnk8) 24 | K16 = cv2.imread(fnk16) 25 | Kgt = cv2.imread(fnkgt) 26 | count_ += 1 27 | 28 | # plt.subplot(221) 29 | # plt.imshow(K4) 30 | # plt.subplot(222) 31 | # plt.imshow(K8) 32 | # plt.subplot(223) 33 | # plt.imshow(K16) 34 | # plt.subplot(224) 35 | # plt.imshow(Kgt) 36 | # plt.show() 37 | gap = np.zeros((K4.shape[0], 5, 3), dtype=np.uint8) 38 | res = np.concatenate((K4, gap, K8, gap, K16, gap, Kgt), axis=1) 39 | 40 | K4 = K4.astype(np.float32) 41 | K4 = K4[:, :, 0]/255. 42 | 43 | K8 = K8.astype(np.float32) 44 | K8 = K8[:, :, 0]/255. 45 | 46 | K16 = K16.astype(np.float32) 47 | K16 = K16[:, :, 0]/255. 48 | 49 | Kgt = Kgt.astype(np.float32) 50 | Kgt = Kgt[:, :, 0]/255. 51 | Kgt = torch.from_numpy(np.expand_dims(np.expand_dims(Kgt, 0), 0)).cuda() 52 | 53 | ssim_k4 = SSIM()(Kgt, torch.from_numpy(np.expand_dims(np.expand_dims(K4, 0), 0)).cuda()).item() 54 | ssim_k8 = SSIM()(Kgt, torch.from_numpy(np.expand_dims(np.expand_dims(K8, 0), 0)).cuda()).item() 55 | ssim_k16 = SSIM()(Kgt, torch.from_numpy(np.expand_dims(np.expand_dims(K16, 0), 0)).cuda()).item() 56 | 57 | cv2.imwrite('Logs\\COMPARE_1\\%05d-%.4f-%.4f-%.4f-res.png' % (i, ssim_k4, ssim_k8, ssim_k16), res) 58 | # plt.imshow(res) 59 | # plt.show() 60 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Others/file_rename.py: -------------------------------------------------------------------------------- 1 | import os, shutil 2 | import pyexr 3 | import matplotlib.pyplot 4 | 5 | 6 | base_dir = 'C:\\Users\\39796\PycharmProjects\\neterase\\Datasets\\train\s3\scene_03' 7 | 8 | save_dir = 'C:\\Users\\39796\PycharmProjects\\neterase\Datasets\\train\scene_03' 9 | 10 | file_list = os.listdir(base_dir) 11 | 12 | ao_lst = [i for i in file_list if '1_View' in i or '1_view' in i ] 13 | normal_lst = [i for i in file_list if 'normal' in i] 14 | position_lst = [i for i in file_list if 'position' in i] 15 | count = 0 16 | 17 | for i in range(len(ao_lst)): 18 | ao_fn = os.path.join(base_dir, ao_lst[i]) 19 | normal_fn = os.path.join(base_dir, normal_lst[i]) 20 | position_fn = os.path.join(base_dir, position_lst[i]) 21 | 22 | save_ao_fn = os.path.join(save_dir+'\\GroundTruth', '%04d.exr' % i) 23 | save_normal_fn = os.path.join(save_dir+'\\Normals', '%04d.exr' % i) 24 | save_position_fn = os.path.join(save_dir+'\\Position', '%04d.exr' % i) 25 | 26 | shutil.move(ao_fn, save_ao_fn) 27 | shutil.move(normal_fn, save_normal_fn) 28 | shutil.move(position_fn, save_position_fn) 29 | 30 | # print() -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Others/generate_file_list.py: -------------------------------------------------------------------------------- 1 | import os 2 | import pyexr 3 | import matplotlib.pyplot as plt 4 | 5 | 6 | base_dir = 'Datastes\\Unity_sceenshot' 7 | # D:\Projects\Pycharm\Ao_pt\Datastes\Unity_sceenshot 8 | lst = [os.path.join(base_dir, i) for i in os.listdir(base_dir)] 9 | 10 | # ao_lst = [os.path.join(i, 'GroundTruth') for i in lst] 11 | # normal_lst = [os.path.join(i, 'Normals') for i in lst] 12 | 13 | ao_lst = [[os.path.join(os.path.join(i, 'GroundTruth'), j) for j in os.listdir(os.path.join(i, 'GroundTruth'))] for i in lst] 14 | normal_lst = [[os.path.join(os.path.join(i, 'Normals'), j) for j in os.listdir(os.path.join(i, 'Normals'))] for i in lst] 15 | position_lst = [[os.path.join(os.path.join(i, 'Position'), j) for j in os.listdir(os.path.join(i, 'Position'))] for i in lst] 16 | 17 | 18 | f = open('C:\\Users\\39796\\PycharmProjects\\neterase\Datasets\\train_lst.txt', mode='w') 19 | count = 0 20 | for i in range(len(ao_lst)): 21 | for j in range(len(ao_lst[i])): 22 | 23 | # print(j) 24 | # print(ao_lst[i][j]) 25 | ao_fn = ao_lst[i][j] 26 | normal_fn = normal_lst[i][j] 27 | position_fn = position_lst[i][j] 28 | 29 | our_str = '%s,%s,%s\n' % (ao_fn, normal_fn, position_fn) 30 | f.write(our_str) 31 | # print(our_str) 32 | # print() 33 | # ao = pyexr.open(ao_fn).get() 34 | # normal = pyexr.open(ao_fn).get() 35 | # position = pyexr.open(ao_fn).get() 36 | # 37 | # plt.subplot(131) 38 | # plt.imshow(ao) 39 | # plt.subplot(132) 40 | # plt.imshow(normal) 41 | # plt.subplot(133) 42 | # plt.imshow(position[:, :, 2]) 43 | # plt.show() 44 | # print() 45 | f.close() 46 | # print(position_lst) 47 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Others/mlp_train.py: -------------------------------------------------------------------------------- 1 | import os 2 | from dataloaders import MyAoDataset_full 3 | from Models.NANO import NANO_cnn 4 | from torch.utils.data import DataLoader 5 | from config import config 6 | import numpy as np 7 | from torch.utils.data import random_split 8 | 9 | CHECKPOINT_DIR = './Checkpoints/NNAO_cnn' 10 | 11 | # Loading datasets 12 | # print("\nLoading DATA...") 13 | 14 | 15 | DATA_DIR = config.DATAPATH 16 | epochs = config.TRAIN_EPOCH 17 | learning_rate = config.learning_rate 18 | 19 | datapath = os.path.join(DATA_DIR, "dataset_full.npy") 20 | 21 | data = np.load(datapath) 22 | 23 | 24 | full_dataset = MyAoDataset_full(data) 25 | 26 | print(len(full_dataset)) 27 | train_size = int(0.9 * len(full_dataset)) 28 | test_size = len(full_dataset) - train_size 29 | train_dataset, test_dataset = random_split(full_dataset, [train_size, test_size]) 30 | 31 | train_loader = DataLoader(dataset=train_dataset, batch_size=config.bs, shuffle=True) 32 | test_loader = DataLoader(dataset=test_dataset, batch_size=config.bs, shuffle=True) 33 | 34 | mlp = NANO_cnn(train_loader, config, ds_test=test_loader).cuda() 35 | 36 | 37 | mlp.fit(epochs, learning_rate) 38 | 39 | print('-------------finished!-------------') 40 | 41 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Others/process_depth_and_normal.py: -------------------------------------------------------------------------------- 1 | import pyexr 2 | import matplotlib.pyplot as plt 3 | import numpy as np 4 | import cv2 5 | normal_path = 'D:\\Projects\\Unity\\test_03\screenshot\\scene_00_Perspective_normal_View010005.exr' 6 | depth_path = 'D:\\Projects\\Unity\\test_03\screenshot\\scene_00_Perspective_Z Depth_View010005.exr' 7 | 8 | normal = pyexr.open(normal_path).get() 9 | 10 | normal = normal*255 11 | normal = normal.astype(np.uint8) 12 | normal = normal[:, :, (2, 1, 0)] 13 | depth = pyexr.open(depth_path).get()[:, :, 0:1]*65535 14 | xx = depth / 255 15 | yy = depth % 255 16 | 17 | res = np.concatenate([xx, yy, np.ones((512, 512, 1) )], axis=-1) 18 | res = res.astype(np.uint8) 19 | res = res[:, :, (2, 1, 0)] 20 | cv2.imwrite('D:\\Projects\\Unity\\test_03\screenshot\\normal-3.png', normal) 21 | cv2.imwrite('D:\\Projects\\Unity\\test_03\screenshot\\depth-3.png', res) 22 | print(np.sum(np.unique(normal[:, :, 0])!=0)) 23 | 24 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/Others/readxaf.py: -------------------------------------------------------------------------------- 1 | import os 2 | import cv2 3 | import pyexr 4 | import numpy as np 5 | import matplotlib.pyplot as plt 6 | # from xml.etree.ElementTree import ElementTree 7 | # tree = ElementTree() 8 | # res = tree.parse('C:\\Users\\39796\\Desktop\\test.xaf').findall('Node') 9 | # 10 | # for i in res: 11 | # print(i) 12 | # node = res.find('Samples') 13 | 14 | camera_cx = 256.0 15 | camera_cy = 256.0 16 | camera_fx = 548.9937 17 | camera_fy = 548.9937 18 | 19 | 20 | # print(res) 21 | def analysis_xaf(filename): 22 | f = open(filename) 23 | lines = f.readlines() 24 | Samples = [i for i in lines if ' BN => ReLU) * 2''' 8 | def __init__(self, in_ch, out_ch): 9 | super(double_conv, self).__init__() 10 | 11 | self.conv = nn.Sequential( 12 | nn.Conv2d(in_ch, out_ch, 3, padding=1), 13 | nn.BatchNorm2d(out_ch), 14 | nn.LeakyReLU(inplace=True), 15 | 16 | nn.Conv2d(out_ch, out_ch, 3, stride=1, padding=1), 17 | nn.BatchNorm2d(out_ch), 18 | nn.LeakyReLU(inplace=True), 19 | ) 20 | 21 | def forward(self, x): 22 | x = self.conv(x) 23 | return x 24 | 25 | 26 | # class Resnet18(nn.Module): 27 | # '''(conv => BN => ReLU) * 2''' 28 | # def __init__(self, in_ch, out_ch): 29 | # super(Resnet18, self).__init__() 30 | # 31 | # self. 32 | # def forward(self, x): 33 | # x = self.conv(x) 34 | # return x -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__init__.py: -------------------------------------------------------------------------------- 1 | from .unet_model import UNet, Discriminator 2 | from .unet_multi_scale_model import UNet_multi_scale 3 | from .unet_ts import UNet_student 4 | from .RRDnet import RRDBNet 5 | from .deepshading import DSUNet 6 | -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/RRDnet.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/RRDnet.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/RRDnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/RRDnet.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/deepshading.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/deepshading.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/deepshading.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/deepshading.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/unet_model.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/unet_model.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/unet_model.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/unet_model.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/unet_multi_scale_model.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/unet_multi_scale_model.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/unet_parts.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/unet_parts.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/unet_parts.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/unet_parts.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/unet_parts_ts.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/unet_parts_ts.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/unet_parts_ts.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/unet_parts_ts.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/unet_ts.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/unet_ts.cpython-36.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/__pycache__/unet_ts.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/DeepLearning/Ao_pt/unet/__pycache__/unet_ts.cpython-37.pyc -------------------------------------------------------------------------------- /DeepLearning/Ao_pt/unet/unet_multi_scale_model.py: -------------------------------------------------------------------------------- 1 | # full assembly of the sub-parts to form the complete net 2 | 3 | import torch.nn.functional as F 4 | 5 | from .unet_parts import * 6 | 7 | 8 | class UNet_multi_scale(nn.Module): 9 | def __init__(self, n_channels, n_classes, mode='maxpooling'): 10 | super(UNet_multi_scale, self).__init__() 11 | 12 | # self.global_step = torch.nn.Parameter(torch.LongTensor(0), requires_grad=False) 13 | # base 4 14 | self.inc = inconv(n_channels, 4) 15 | 16 | self.down1 = down_multi_scale(4, 8, 2) 17 | self.down2 = down_multi_scale(8, 16, 4) 18 | self.down3 = down_multi_scale(16, 32, 8) 19 | self.down4 = down_multi_scale(32, 32, 16) 20 | 21 | self.up1 = up(64, 16) 22 | self.up2 = up(32, 8) 23 | self.up3 = up(16, 4) 24 | self.up4 = up(8, 4) 25 | self.outc = outconv(4, n_classes) 26 | 27 | 28 | 29 | def forward(self, x): 30 | x1 = self.inc(x) 31 | x2 = self.down1(x1, x) 32 | x3 = self.down2(x2, x) 33 | x4 = self.down3(x3, x) 34 | x5 = self.down4(x4, x) 35 | 36 | dx1 = self.up1(x5, x4) 37 | dx2 = self.up2(dx1, x3) 38 | dx3 = self.up3(dx2, x2) 39 | dx4 = self.up4(dx3, x1) 40 | dx5 = self.outc(dx4) 41 | return dx5 42 | 43 | 44 | -------------------------------------------------------------------------------- /Unity/test/.vs/test_01/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_01/v15/.suo -------------------------------------------------------------------------------- /Unity/test/.vs/test_01/v15/Browse.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_01/v15/Browse.VC.db -------------------------------------------------------------------------------- /Unity/test/.vs/test_01/v15/Browse.VC.opendb: -------------------------------------------------------------------------------- 1 | zhangdongjiuHIH-D-21996 -------------------------------------------------------------------------------- /Unity/test/.vs/test_01/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_01/v15/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /Unity/test/.vs/test_01/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_01/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /Unity/test/.vs/test_01/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_01/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /Unity/test/.vs/test_02/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_02/v15/.suo -------------------------------------------------------------------------------- /Unity/test/.vs/test_02/v15/Browse.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_02/v15/Browse.VC.db -------------------------------------------------------------------------------- /Unity/test/.vs/test_02/v15/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_02/v15/Server/sqlite3/db.lock -------------------------------------------------------------------------------- /Unity/test/.vs/test_02/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_02/v15/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /Unity/test/.vs/test_02/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_02/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /Unity/test/.vs/test_02/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_02/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /Unity/test/.vs/test_03 - 副本/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03 - 副本/v15/.suo -------------------------------------------------------------------------------- /Unity/test/.vs/test_03 - 副本/v15/Browse.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03 - 副本/v15/Browse.VC.db -------------------------------------------------------------------------------- /Unity/test/.vs/test_03 - 副本/v15/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03 - 副本/v15/Server/sqlite3/db.lock -------------------------------------------------------------------------------- /Unity/test/.vs/test_03 - 副本/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03 - 副本/v15/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /Unity/test/.vs/test_03 - 副本/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03 - 副本/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /Unity/test/.vs/test_03 - 副本/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03 - 副本/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /Unity/test/.vs/test_03/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03/v14/.suo -------------------------------------------------------------------------------- /Unity/test/.vs/test_03/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03/v15/.suo -------------------------------------------------------------------------------- /Unity/test/.vs/test_03/v15/Browse.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03/v15/Browse.VC.db -------------------------------------------------------------------------------- /Unity/test/.vs/test_03/v15/Browse.VC.opendb: -------------------------------------------------------------------------------- 1 | 39796DESKTOP-2R531HJ -------------------------------------------------------------------------------- /Unity/test/.vs/test_03/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03/v15/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /Unity/test/.vs/test_03/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /Unity/test/.vs/test_03/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/.vs/test_03/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /Unity/test/Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46fcd484c0458154bae8427d2f4f74cf 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Editor/EditorObjExporter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b363007950d721a4aa515844f8011b5e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/Editor/ExportTerrain.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22023c16a3192624eb82f41e86dfac10 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6191b84e8a944594f817b9fb5d330126 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59a59f90db375c645b64d5b58805925c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Scripts/GraphicsUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8600e59a33da2fd45ab8b962524e66bb 3 | timeCreated: 1528618039 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Scripts/GroundTruthAmbientOcclusion.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e5720f3e4091d5649966a31a0c9adc84 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Scripts/ShaderIDs.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public static class ShaderIDs { 4 | //Some Examples 5 | public static int _MainTex = Shader.PropertyToID("_MainTex"); 6 | //Use id value instead of string could have less cost. 7 | //Set your custom variables here 8 | public static int _TempTex = Shader.PropertyToID("_TempTex"); 9 | public static int _DepthTex = Shader.PropertyToID("_DepthTexture"); 10 | public static int _MirrorNormal = Shader.PropertyToID("_MirrorNormal"); 11 | public static int _MirrorPos = Shader.PropertyToID("_MirrorPos"); 12 | public static int _BlurOffset = Shader.PropertyToID("_BlurOffset"); 13 | } 14 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Scripts/ShaderIDs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88e554ffe9d0d934a9d66af4a2aa3f63 3 | timeCreated: 1528618039 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7d6f23a5c0e5b84daeb470c0b514cbb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/GTAO.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/GroundTruthAmbientOcclusion" 2 | { 3 | CGINCLUDE 4 | #include "GTAO_Pass.cginc" 5 | ENDCG 6 | 7 | SubShader 8 | { 9 | ZTest Always 10 | Cull Off 11 | ZWrite Off 12 | 13 | Pass 14 | { 15 | Name"ResolveGTAO" 16 | CGPROGRAM 17 | #pragma vertex vert 18 | #pragma fragment ResolveGTAO_frag 19 | ENDCG 20 | } 21 | 22 | Pass 23 | { 24 | Name"SpatialGTAO_X" 25 | CGPROGRAM 26 | #pragma vertex vert 27 | #pragma fragment SpatialGTAO_X_frag 28 | ENDCG 29 | } 30 | 31 | Pass 32 | { 33 | Name"SpatialGTAO_Y" 34 | CGPROGRAM 35 | #pragma vertex vert 36 | #pragma fragment SpatialGTAO_Y_frag 37 | ENDCG 38 | } 39 | 40 | Pass 41 | { 42 | Name"TemporalGTAO" 43 | CGPROGRAM 44 | #pragma vertex vert 45 | #pragma fragment TemporalGTAO_frag 46 | ENDCG 47 | } 48 | 49 | Pass 50 | { 51 | Name"CombienGTAO" 52 | CGPROGRAM 53 | #pragma vertex vert 54 | #pragma fragment CombienGTAO_frag 55 | ENDCG 56 | } 57 | 58 | Pass 59 | { 60 | Name"DeBugGTAO" 61 | CGPROGRAM 62 | #pragma vertex vert 63 | #pragma fragment DeBugGTAO_frag 64 | ENDCG 65 | } 66 | 67 | Pass 68 | { 69 | Name"DeBugGTRO" 70 | CGPROGRAM 71 | #pragma vertex vert 72 | #pragma fragment DeBugGTRO_frag 73 | ENDCG 74 | } 75 | 76 | Pass 77 | { 78 | Name"BentNormal" 79 | CGPROGRAM 80 | #pragma vertex vert 81 | #pragma fragment DeBugBentNormal_frag 82 | ENDCG 83 | } 84 | 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/GTAO.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2dbab40b5193e7640a8d53163872d2f7 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/GTAO_Common.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d8264880f6b9ea4cbdaececa3fcfd99 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/GTAO_Pass.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d1b139a30c983e40aee1dc834dbeef0 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 89f6456831dec174fa56e76459073cd0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include/AreaLight.hlsl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91b0090b90000a84bb1b4331721697db 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include/BSDF_Library.hlsl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a728d9c441a76348b47c7302740e97d 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include/Common.hlsl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7234fdd1fca53c74b9540d0f6c5c4ecd 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include/Filtter_Library.hlsl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 017fc8d50e649a74c82971d069793f72 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include/ImageBasedLighting.hlsl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e703bc8418a3eb48813f5911bfe417d 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include/Include_HLSL.hlsl: -------------------------------------------------------------------------------- 1 | #ifndef _Include_HLSL_ 2 | #define _Include_HLSL_ 3 | 4 | #include "AreaLight.hlsl" 5 | #include "BSDF_Library.hlsl" 6 | #include "Common.hlsl" 7 | #include "Filtter_Library.hlsl" 8 | #include "ImageBasedLighting.hlsl" 9 | #include "Montcalo_Library.hlsl" 10 | #include "Noise_Library.hlsl" 11 | #include "ShadingModel.hlsl" 12 | 13 | #endif -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include/Include_HLSL.hlsl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc87411af36a9d3418cadc50ec9df73c 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include/Montcalo_Library.hlsl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66910459dbc1d934da3fa5457461e053 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include/Noise_Library.hlsl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5fc868af7d3f8274082d3b61d2603066 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/GTAO/Shaders/Shader_Include/ShadingModel.hlsl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1bd342f7a28dafa4680c0e3a050fb5ab 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a6a951d3fb9224468bd9a311e48ae72 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1263095ccc5eeb54e932f8a9af60f009 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 241634a1ead4cbf4aa1750dbe7debbab 3 | timeCreated: 1453576474 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16deb66a3a2ccc5438e102f5561693de 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Models/Dragons Candle.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Models/Dragons Candle.fbx -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Models/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7f3c35273a8dd349bb2c3bcaf59c860 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Models/Materials/Dragons.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86e1545bedbf12044bc434adf047297c 3 | timeCreated: 1454157498 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Models/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 049c833f5ff87e44780e5f20aae823b3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Models/Textures/Dragons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Models/Textures/Dragons.png -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Models/Textures/Dragons.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca39994063dd9c94894e7e05a63ed4af 3 | timeCreated: 1454158430 4 | licenseType: Store 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 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e3f4c90ec3fc584da2ad7b6664b960c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Scripts/HBAOControl.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class HBAOControl : MonoBehaviour { 4 | 5 | public HBAO hbao; 6 | public UnityEngine.UI.Slider aoRadiusSlider; 7 | 8 | public void ToggleShowAO () { 9 | if (hbao.generalSettings.displayMode != HBAO.DisplayMode.Normal) { 10 | HBAO.GeneralSettings settings = hbao.generalSettings; 11 | settings.displayMode = HBAO.DisplayMode.Normal; 12 | hbao.generalSettings = settings; 13 | } else { 14 | HBAO.GeneralSettings settings = hbao.generalSettings; 15 | settings.displayMode = HBAO.DisplayMode.AOOnly; 16 | hbao.generalSettings = settings; 17 | } 18 | } 19 | 20 | public void UpdateAoRadius () { 21 | HBAO.AOSettings settings = hbao.aoSettings; 22 | settings.radius = aoRadiusSlider.value; 23 | hbao.aoSettings = settings; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Scripts/HBAOControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8c0ece2d92e8be4f8a5909e6896f948 3 | timeCreated: 1453634854 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Scripts/RotateObject.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class RotateObject : MonoBehaviour { 5 | 6 | // Use this for initialization 7 | void Start () { 8 | 9 | } 10 | 11 | // Update is called once per frame 12 | void Update () { 13 | transform.Rotate(Vector3.up * Time.deltaTime * 15.0f, Space.World); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Demo/Scripts/RotateObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1b93e48d84b64e4cac4a08f2da9f69f 3 | timeCreated: 1453573806 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Documentation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 612d5f11dea44d14fbe65bbece2cc9ca 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Documentation/User Guide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Horizon Based Ambient Occlusion/Documentation/User Guide.pdf -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Documentation/User Guide.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 061da04314aaba248977f5671e799370 3 | timeCreated: 1467127598 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Readme.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ea4d0d9dc9d11941b341f03453fd6d3 3 | timeCreated: 1453642158 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98420671f0069b443bb03a82a39e2189 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 361771a0cfc236745b30a0a1d6f7917e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/HBAO_Core_Editor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c11bfebf2cb67334d8e543d164ef0cb0 3 | timeCreated: 1478884394 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/HBAO_Editor.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | 3 | [CustomEditor(typeof(HBAO))] 4 | public class HBAO_Editor : HBAO_Core_Editor 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/HBAO_Editor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 521bd0b60bd351e459f306a8165def2d 3 | timeCreated: 1463304174 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/HBAO_GaiaExtension.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 50df544c23aafa84584188552d7a8cd5 3 | timeCreated: 1462456119 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/HBAO_Integrated_Editor.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | 3 | [CustomEditor(typeof(HBAO_Integrated))] 4 | public class HBAO_Integrated_Editor : HBAO_Core_Editor 5 | { 6 | public override void OnInspectorGUI() 7 | { 8 | DrawGUI(true); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/HBAO_Integrated_Editor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e727c2037c59c54ea423df5fef84c21 3 | timeCreated: 1478885314 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/HBAO_MinMaxSliderDrawer.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | [CustomPropertyDrawer(typeof(HBAO_MinMaxSliderAttribute))] 5 | class HBAO_MinMaxSliderDrawer : PropertyDrawer 6 | { 7 | 8 | public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) 9 | { 10 | 11 | if (property.propertyType == SerializedPropertyType.Vector2) 12 | { 13 | Vector2 range = property.vector2Value; 14 | float min = range.x; 15 | float max = range.y; 16 | HBAO_MinMaxSliderAttribute attr = attribute as HBAO_MinMaxSliderAttribute; 17 | EditorGUI.BeginChangeCheck(); 18 | #if UNITY_5_5_OR_NEWER 19 | EditorGUI.MinMaxSlider(position, label, ref min, ref max, attr.min, attr.max); 20 | #else 21 | EditorGUI.MinMaxSlider(label, position, ref min, ref max, attr.min, attr.max); 22 | #endif 23 | if (EditorGUI.EndChangeCheck()) 24 | { 25 | range.x = min; 26 | range.y = max; 27 | property.vector2Value = range; 28 | } 29 | } 30 | else 31 | { 32 | EditorGUI.LabelField(position, label, "Use only with Vector2"); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/HBAO_MinMaxSliderDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c0b76a158a8ca564097e775a036218cd 3 | timeCreated: 1508576144 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: affe628351a0ac345913a4999b15c103 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/Resources/hbao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/Resources/hbao.png -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/Resources/hbao.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 363f071b5e3670a43ba62ba5322fc4d6 3 | timeCreated: 1463304735 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 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: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 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: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | spriteMode: 0 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 46 | spritePixelsToUnits: 100 47 | alphaIsTransparency: 1 48 | textureType: 2 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/Resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/Resources/icon.png -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/Editor/Resources/icon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6daa87e2aaa1bb04d930ca4b4bc926a7 3 | timeCreated: 1504428532 4 | licenseType: Store 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: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 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 | spriteMode: 0 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 46 | spritePixelsToUnits: 100 47 | alphaIsTransparency: 1 48 | textureType: -1 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/HBAO.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd14c7abcfeeeee4684c917d077a7e30 3 | timeCreated: 1504428561 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - noiseTex: {instanceID: 0} 9 | - quadMesh: {instanceID: 0} 10 | - hbaoShader: {fileID: 4800000, guid: 7b834eafaedd0d842bb05a969d9d14bd, type: 3} 11 | executionOrder: 0 12 | icon: {fileID: 2800000, guid: 6daa87e2aaa1bb04d930ca4b4bc926a7, type: 3} 13 | userData: 14 | assetBundleName: 15 | assetBundleVariant: 16 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/HBAO_Core.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1580e32f765c994b86a57bb3c49fe75 3 | timeCreated: 1478865291 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - noiseTex: {instanceID: 0} 9 | - quadMesh: {instanceID: 0} 10 | - hbaoShader: {instanceID: 0} 11 | executionOrder: 0 12 | icon: {instanceID: 0} 13 | userData: 14 | assetBundleName: 15 | assetBundleVariant: 16 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/HBAO_Integrated.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 436f05134eb64694e9f84a322cb5718f 3 | timeCreated: 1504428647 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - noiseTex: {instanceID: 0} 9 | - quadMesh: {instanceID: 0} 10 | - hbaoShader: {fileID: 4800000, guid: 7b834eafaedd0d842bb05a969d9d14bd, type: 3} 11 | executionOrder: 0 12 | icon: {fileID: 2800000, guid: 6daa87e2aaa1bb04d930ca4b4bc926a7, type: 3} 13 | userData: 14 | assetBundleName: 15 | assetBundleVariant: 16 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/HBAO_MinMaxSliderAttribute.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class HBAO_MinMaxSliderAttribute : PropertyAttribute 4 | { 5 | public readonly float max; 6 | public readonly float min; 7 | 8 | public HBAO_MinMaxSliderAttribute(float min, float max) 9 | { 10 | this.min = min; 11 | this.max = max; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Scripts/HBAO_MinMaxSliderAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b13b654d15ff94542906ff9b24783d00 3 | timeCreated: 1508576140 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b82450eb171a4414989bb6a1a7da0634 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b834eafaedd0d842bb05a969d9d14bd 3 | timeCreated: 1453645791 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_Blur.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6fd3fc8e7b174414084ef2a2f3ce7cc0 3 | timeCreated: 1453540070 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_BlurX_frag.cginc: -------------------------------------------------------------------------------- 1 | #ifndef HBAO_BLURX_FRAG_INCLUDED 2 | #define HBAO_BLURX_FRAG_INCLUDED 3 | 4 | #include "HBAO_Blur.cginc" 5 | 6 | half4 frag (v2f i) : SV_Target { 7 | return ComputeBlur(i.uv, float2((_ScreenParams.z - 1.0), 0)); 8 | } 9 | 10 | #endif // HBAO_BLURX_FRAG_INCLUDED 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_BlurX_frag.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc7f4bfccf0e66c4da5161363528598e 3 | timeCreated: 1453540483 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_BlurY_frag.cginc: -------------------------------------------------------------------------------- 1 | #ifndef HBAO_BLURY_FRAG_INCLUDED 2 | #define HBAO_BLURY_FRAG_INCLUDED 3 | 4 | #include "HBAO_Blur.cginc" 5 | 6 | half4 frag (v2f i) : SV_Target { 7 | return ComputeBlur(i.uv, float2(0, (_ScreenParams.w - 1.0))); 8 | } 9 | 10 | #endif // HBAO_BLURY_FRAG_INCLUDED 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_BlurY_frag.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 855bdece234de5d46b7189bb2a2ff022 3 | timeCreated: 1453545353 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_Deferred.cginc: -------------------------------------------------------------------------------- 1 | #ifndef HBAO_DEFERRED_INCLUDED 2 | #define HBAO_DEFERRED_INCLUDED 3 | 4 | struct CombinerOutput { 5 | half4 gbuffer0 : COLOR0; // albedo (RGB), occlusion (A) 6 | half4 gbuffer3 : COLOR1; // emission (RGB), unused(A) 7 | }; 8 | 9 | CombinerOutput frag(v2f i) { 10 | half4 occ = FetchOcclusion(i.uv2); 11 | half3 ao = lerp(_BaseColor.rgb, half3(1.0, 1.0, 1.0), occ.a); 12 | 13 | CombinerOutput o; 14 | #if UNITY_SINGLE_PASS_STEREO 15 | float2 uv = UnityStereoTransformScreenSpaceTex(i.uv2); 16 | o.gbuffer0 = tex2D(_rt0Tex, uv); 17 | o.gbuffer3 = tex2D(_rt3Tex, uv); 18 | #else 19 | o.gbuffer0 = tex2D(_rt0Tex, i.uv2); 20 | o.gbuffer3 = tex2D(_rt3Tex, i.uv2); 21 | #endif 22 | o.gbuffer0.a *= occ.a; 23 | o.gbuffer3.rgb = -log2(o.gbuffer3.rgb); 24 | half emission = saturate((o.gbuffer3.r + o.gbuffer3.g + o.gbuffer3.b) / 3); 25 | o.gbuffer3.rgb *= lerp(ao, half3(1.0, 1.0, 1.0), emission); 26 | #if COLOR_BLEEDING_ON 27 | o.gbuffer3.rgb += 1 - occ.rgb; 28 | #endif 29 | o.gbuffer3.rgb = exp2(-o.gbuffer3.rgb); 30 | 31 | return o; 32 | } 33 | 34 | CombinerOutput frag_blend(v2f i) { 35 | half4 occ = FetchOcclusion(i.uv2); 36 | half3 ao = lerp(_BaseColor.rgb, half3(1.0, 1.0, 1.0), occ.a); 37 | 38 | #if UNITY_SINGLE_PASS_STEREO 39 | float2 uv = UnityStereoTransformScreenSpaceTex(i.uv2); 40 | half3 rt3 = tex2D(_rt3Tex, uv); 41 | #else 42 | half3 rt3 = tex2D(_rt3Tex, i.uv2); 43 | #endif 44 | CombinerOutput o; 45 | o.gbuffer0 = half4(1.0, 1.0, 1.0, occ.a); 46 | half emission = saturate((rt3.x + rt3.y + rt3.z) / 3); 47 | o.gbuffer3 = half4(lerp(ao, half3(1.0, 1.0, 1.0), emission), 0); 48 | 49 | return o; 50 | } 51 | 52 | #endif // HBAO_DEFERRED_INCLUDED 53 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_Deferred.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18caa1b284e6f2545b792056eb1433f9 3 | timeCreated: 1478860483 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_DeinterleaveDepth_frag.cginc: -------------------------------------------------------------------------------- 1 | #ifndef HBAO_DEINTERLEAVEDEPTH_FRAG_INCLUDED 2 | #define HBAO_DEINTERLEAVEDEPTH_FRAG_INCLUDED 3 | 4 | DeinterleavedOutput frag(v2f i) { 5 | DeinterleavedOutput o; 6 | 7 | float2 pos = floor(i.uv2 * _LayerRes_TexelSize.zw) * DOWNSCALING_FACTOR; 8 | float2 uv00 = (pos + _Deinterleaving_Offset00 + 0.5) * _FullRes_TexelSize.xy * _TargetScale.xy; 9 | float2 uv10 = (pos + _Deinterleaving_Offset10 + 0.5) * _FullRes_TexelSize.xy * _TargetScale.xy; 10 | float2 uv01 = (pos + _Deinterleaving_Offset01 + 0.5) * _FullRes_TexelSize.xy * _TargetScale.xy; 11 | float2 uv11 = (pos + _Deinterleaving_Offset11 + 0.5) * _FullRes_TexelSize.xy * _TargetScale.xy; 12 | 13 | #if ORTHOGRAPHIC_PROJECTION_ON 14 | float z00 = SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, uv00); 15 | float z10 = SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, uv10); 16 | float z01 = SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, uv01); 17 | float z11 = SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, uv11); 18 | #if defined(UNITY_REVERSED_Z) 19 | z00 = 1 - z00; 20 | z10 = 1 - z10; 21 | z01 = 1 - z01; 22 | z11 = 1 - z11; 23 | #endif // UNITY_REVERSED_Z 24 | o.Z00 = _ProjectionParams.y + z00 * (_ProjectionParams.z - _ProjectionParams.y); 25 | o.Z10 = _ProjectionParams.y + z10 * (_ProjectionParams.z - _ProjectionParams.y); 26 | o.Z01 = _ProjectionParams.y + z01 * (_ProjectionParams.z - _ProjectionParams.y); 27 | o.Z11 = _ProjectionParams.y + z11 * (_ProjectionParams.z - _ProjectionParams.y); 28 | #else 29 | o.Z00 = DECODE_EYEDEPTH(SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, uv00)).rrrr; 30 | o.Z10 = DECODE_EYEDEPTH(SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, uv10)).rrrr; 31 | o.Z01 = DECODE_EYEDEPTH(SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, uv01)).rrrr; 32 | o.Z11 = DECODE_EYEDEPTH(SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, uv11)).rrrr; 33 | #endif 34 | return o; 35 | } 36 | 37 | #endif // HBAO_DEINTERLEAVEDEPTH_FRAG_INCLUDED 38 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_DeinterleaveDepth_frag.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87df896bfe60ae541ae6565690473297 3 | timeCreated: 1467102228 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_DeinterleaveNormals_frag.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0936dc9bc854b3408b2f29c82918317 3 | timeCreated: 1467102228 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_Integrated.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a7397ca1c743b8409abab3fa32c5417 3 | timeCreated: 1478860356 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_Reinterleave_frag.cginc: -------------------------------------------------------------------------------- 1 | #ifndef HBAO_REINTERLEAVE_FRAG_INCLUDED 2 | #define HBAO_REINTERLEAVE_FRAG_INCLUDED 3 | 4 | half4 frag(v2f i) : SV_Target { 5 | float2 offset = fmod(floor(i.uv2 * _FullRes_TexelSize.zw), DOWNSCALING_FACTOR); 6 | float2 uv = (floor(i.uv2 * _LayerRes_TexelSize.zw) + (offset * _LayerRes_TexelSize.zw) + 0.5) * _FullRes_TexelSize.xy; 7 | return tex2Dlod(_MainTex, float4(uv, 0, 0)); 8 | } 9 | 10 | #endif // HBAO_REINTERLEAVE_FRAG_INCLUDED 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_Reinterleave_frag.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a7b4d7c61971fc49913d82cab405c92 3 | timeCreated: 1467102228 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_frag.cginc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_frag.cginc -------------------------------------------------------------------------------- /Unity/test/Assets/Horizon Based Ambient Occlusion/Shaders/HBAO_frag.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3950d41b19799804b90d3015e46ce977 3 | timeCreated: 1453402156 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/MYHBAO.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fade36f07d113440ab4ec0fc577bad2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/MYHBAO/MyHBAO.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3222d15fd11886b43a8f19e720ec767d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/MYHBAO/myhbao.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/myhbao" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Texture", 2D) = "white" {} 6 | } 7 | SubShader 8 | { 9 | Tags { "RenderType"="Opaque" } 10 | LOD 100 11 | 12 | Pass 13 | { 14 | CGPROGRAM 15 | #pragma vertex vert 16 | #pragma fragment frag 17 | // make fog work 18 | #pragma multi_compile_fog 19 | 20 | #include "UnityCG.cginc" 21 | 22 | struct appdata 23 | { 24 | float4 vertex : POSITION; 25 | float2 uv : TEXCOORD0; 26 | }; 27 | 28 | struct v2f 29 | { 30 | float2 uv : TEXCOORD0; 31 | UNITY_FOG_COORDS(1) 32 | float4 vertex : SV_POSITION; 33 | }; 34 | 35 | sampler2D _MainTex; 36 | float4 _MainTex_ST; 37 | 38 | v2f vert (appdata v) 39 | { 40 | v2f o; 41 | o.vertex = UnityObjectToClipPos(v.vertex); 42 | o.uv = TRANSFORM_TEX(v.uv, _MainTex); 43 | UNITY_TRANSFER_FOG(o,o.vertex); 44 | return o; 45 | } 46 | 47 | fixed4 frag (v2f i) : SV_Target 48 | { 49 | // sample the texture 50 | fixed4 col = tex2D(_MainTex, i.uv); 51 | // apply fog 52 | UNITY_APPLY_FOG(i.fogCoord, col); 53 | return col; 54 | } 55 | ENDCG 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Unity/test/Assets/MYHBAO/myhbao.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 696787b3c3900eb4b82dd5f3ea53edff 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46b5d750c6faaad4c87953f50d184985 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46ce73c8cee9feb4ab9df3344bbeb54a 3 | folderAsset: yes 4 | timeCreated: 1503670011 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Editor/NNAOEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 764b0d744f4d79c4f9ed2c078ab0e280 3 | timeCreated: 1503670020 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b526c7b0420c7b44bb5f8d945fb0bcfe 3 | folderAsset: yes 4 | timeCreated: 1503488110 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Scripts/NNAO.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d33695da3ae27345af2cd843456cd83 3 | timeCreated: 1503496797 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - shader: {fileID: 4800000, guid: 5144feb4bb1a6da498eac90abe523094, type: 3} 9 | - blurShader: {fileID: 4800000, guid: 0802a9b2d3c413e4ba8dfba846d5c563, type: 3} 10 | - combineShader: {fileID: 4800000, guid: 1a3a8a198fdd6a94699a3918df7e5dcc, type: 3} 11 | - quadMesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} 12 | - f0Texture: {fileID: 2800000, guid: 668e7116d0e91a8438450d33fb3bdd63, type: 3} 13 | - f1Texture: {fileID: 2800000, guid: 51814e5341cbe7b438818ecf00047219, type: 3} 14 | - f2Texture: {fileID: 2800000, guid: f404b60aff510834e80c80ece44b1d57, type: 3} 15 | - f3Texture: {fileID: 2800000, guid: ab1d3b45f86fa3b4b857cc00fd870669, type: 3} 16 | executionOrder: 0 17 | icon: {instanceID: 0} 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3f15433d3571424182fc25e408bb0b3 3 | folderAsset: yes 4 | timeCreated: 1503488171 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Shaders/NNAO.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5144feb4bb1a6da498eac90abe523094 3 | timeCreated: 1503488268 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Shaders/NNAOBlur.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cfc9dc14f2f9fb4688838ebdb13140a 3 | timeCreated: 1503665870 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Shaders/NNAOCombine.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9c570c72c57b5544a24ca5595e47096 3 | timeCreated: 1503668804 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Shaders/NNAOCore.cginc: -------------------------------------------------------------------------------- 1 | #define SOURCE_GBUFFER 2 | 3 | sampler2D _CameraGBufferTexture2; 4 | sampler2D _CameraGBufferTexture3; 5 | sampler2D _CameraDepthTexture; 6 | sampler2D _LastCameraDepthTexture; 7 | sampler2D _CameraDepthNormalsTexture; 8 | sampler2D _LastOcclusionTexture; 9 | 10 | float3 ReconstructViewPosition(float2 uv, float depth) 11 | { 12 | const float2 p11_22 = float2(unity_CameraProjection._11, unity_CameraProjection._22); 13 | const float2 p13_31 = float2(unity_CameraProjection._13, unity_CameraProjection._23); 14 | return float3((uv * 2 - 1 - p13_31) / p11_22 * depth, depth); 15 | } 16 | 17 | void SampleDepthNormal(float2 uv,out float3 normal,out float depth) 18 | { 19 | #if defined(SOURCE_GBUFFER) 20 | normal = tex2D(_CameraGBufferTexture2, uv).xyz; 21 | normal = normal * 2 - any(normal); // gets (0,0,0) when norm == 0 22 | normal = mul((float3x3)unity_WorldToCamera, normal); 23 | depth = LinearEyeDepth (SAMPLE_DEPTH_TEXTURE(_LastCameraDepthTexture, uv)); 24 | #else 25 | float4 cdn = tex2D(_CameraDepthNormalsTexture, uv); 26 | normal = DecodeViewNormalStereo(cdn) * float3(1, 1, -1); 27 | 28 | depth = DecodeFloatRG(cdn.zw) * _ProjectionParams.z; 29 | // Offset the depth value to avoid precision error. 30 | // (depth in the DepthNormals mode has only 16-bit precision) 31 | depth -= _ProjectionParams.z / 65536; 32 | #endif 33 | } 34 | 35 | v2f_img baseVert (appdata_img v) 36 | { 37 | v2f_img o; 38 | o.pos = UnityObjectToClipPos(v.vertex); 39 | o.uv = v.texcoord; 40 | o.uv = TransformStereoScreenSpaceTex(o.uv, 1); 41 | return o; 42 | } -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Shaders/NNAOCore.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 966da05c7f4aca5478ca19d94354a8d6 3 | timeCreated: 1503665462 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Shaders/NNAOTemporal.cginc: -------------------------------------------------------------------------------- 1 | sampler2D _MainTex; 2 | sampler2D _LastOcclusionTexture; 3 | sampler2D_half _CameraMotionVectorsTexture; 4 | sampler2D_half _LastMotionVectors; 5 | 6 | v2f_img vert (appdata_img v) 7 | { 8 | v2f_img o; 9 | o.pos = UnityObjectToClipPos(v.vertex); 10 | o.uv = v.texcoord; 11 | o.uv = TransformStereoScreenSpaceTex(o.uv, 1); 12 | return o; 13 | } 14 | 15 | half4 temporalFrag(v2f_img i) : Color 16 | { 17 | half4 col = tex2D( _MainTex, i.uv); 18 | half ao = col.r; 19 | 20 | float3 dir = tex2D(_LastMotionVectors,i.uv).rgb; 21 | float lastAo = tex2D(_LastOcclusionTexture,i.uv - dir.xy).r; 22 | float blendFactor = length(dir) * 40; 23 | blendFactor += abs(lastAo - ao) * 2; 24 | blendFactor = clamp(blendFactor,unity_DeltaTime.x,1); 25 | ao = lerp(lastAo,ao,blendFactor); 26 | 27 | return half4(ao,col.gba); 28 | } 29 | 30 | half4 copyMotionVectorsFrag(v2f_img i) : Color 31 | { 32 | return tex2D(_CameraMotionVectorsTexture,i.uv); 33 | } -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Shaders/NNAOTemporal.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0c7fb20ed263804fbacbfc789ee2cdd 3 | timeCreated: 1503666447 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72ac56cbe8b3c324aa0fc88a32e2cafa 3 | folderAsset: yes 4 | timeCreated: 1503488115 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Textures/nnao_f0.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNAO/Textures/nnao_f0.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Textures/nnao_f1.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNAO/Textures/nnao_f1.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Textures/nnao_f2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNAO/Textures/nnao_f2.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNAO/Textures/nnao_f3.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNAO/Textures/nnao_f3.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40feb7819869e814f84900ebeddb57ad 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a547f5c2573077147b27cf9d1071579f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8050364d3f0682749a529dbf3cf5ee2e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/BroadleafBark.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/BroadleafBark.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/BroadleafBark.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c1c27ec8c3b75a4c80a795adc9ca788 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: -1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/BroadleafBark_Normal.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/BroadleafBark_Normal.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/BroadleafBark_Normal.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34f07406286974e4ca236867d8d58b51 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 1 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 1 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d2a4cf4598e80f48a3b902218fb54d1 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/Billboard.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Billboard 10 | m_Shader: {fileID: 14001, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: EFFECT_BUMP EFFECT_HUE_VARIATION 12 | m_LightmapFlags: 5 13 | m_EnableInstancingVariants: 0 14 | m_CustomRenderQueue: -1 15 | stringTagMap: {} 16 | disabledShaderPasses: [] 17 | m_SavedProperties: 18 | serializedVersion: 3 19 | m_TexEnvs: 20 | - _BumpMap: 21 | m_Texture: {fileID: 2800000, guid: c9de3ae2361df6c469caeb2024321cbf, type: 3} 22 | m_Scale: {x: 1, y: 1} 23 | m_Offset: {x: 0, y: 0} 24 | - _MainTex: 25 | m_Texture: {fileID: 2800000, guid: bc6e7e1374ff3e1459f65bf72da64c85, type: 3} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | m_Floats: 29 | - _Cutoff: 0.33 30 | - _WindQuality: 1 31 | m_Colors: 32 | - _Color: {r: 1, g: 1, b: 1, a: 1} 33 | - _HueVariation: {r: 1, g: 0.5, b: 0, a: 0.1} 34 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/Billboard.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c1755df5f552e843b9f8485f72e71f8 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD0.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f420aff58dc8992489809a07ff0b3889 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD0/Branches_0.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Branches_0 10 | m_Shader: {fileID: 14000, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: EFFECT_BUMP EFFECT_HUE_VARIATION GEOM_TYPE_BRANCH 12 | m_LightmapFlags: 5 13 | m_EnableInstancingVariants: 1 14 | m_CustomRenderQueue: -1 15 | stringTagMap: {} 16 | disabledShaderPasses: [] 17 | m_SavedProperties: 18 | serializedVersion: 3 19 | m_TexEnvs: 20 | - _BumpMap: 21 | m_Texture: {fileID: 2800000, guid: 34f07406286974e4ca236867d8d58b51, type: 3} 22 | m_Scale: {x: 1, y: 1} 23 | m_Offset: {x: 0, y: 0} 24 | - _DetailTex: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | - _MainTex: 29 | m_Texture: {fileID: 2800000, guid: 2c1c27ec8c3b75a4c80a795adc9ca788, type: 3} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | m_Floats: 33 | - _Cull: 2 34 | - _Cutoff: 0.33 35 | - _WindQuality: 4 36 | m_Colors: 37 | - _Color: {r: 1, g: 1, b: 1, a: 1} 38 | - _HueVariation: {r: 1, g: 0.5, b: 0, a: 0.1} 39 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD0/Branches_0.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bfc1dabf45016eb46b99df1a78054924 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD0/Leaves_1.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Leaves_1 10 | m_Shader: {fileID: 14000, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: EFFECT_BUMP EFFECT_HUE_VARIATION GEOM_TYPE_LEAF 12 | m_LightmapFlags: 5 13 | m_EnableInstancingVariants: 1 14 | m_CustomRenderQueue: -1 15 | stringTagMap: {} 16 | disabledShaderPasses: [] 17 | m_SavedProperties: 18 | serializedVersion: 3 19 | m_TexEnvs: 20 | - _BumpMap: 21 | m_Texture: {fileID: 2800000, guid: be053ea3235ccb64a889bf0b15c2764b, type: 3} 22 | m_Scale: {x: 1, y: 1} 23 | m_Offset: {x: 0, y: 0} 24 | - _DetailTex: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | - _MainTex: 29 | m_Texture: {fileID: 2800000, guid: 2c116325e19b8a04d916864cc540ec2d, type: 3} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | m_Floats: 33 | - _Cull: 0 34 | - _Cutoff: 0.33 35 | - _WindQuality: 4 36 | m_Colors: 37 | - _Color: {r: 1, g: 1, b: 1, a: 1} 38 | - _HueVariation: {r: 1, g: 0.5, b: 0, a: 0.1} 39 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD0/Leaves_1.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c3b3265bf0f7e547a1ada8555f850a5 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD1.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f43b0d85aede78949b2f8fa931a218a4 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD1/Branches_0.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Branches_0 10 | m_Shader: {fileID: 14000, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: EFFECT_BUMP EFFECT_HUE_VARIATION GEOM_TYPE_BRANCH 12 | m_LightmapFlags: 5 13 | m_EnableInstancingVariants: 1 14 | m_CustomRenderQueue: -1 15 | stringTagMap: {} 16 | disabledShaderPasses: [] 17 | m_SavedProperties: 18 | serializedVersion: 3 19 | m_TexEnvs: 20 | - _BumpMap: 21 | m_Texture: {fileID: 2800000, guid: 34f07406286974e4ca236867d8d58b51, type: 3} 22 | m_Scale: {x: 1, y: 1} 23 | m_Offset: {x: 0, y: 0} 24 | - _DetailTex: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | - _MainTex: 29 | m_Texture: {fileID: 2800000, guid: 2c1c27ec8c3b75a4c80a795adc9ca788, type: 3} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | m_Floats: 33 | - _Cull: 2 34 | - _Cutoff: 0.33 35 | - _WindQuality: 4 36 | m_Colors: 37 | - _Color: {r: 1, g: 1, b: 1, a: 1} 38 | - _HueVariation: {r: 1, g: 0.5, b: 0, a: 0.1} 39 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD1/Branches_0.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1092dd21af768cb499771bf88709dbbd 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD1/Leaves_1.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Leaves_1 10 | m_Shader: {fileID: 14000, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: EFFECT_BUMP EFFECT_HUE_VARIATION GEOM_TYPE_LEAF 12 | m_LightmapFlags: 5 13 | m_EnableInstancingVariants: 1 14 | m_CustomRenderQueue: -1 15 | stringTagMap: {} 16 | disabledShaderPasses: [] 17 | m_SavedProperties: 18 | serializedVersion: 3 19 | m_TexEnvs: 20 | - _BumpMap: 21 | m_Texture: {fileID: 2800000, guid: be053ea3235ccb64a889bf0b15c2764b, type: 3} 22 | m_Scale: {x: 1, y: 1} 23 | m_Offset: {x: 0, y: 0} 24 | - _DetailTex: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | - _MainTex: 29 | m_Texture: {fileID: 2800000, guid: 2c116325e19b8a04d916864cc540ec2d, type: 3} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | m_Floats: 33 | - _Cull: 0 34 | - _Cutoff: 0.33 35 | - _WindQuality: 4 36 | m_Colors: 37 | - _Color: {r: 1, g: 1, b: 1, a: 1} 38 | - _HueVariation: {r: 1, g: 0.5, b: 0, a: 0.1} 39 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD1/Leaves_1.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a940b48d553d9c74f9ca0a3b4cf74336 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD2.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c0b1e62b5409f6468554bb2f297badc 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD2/Branches_0.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Branches_0 10 | m_Shader: {fileID: 14000, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: EFFECT_BUMP EFFECT_HUE_VARIATION GEOM_TYPE_BRANCH 12 | m_LightmapFlags: 5 13 | m_EnableInstancingVariants: 1 14 | m_CustomRenderQueue: -1 15 | stringTagMap: {} 16 | disabledShaderPasses: [] 17 | m_SavedProperties: 18 | serializedVersion: 3 19 | m_TexEnvs: 20 | - _BumpMap: 21 | m_Texture: {fileID: 2800000, guid: 34f07406286974e4ca236867d8d58b51, type: 3} 22 | m_Scale: {x: 1, y: 1} 23 | m_Offset: {x: 0, y: 0} 24 | - _DetailTex: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | - _MainTex: 29 | m_Texture: {fileID: 2800000, guid: 2c1c27ec8c3b75a4c80a795adc9ca788, type: 3} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | m_Floats: 33 | - _Cull: 2 34 | - _Cutoff: 0.33 35 | - _WindQuality: 4 36 | m_Colors: 37 | - _Color: {r: 1, g: 1, b: 1, a: 1} 38 | - _HueVariation: {r: 1, g: 0.5, b: 0, a: 0.1} 39 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD2/Branches_0.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd764ab8662bea6468202df8741bcfd3 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD2/Leaves_1.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Leaves_1 10 | m_Shader: {fileID: 14000, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: EFFECT_BUMP EFFECT_HUE_VARIATION GEOM_TYPE_LEAF 12 | m_LightmapFlags: 5 13 | m_EnableInstancingVariants: 1 14 | m_CustomRenderQueue: -1 15 | stringTagMap: {} 16 | disabledShaderPasses: [] 17 | m_SavedProperties: 18 | serializedVersion: 3 19 | m_TexEnvs: 20 | - _BumpMap: 21 | m_Texture: {fileID: 2800000, guid: be053ea3235ccb64a889bf0b15c2764b, type: 3} 22 | m_Scale: {x: 1, y: 1} 23 | m_Offset: {x: 0, y: 0} 24 | - _DetailTex: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | - _MainTex: 29 | m_Texture: {fileID: 2800000, guid: 2c116325e19b8a04d916864cc540ec2d, type: 3} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | m_Floats: 33 | - _Cull: 0 34 | - _Cutoff: 0.33 35 | - _WindQuality: 4 36 | m_Colors: 37 | - _Color: {r: 1, g: 1, b: 1, a: 1} 38 | - _HueVariation: {r: 1, g: 0.5, b: 0, a: 0.1} 39 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile Materials/LOD2/Leaves_1.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f568ca8b20ae095418f3e2a3b341d8f6 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile.spm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile.spm -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile.spm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6aab193b7693b5e4c9741f1917d2987c 3 | SpeedTreeImporter: 4 | serializedVersion: 4 5 | mainColor: {r: 1, g: 1, b: 1, a: 1} 6 | hueVariation: {r: 1, g: 0.5, b: 0, a: 0.1} 7 | alphaTestRef: 0.33 8 | bestWindQuality: 4 9 | hasBillboard: 1 10 | lODSettings: 11 | - height: 0.5 12 | castShadows: 1 13 | receiveShadows: 1 14 | useLightProbes: 1 15 | reflectionProbeUsage: 1 16 | enableBump: 1 17 | enableHue: 1 18 | windQuality: 4 19 | - height: 0.25 20 | castShadows: 1 21 | receiveShadows: 1 22 | useLightProbes: 1 23 | reflectionProbeUsage: 1 24 | enableBump: 1 25 | enableHue: 1 26 | windQuality: 4 27 | - height: 0.125 28 | castShadows: 1 29 | receiveShadows: 1 30 | useLightProbes: 1 31 | reflectionProbeUsage: 1 32 | enableBump: 1 33 | enableHue: 1 34 | windQuality: 4 35 | - height: 0.01 36 | castShadows: 0 37 | receiveShadows: 0 38 | useLightProbes: 0 39 | reflectionProbeUsage: 0 40 | enableBump: 1 41 | enableHue: 1 42 | windQuality: 1 43 | enableSmoothLODTransition: 1 44 | animateCrossFading: 1 45 | billboardTransitionCrossFadeWidth: 0.25 46 | fadeOutWidth: 0.25 47 | scaleFactor: 0.3048 48 | materialVersion: 3 49 | userData: 50 | assetBundleName: 51 | assetBundleVariant: 52 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c116325e19b8a04d916864cc540ec2d 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: -1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas_Billboards.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas_Billboards.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas_Billboards.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc6e7e1374ff3e1459f65bf72da64c85 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: -1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas_Billboards_Normal.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas_Billboards_Normal.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas_Billboards_Normal.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9de3ae2361df6c469caeb2024321cbf 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 1 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 1 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas_Normal.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas_Normal.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Broadleaf_Mobile_Atlas_Normal.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be053ea3235ccb64a889bf0b15c2764b 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 1 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 1 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/CliffAlbedoSpecular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/CliffAlbedoSpecular.png -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/GrassFrond01AlbedoAlpha.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/GrassFrond01AlbedoAlpha.tga -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/GrassHillAlbedo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/GrassHillAlbedo.png -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/GrassRockyAlbedo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/GrassRockyAlbedo.png -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/Skybox.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0aacc24912965144b8097a116c89b46d 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/terrain.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/DemoScene/Arts/terrain.asset -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Arts/terrain.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 469206f46482fec4e804eedd50edc40b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 15600000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/DemoScene/Scene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99c9720ab356a0642a771bea13969a05 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/NNPostProcessing/Documentation.pdf -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Documentation.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d0afd218605ee8468ddee6399f9638e 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70db85e0f7fd23f4ba528ddfa234b6c9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Resources/Model.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a5168a864d592a43a1ef40549d13334 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Resources/Model/model - 副本 (2).json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c33ae1aabdf07ae4ab5f5b91b6d7999c 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Resources/Model/model.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e28327c04835f8d4eb19acf2ad3527a9 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Resources/Model/model_4.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c776bf187302f649a5d769e4938d7da 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Resources/Model/model_8.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3e93e6f20079d245907bba87f7e5c4e 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Resources/Model/starry_night.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60c2974e49eaa1949b5784ca6e3acade 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Resources/NNLayer.compute.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ba954e2ba57b3644b953c07c368a269 3 | ComputeShaderImporter: 4 | externalObjects: {} 5 | currentAPIMask: 4 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 825335dafd4c1644a85bf2028904cf14 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNCompute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 472dad641becf7e4f8564da80a76455b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayerBase.cs: -------------------------------------------------------------------------------- 1 | // neural network post-processing 2 | 3 | using UnityEngine; 4 | using UnityEngine.Rendering; 5 | 6 | namespace NNPP 7 | { 8 | [System.Serializable] 9 | public class NNLayerBase 10 | { 11 | public string Name; 12 | public Vector3Int InputShape; 13 | public Vector3Int OutputShape; 14 | public Vector4 WeightShape; 15 | public object Output; 16 | protected int KernelId; 17 | public NNLayerBase() 18 | { 19 | } 20 | 21 | /*public virtual void LoadWeight(KerasLayerWeightJson[] weights) 22 | { 23 | 24 | }*/ 25 | 26 | public virtual void Run(object[] input) 27 | { 28 | Output = input[0]; 29 | } 30 | 31 | public virtual void Init(Vector3Int inputShape) 32 | { 33 | InputShape = inputShape; 34 | OutputShape = inputShape; 35 | } 36 | 37 | public virtual void Release() 38 | { 39 | } 40 | 41 | public virtual void FromCache() 42 | { 43 | 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayerBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46ac9d5d60296bd4b98b3ecd01b71497 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b8a991f659ba2441ac577024923f9b4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/Add.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2152f2d908f1aa44986c0fd25b33d7e5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/AvgPooling2D.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d73e52744a7b5d144a7b2bbcfef5d979 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/BatchNormalization.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57eb890681fa92e40b4b9046463522f6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/CSDN.cs: -------------------------------------------------------------------------------- 1 | // neural network post-processing 2 | 3 | using System.Collections; 4 | using System.Collections.Generic; 5 | using UnityEngine; 6 | using UnityEngine.Rendering; 7 | 8 | [RequireComponent(typeof(Camera))] 9 | public class CSDN : MonoBehaviour 10 | { 11 | private ComputeShader shader; 12 | private Material mMat; 13 | 14 | int k; 15 | RenderTexture t; 16 | void Start() 17 | { 18 | GetComponent().depthTextureMode = DepthTextureMode.Depth 19 | | DepthTextureMode.DepthNormals; 20 | shader = Resources.Load("NNLayer"); 21 | k = shader.FindKernel("CSMain"); 22 | 23 | } 24 | 25 | 26 | void OnRenderImage(RenderTexture src, RenderTexture dst) 27 | { 28 | if (mMat == null) 29 | { 30 | mMat = new Material(Shader.Find("Hidden/ReadDepth")); 31 | mMat.hideFlags = HideFlags.DontSave; 32 | } 33 | 34 | int width = src.width; 35 | int height = src.height; 36 | var format = RenderTextureFormat.ARGB32; 37 | var rwMode = RenderTextureReadWrite.Linear; 38 | 39 | var rtMask = RenderTexture.GetTemporary(width, height, 0, format, rwMode); 40 | Graphics.Blit(src, rtMask, mMat); 41 | 42 | t = new RenderTexture(width, height, 24); 43 | t.enableRandomWrite = true; 44 | t.Create(); 45 | 46 | shader.SetTexture(k, "inputTexture", rtMask); 47 | shader.SetTexture(k, "Result", t); 48 | shader.Dispatch(k, src.width/16, src.height/16, 1); 49 | Graphics.Blit(t, dst); 50 | t.Release(); 51 | 52 | RenderTexture.ReleaseTemporary(rtMask); 53 | } 54 | 55 | } -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/CSDN.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 975d05367450cb0448b4c7a08b866b32 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/Concatenate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ce309245fdd23c4e9540e6ffbe7f621 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/Conv2D.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d5a9002d5bf87544a04bf44994a8e6c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/ConvBlock.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14cc76dab1faa904eb5eaff59e73ee5f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/DebugLayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 228eb935d217ee94b82459ca874bf3ea 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/InputLayer.cs: -------------------------------------------------------------------------------- 1 | // neural network post-processing 2 | 3 | using System.Collections; 4 | using System.Collections.Generic; 5 | using UnityEngine; 6 | using UnityEngine.Rendering; 7 | 8 | namespace NNPP 9 | { 10 | public class InputLayer : NNLayerBase 11 | { 12 | private ComputeBuffer outputbuffer; 13 | public int InputChannels; 14 | public RenderTexture src; 15 | public InputLayer() : base() 16 | { 17 | KernelId = NNCompute.Instance.Kernel("InputLayer"); 18 | } 19 | 20 | public override void Init(Vector3Int inputShape) 21 | { 22 | base.Init(inputShape); 23 | if (outputbuffer != null) 24 | outputbuffer.Release(); 25 | outputbuffer = new ComputeBuffer(OutputShape.x * OutputShape.y * OutputShape.z, sizeof(float)); 26 | Output = outputbuffer; 27 | } 28 | 29 | public override void Run(object[] input) 30 | { 31 | NNCompute.Instance.Shader.SetTexture(KernelId, "InputImage", src); 32 | NNCompute.Instance.Shader.SetBuffer(KernelId, "LayerOutput", outputbuffer); 33 | NNCompute.Instance.Shader.SetInts("InputShape", new int[3] 34 | { 35 | InputShape.x, 36 | InputShape.y, 37 | InputShape.z 38 | }); 39 | NNCompute.Instance.Shader.SetInts("InputShapeIdMultiplier", new int[3] 40 | { 41 | InputShape.y * InputShape.z, 42 | InputShape.z, 43 | 1 44 | }); 45 | NNCompute.Instance.Shader.Dispatch(KernelId, Mathf.CeilToInt(InputShape.x / 8.0f), Mathf.CeilToInt(InputShape.y / 8.0f), 1); 46 | } 47 | 48 | public override void Release() 49 | { 50 | if (outputbuffer != null) 51 | outputbuffer.Release(); 52 | } 53 | } 54 | } -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/InputLayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e026548aea883a45a6ad4a45f11bfa7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/LeakyReLU.cs: -------------------------------------------------------------------------------- 1 | // neural network post-processing 2 | 3 | using System.Collections; 4 | using System.Collections.Generic; 5 | using UnityEngine; 6 | using UnityEngine.Rendering; 7 | 8 | namespace NNPP 9 | { 10 | public class LeakyReLU : ReLU 11 | { 12 | public float Alpha; 13 | public LeakyReLU() : base() 14 | { 15 | KernelId = NNCompute.Instance.Kernel("LeakyReLU"); 16 | } 17 | 18 | public override void Init(Vector3Int inputShape) 19 | { 20 | base.Init(inputShape); 21 | if (outputbuffer != null) 22 | outputbuffer.Release(); 23 | outputbuffer = new ComputeBuffer(OutputShape.x * OutputShape.y * OutputShape.z, sizeof(float)); 24 | Output = outputbuffer; 25 | } 26 | 27 | public override void Release() 28 | { 29 | if (outputbuffer != null) 30 | outputbuffer.Release(); 31 | } 32 | 33 | public override void Run(object[] input) 34 | { 35 | NNCompute.Instance.Shader.SetBuffer(KernelId, "LayerInput0", input[0] as ComputeBuffer); 36 | NNCompute.Instance.Shader.SetBuffer(KernelId, "LayerOutput", outputbuffer); 37 | NNCompute.Instance.Shader.SetFloat("Alpha", 0.01f); 38 | NNCompute.Instance.Shader.Dispatch(KernelId, Mathf.CeilToInt(OutputShape.x * OutputShape.y * OutputShape.z / 1024.0f), 1, 1); 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/LeakyReLU.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09c5d394d9cbf764ea4e95354b9b1be5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/MaxPooling2D.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b94d66677846ef48a7f92db6116a775 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/OutputLayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bfc33a23ef2a63146a4dc9fdc3fe5796 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/ReLU.cs: -------------------------------------------------------------------------------- 1 | // neural network post-processing 2 | 3 | using System.Collections; 4 | using System.Collections.Generic; 5 | using UnityEngine; 6 | using UnityEngine.Rendering; 7 | 8 | namespace NNPP 9 | { 10 | public class ReLU : NNLayerBase 11 | { 12 | protected ComputeBuffer outputbuffer; 13 | public ReLU() : base() 14 | { 15 | KernelId = NNCompute.Instance.Kernel("ReLU"); 16 | } 17 | 18 | public override void Init(Vector3Int inputShape) 19 | { 20 | base.Init(inputShape); 21 | if (outputbuffer != null) 22 | outputbuffer.Release(); 23 | outputbuffer = new ComputeBuffer(OutputShape.x * OutputShape.y * OutputShape.z, sizeof(float)); 24 | Output = outputbuffer; 25 | } 26 | 27 | public override void Release() 28 | { 29 | if (outputbuffer != null) 30 | outputbuffer.Release(); 31 | } 32 | 33 | public override void Run(object[] input) 34 | { 35 | NNCompute.Instance.Shader.SetBuffer(KernelId, "LayerInput0", input[0] as ComputeBuffer); 36 | NNCompute.Instance.Shader.SetBuffer(KernelId, "LayerOutput", outputbuffer); 37 | NNCompute.Instance.Shader.Dispatch(KernelId, Mathf.CeilToInt(OutputShape.x * OutputShape.y * OutputShape.z / 128.0f), 1, 1); 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/ReLU.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e80f6e5637ec3e46b694698aa2d3e26 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/Tanh.cs: -------------------------------------------------------------------------------- 1 | // neural network post-processing 2 | 3 | using System.Collections; 4 | using System.Collections.Generic; 5 | using UnityEngine; 6 | using UnityEngine.Rendering; 7 | 8 | namespace NNPP 9 | { 10 | public class Tanh : NNLayerBase 11 | { 12 | private ComputeBuffer outputbuffer; 13 | public Tanh() : base() 14 | { 15 | KernelId = NNCompute.Instance.Kernel("Tanh"); 16 | } 17 | 18 | public override void Init(Vector3Int inputShape) 19 | { 20 | base.Init(inputShape); 21 | if (outputbuffer != null) 22 | outputbuffer.Release(); 23 | outputbuffer = new ComputeBuffer(OutputShape.x * OutputShape.y * OutputShape.z, sizeof(float)); 24 | Output = outputbuffer; 25 | } 26 | 27 | public override void Release() 28 | { 29 | if (outputbuffer != null) 30 | outputbuffer.Release(); 31 | } 32 | 33 | public override void Run(object[] input) 34 | { 35 | NNCompute.Instance.Shader.SetBuffer(KernelId, "LayerInput0", input[0] as ComputeBuffer); 36 | NNCompute.Instance.Shader.SetBuffer(KernelId, "LayerOutput", outputbuffer); 37 | NNCompute.Instance.Shader.Dispatch(KernelId, Mathf.CeilToInt(OutputShape.x * OutputShape.y * OutputShape.z / 32.0f), 1, 1); 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/Tanh.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6564cf44fd84a5349ad86352d5f03edf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/UpSampling2D.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5099380f95fc2c44bce351b7c8821c8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/upAndCat.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Assets.NNPostProcessing.Scripts.NNLayers 8 | { 9 | class upAndCat 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNLayers/upAndCat.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15e5ac85726ec184fa796dbeb88b69e5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47e291716b0d4044fbc9fdd904a3f3fe 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNModelSerialize.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | public class NNModelSerialize 7 | { 8 | public List LayerTypes; 9 | public List LayerJson; 10 | 11 | public NNModelSerialize() 12 | { 13 | LayerTypes = new List(); 14 | LayerJson = new List(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNModelSerialize.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83dd8e570301ed6418340a7bbcbc3b0e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/NNPostProcessingEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e417fb013ae2d944a0ee5615c07bcaf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/NNPostProcessing/Scripts/SimpleCharacterController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81c9795a96c094f4cbde4d65546aa9b2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/New Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 220f4aefaf6b33643a0767195169d53e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/ReadNormalAndDepth/GetInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1afde2111fa64ce4baf2f8c5a3752268 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/ReadNormalAndDepth/GetInput.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 747ce91187c0b7e43984bf59717ae979 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/ReadNormalAndDepth/ReadDepth.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a96b5bfb9714a647bdd436aafc03394 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Unity/test/Assets/ReadNormalAndDepth/ReadDepth.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a3e6b21db27fcb418621ae049237c4c 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/ReadNormalAndDepth/ReadNormal.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 499676bc66de0f04cb8b2bc3050b4c29 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: 7 | - _nnaoShader: {fileID: 4800000, guid: 8a650ab1213cafd418e42744c15ef9b8, type: 3} 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/ReadNormalAndDepth/ReadNormal.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a650ab1213cafd418e42744c15ef9b8 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc0d4010bbf28b4594072e72b8655ab 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c50ff7e5c8d71041a68c66e07f2eed6 3 | folderAsset: yes 4 | timeCreated: 1531421551 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9d3ce71175443546bc3ac3ff07bf8f7 3 | folderAsset: yes 4 | timeCreated: 1531421551 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 484582f6a70625349be7b7acc12a6499 3 | folderAsset: yes 4 | timeCreated: 1531421552 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a3ef7af67124934db2270b3ec439472 3 | folderAsset: yes 4 | timeCreated: 1531421552 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/Resources/script_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/Resources/script_icon.png -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/Resources/script_icon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c883ff3e0a797fe4aa41ad44988ffb71 3 | timeCreated: 1531421569 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 4 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 1 12 | sRGBTexture: 1 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -1 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 49 | spritePixelsToUnits: 100 50 | alphaUsage: 1 51 | alphaIsTransparency: 0 52 | spriteTessellationDetail: -1 53 | textureType: 0 54 | textureShape: 1 55 | maxTextureSizeSet: 0 56 | compressionQualitySet: 0 57 | textureFormatSet: 0 58 | platformSettings: 59 | - buildTarget: DefaultTexturePlatform 60 | maxTextureSize: 2048 61 | resizeAlgorithm: 0 62 | textureFormat: -1 63 | textureCompression: 1 64 | compressionQuality: 50 65 | crunchedCompression: 0 66 | allowsAlphaSplitting: 0 67 | overridden: 0 68 | spriteSheet: 69 | serializedVersion: 2 70 | sprites: [] 71 | outline: [] 72 | physicsShape: [] 73 | spritePackingTag: 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/Resources/watermark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/Resources/watermark.png -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/Resources/watermark.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5a9c448836858b4a8eda8bf059a929a 3 | timeCreated: 1531421569 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | externalObjects: {} 8 | serializedVersion: 4 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 1 12 | sRGBTexture: 1 13 | linearTexture: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapsPreserveCoverage: 0 17 | alphaTestReferenceValue: 0.5 18 | mipMapFadeDistanceStart: 1 19 | mipMapFadeDistanceEnd: 3 20 | bumpmap: 21 | convertToNormalMap: 0 22 | externalNormalMap: 0 23 | heightScale: 0.25 24 | normalMapFilter: 0 25 | isReadable: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -1 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 49 | spritePixelsToUnits: 100 50 | alphaUsage: 1 51 | alphaIsTransparency: 0 52 | spriteTessellationDetail: -1 53 | textureType: 0 54 | textureShape: 1 55 | maxTextureSizeSet: 0 56 | compressionQualitySet: 0 57 | textureFormatSet: 0 58 | platformSettings: 59 | - buildTarget: DefaultTexturePlatform 60 | maxTextureSize: 2048 61 | resizeAlgorithm: 0 62 | textureFormat: -1 63 | textureCompression: 1 64 | compressionQuality: 50 65 | crunchedCompression: 0 66 | allowsAlphaSplitting: 0 67 | overridden: 0 68 | spriteSheet: 69 | serializedVersion: 2 70 | sprites: [] 71 | outline: [] 72 | physicsShape: [] 73 | spritePackingTag: 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/Resources/wilberforce_script_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/Resources/wilberforce_script_icon.png -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/Resources/wilberforce_script_icon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8a37a04efd9f2d46ad76b7365cc0697 3 | timeCreated: 1517947747 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 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: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 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 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/VAOEffectEditor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/VAOEffectEditor.dll -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Editor/VAOEffectEditor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e683a0128ac6e345a970606b632ec23 3 | timeCreated: 1531421558 4 | licenseType: Free 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | Any: 15 | second: 16 | enabled: 0 17 | settings: {} 18 | - first: 19 | Editor: Editor 20 | second: 21 | enabled: 1 22 | settings: 23 | DefaultValueInitialized: true 24 | - first: 25 | Windows Store Apps: WindowsStoreApps 26 | second: 27 | enabled: 0 28 | settings: 29 | CPU: AnyCPU 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f04193a4d7f6bd34eb5818f9463de71f 3 | folderAsset: yes 4 | timeCreated: 1531421552 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Scripts/VAOEffect.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016-2018 Jakub Boksansky - All Rights Reserved 2 | // Volumetric Ambient Occlusion Unity Plugin 2.0 3 | 4 | using UnityEngine; 5 | using UnityEngine.Rendering; 6 | #if UNITY_EDITOR 7 | using UnityEditor; 8 | using UnityEditor.AnimatedValues; 9 | #endif 10 | using System; 11 | using System.Collections.Generic; 12 | using System.Reflection; 13 | 14 | 15 | namespace Wilberforce.VAO 16 | { 17 | 18 | [ExecuteInEditMode] 19 | [RequireComponent(typeof(Camera))] 20 | [HelpURL("https://projectwilberforce.github.io/vaomanual/")] 21 | [AddComponentMenu("Image Effects/Rendering/Volumetric Ambient Occlusion")] 22 | public class VAOEffect : VAOEffectCommandBuffer 23 | { 24 | [ImageEffectOpaque] 25 | void OnRenderImage(RenderTexture source, RenderTexture destination) 26 | { 27 | this.PerformOnRenderImage(source, destination); 28 | } 29 | 30 | 31 | 32 | 33 | } 34 | 35 | 36 | #if UNITY_EDITOR 37 | 38 | [CustomEditor(typeof(VAOEffect))] 39 | public class VAOEffectEditorImageEffect : VAOEffectEditor { } 40 | 41 | #endif 42 | } 43 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Scripts/VAOEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17126454ab792a64b842a962414425aa 3 | timeCreated: 1531154541 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Scripts/VAOEffect.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Scripts/VAOEffect.dll -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Scripts/VAOEffect.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a57a34f0b5f0ec240b7ef1cdb669a4bb 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Scripts/VAOEffectCommandBuffer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 397896519574fb942aca0716c520160b 3 | timeCreated: 1531154542 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 937cd1e8e430048478c7426cd8eb6e5b 3 | folderAsset: yes 4 | timeCreated: 1531421552 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Shaders/Raycast.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f1aa41fedb1bda49b066f97cc60fd42 3 | timeCreated: 1531415583 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Shaders/RaycastColorbleed.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e33ef721a4526a44a62bfdd2c3c1d97 3 | timeCreated: 1531415595 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Shaders/VAO.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58daf0b81e061d542a4edd0c24bccded 3 | timeCreated: 1531415580 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Shaders/VAOBeforeReflectionsBlendShader.shader: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016-2018 Jakub Boksansky - All Rights Reserved 2 | // Volumetric Ambient Occlusion Unity Plugin 2.0 3 | 4 | Shader "Hidden/Wilberforce/VAOBeforeReflectionsBlendShader" 5 | { 6 | Properties 7 | { 8 | _MainTex("Texture", 2D) = "white" {} 9 | } 10 | CGINCLUDE 11 | 12 | #pragma target 3.0 13 | 14 | #pragma multi_compile WFORCE_VAO_COLORBLEED_OFF WFORCE_VAO_COLORBLEED_ON 15 | 16 | #include "VAO.cginc" 17 | 18 | ENDCG 19 | SubShader 20 | { 21 | Cull Off ZWrite Off ZTest Always 22 | 23 | // 0 - BlendBeforeReflections 24 | Pass{Blend 0 Zero One, Zero SrcAlpha // Multiply destination alpha by source alpha 25 | Blend 1 DstColor Zero, Zero One // Multiplicative 26 | CGPROGRAM 27 | #pragma vertex vertDoubleTexCopy #pragma fragment frag 28 | AoOutput frag(v2fDouble i) { return blendBeforeReflections(i); } 29 | ENDCG } 30 | 31 | // 1 - BlendBeforeReflectionsLog 32 | Pass{Blend 0 Zero One, Zero SrcAlpha // Multiply destination alpha by source alpha 33 | Blend 1 One Zero // Overwrite 34 | CGPROGRAM 35 | #pragma vertex vertDoubleTexCopy #pragma fragment frag 36 | AoOutput frag(v2fDouble i) { return blendBeforeReflectionsLog(i); } 37 | ENDCG } 38 | } 39 | 40 | // Fallback for systems where "Blend N" is not supported 41 | SubShader 42 | { 43 | Cull Off ZWrite Off ZTest Always 44 | 45 | // 0 - BlendBeforeReflections 46 | Pass{CGPROGRAM 47 | #pragma vertex vertDoubleTexCopy #pragma fragment frag 48 | AoOutput frag(v2fDouble i) { return blendBeforeReflections(i); } 49 | ENDCG } 50 | 51 | // 1 - BlendBeforeReflectionsLog 52 | Pass{CGPROGRAM 53 | #pragma vertex vertDoubleTexCopy #pragma fragment frag 54 | AoOutput frag(v2fDouble i) { return blendBeforeReflectionsLog(i); } 55 | ENDCG } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Shaders/VAOBeforeReflectionsBlendShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 282be4e660d726c458cbbb3458f01aa5 3 | timeCreated: 1531415596 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Shaders/VAOColorbleed.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56b4b5f5d5debc24ea4d246b0dce7b22 3 | timeCreated: 1531415608 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Shaders/VAOFinalPassShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6eab60abf9715e44eb40b25217dc8bc2 3 | timeCreated: 1531415610 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Assets/Shaders/VAOShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8e4aa2549aa08c4ebdebbcee932d057 3 | timeCreated: 1531415613 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Documentation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9c90a561fe5bac43b88dd52c0295e76 3 | folderAsset: yes 4 | timeCreated: 1531421552 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Documentation/ReadMe.txt: -------------------------------------------------------------------------------- 1 | #============================================================# 2 | # # 3 | # __ ___ _ _ __ _ _ # 4 | # \ \ / (_) | | / _(_) (_) # 5 | # \ \ /\ / / _| | |__ ___ _ __| |_ ___ _ __ ___ ___ # 6 | # \ \/ \/ / | | | '_ \ / _ \ '__| _|/ _ \| '__/ __/ _ \ # 7 | # \ /\ / | | | |_) | __/ | | | | (_) | | | (_| __/ # 8 | # \/ \/ |_|_|_.__/ \___|_| |_| \___/|_| \___\___| # 9 | # # 10 | #============================================================# 11 | 12 | Volumetric Ambient Occlusion Unity Plugin 2.0 13 | Copyright (c) 2016-2018 Jakub Boksansky - All Rights Reserved 14 | 15 | Thank you for the purchase! Please contact us in case of any issues or questions and please rate our effect on the Asset store. 16 | 17 | For user manual please see attached PDF or following link: 18 | https://projectwilberforce.github.io/vaomanual 19 | 20 | In case of questions or issues, please contact us at: 21 | projectwilberforce@gmail.com 22 | 23 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Documentation/ReadMe.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3e92176c9300f243ad2898486f55d27 3 | timeCreated: 1484677234 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Documentation/VAO Manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/Volumetric Ambient Occlusion/Documentation/VAO Manual.pdf -------------------------------------------------------------------------------- /Unity/test/Assets/Volumetric Ambient Occlusion/Documentation/VAO Manual.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6b9361aeefc4a84bb741ce2bb0dcd45 3 | timeCreated: 1484677859 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Unity/test/Assets/chair.max: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/Assets/chair.max -------------------------------------------------------------------------------- /Unity/test/Logs/Packages-Update.log: -------------------------------------------------------------------------------- 1 | 2 | === Mon Aug 5 15:37:09 2019 3 | 4 | Packages were changed. 5 | Update Mode: mergeDefaultDependencies 6 | 7 | The following packages were added: 8 | com.unity.ext.nunit@1.0.0 9 | com.unity.test-framework@1.0.16 10 | com.unity.ide.vscode@1.0.7 11 | com.unity.ide.visualstudio@1.0.11 12 | com.unity.ide.rider@1.0.8 13 | com.unity.ugui@1.0.0 14 | com.unity.modules.androidjni@1.0.0 15 | The following packages were updated: 16 | com.unity.collab-proxy from version 1.2.9 to 1.2.16 17 | com.unity.textmeshpro from version 2.0.0 to 2.0.1 18 | com.unity.timeline from version 0.0.0-builtin to 1.1.0 19 | 20 | === Sat Aug 17 16:28:00 2019 21 | 22 | Packages were changed. 23 | Update Mode: updateDependencies 24 | 25 | The following packages were added: 26 | com.unity.2d.tilemap@1.0.0 27 | com.unity.2d.sprite@1.0.0 28 | The following packages were updated: 29 | com.unity.ide.rider from version 1.0.8 to 1.1.0 30 | com.unity.test-framework from version 1.0.16 to 1.0.17 31 | -------------------------------------------------------------------------------- /Unity/test/Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.2d.sprite": "1.0.0", 4 | "com.unity.2d.tilemap": "1.0.0", 5 | "com.unity.collab-proxy": "1.2.16", 6 | "com.unity.ext.nunit": "1.0.0", 7 | "com.unity.ide.rider": "1.1.0", 8 | "com.unity.ide.visualstudio": "1.0.11", 9 | "com.unity.ide.vscode": "1.0.7", 10 | "com.unity.test-framework": "1.0.17", 11 | "com.unity.textmeshpro": "2.0.1", 12 | "com.unity.timeline": "1.1.0", 13 | "com.unity.ugui": "1.0.0", 14 | "com.unity.modules.ai": "1.0.0", 15 | "com.unity.modules.androidjni": "1.0.0", 16 | "com.unity.modules.animation": "1.0.0", 17 | "com.unity.modules.assetbundle": "1.0.0", 18 | "com.unity.modules.audio": "1.0.0", 19 | "com.unity.modules.cloth": "1.0.0", 20 | "com.unity.modules.director": "1.0.0", 21 | "com.unity.modules.imageconversion": "1.0.0", 22 | "com.unity.modules.imgui": "1.0.0", 23 | "com.unity.modules.jsonserialize": "1.0.0", 24 | "com.unity.modules.particlesystem": "1.0.0", 25 | "com.unity.modules.physics": "1.0.0", 26 | "com.unity.modules.physics2d": "1.0.0", 27 | "com.unity.modules.screencapture": "1.0.0", 28 | "com.unity.modules.terrain": "1.0.0", 29 | "com.unity.modules.terrainphysics": "1.0.0", 30 | "com.unity.modules.tilemap": "1.0.0", 31 | "com.unity.modules.ui": "1.0.0", 32 | "com.unity.modules.uielements": "1.0.0", 33 | "com.unity.modules.umbra": "1.0.0", 34 | "com.unity.modules.unityanalytics": "1.0.0", 35 | "com.unity.modules.unitywebrequest": "1.0.0", 36 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 37 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 38 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 39 | "com.unity.modules.unitywebrequestwww": "1.0.0", 40 | "com.unity.modules.vehicles": "1.0.0", 41 | "com.unity.modules.video": "1.0.0", 42 | "com.unity.modules.vr": "1.0.0", 43 | "com.unity.modules.wind": "1.0.0", 44 | "com.unity.modules.xr": "1.0.0" 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Unity/test/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 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /Unity/test/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 | -------------------------------------------------------------------------------- /Unity/test/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: 11 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_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /Unity/test/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 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /Unity/test/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: 8 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | -------------------------------------------------------------------------------- /Unity/test/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 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 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /Unity/test/ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /Unity/test/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.2.8f1 2 | m_EditorVersionWithRevision: 2019.2.8f1 (ff5b465c8d13) 3 | -------------------------------------------------------------------------------- /Unity/test/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 | -------------------------------------------------------------------------------- /Unity/test/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 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /Unity/test/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 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /Unity/test/ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /Unity/test/ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /Unity/test/SharpEXR.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/SharpEXR.dll -------------------------------------------------------------------------------- /Unity/test/Unity_lic.alf: -------------------------------------------------------------------------------- 1 | enzhangdongjiuwin32Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz319212032609.22265625HIH-D-18688N/A2017.2.06.x -------------------------------------------------------------------------------- /Unity/test/obj/Debug/Assembly-CSharp-Editor.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 7b406a437c3ad842c0c6b7cfda16b9318314dbd9 2 | -------------------------------------------------------------------------------- /Unity/test/obj/Debug/Assembly-CSharp-Editor.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/obj/Debug/Assembly-CSharp-Editor.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /Unity/test/obj/Debug/Assembly-CSharp.csproj.CopyComplete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/obj/Debug/Assembly-CSharp.csproj.CopyComplete -------------------------------------------------------------------------------- /Unity/test/obj/Debug/Assembly-CSharp.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 3894ff369226382c330149adf87efd1b670bae72 2 | -------------------------------------------------------------------------------- /Unity/test/obj/Debug/Assembly-CSharp.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/obj/Debug/Assembly-CSharp.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /Unity/test/obj/Debug/Assembly-CSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/obj/Debug/Assembly-CSharp.dll -------------------------------------------------------------------------------- /Unity/test/obj/Debug/Assembly-CSharp.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/obj/Debug/Assembly-CSharp.pdb -------------------------------------------------------------------------------- /Unity/test/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /Unity/test/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /Unity/test/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /Unity/test/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /Unity/test/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/Unity/test/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /Unity/test/test_01.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{1704EE9F-FC17-D53E-F5E2-ADFE02B88E4A}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor", "Assembly-CSharp-Editor.csproj", "{104532C9-3BEA-C946-191F-4B7C2CA4EB53}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {1704EE9F-FC17-D53E-F5E2-ADFE02B88E4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {1704EE9F-FC17-D53E-F5E2-ADFE02B88E4A}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {1704EE9F-FC17-D53E-F5E2-ADFE02B88E4A}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {1704EE9F-FC17-D53E-F5E2-ADFE02B88E4A}.Release|Any CPU.Build.0 = Release|Any CPU 18 | {104532C9-3BEA-C946-191F-4B7C2CA4EB53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 19 | {104532C9-3BEA-C946-191F-4B7C2CA4EB53}.Debug|Any CPU.Build.0 = Debug|Any CPU 20 | {104532C9-3BEA-C946-191F-4B7C2CA4EB53}.Release|Any CPU.ActiveCfg = Release|Any CPU 21 | {104532C9-3BEA-C946-191F-4B7C2CA4EB53}.Release|Any CPU.Build.0 = Release|Any CPU 22 | EndGlobalSection 23 | GlobalSection(SolutionProperties) = preSolution 24 | HideSolutionNode = FALSE 25 | EndGlobalSection 26 | EndGlobal 27 | -------------------------------------------------------------------------------- /Unity/test/test_02.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{7DAE6C19-4091-04D6-BF8E-0B72D055F352}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor", "Assembly-CSharp-Editor.csproj", "{765132B8-BBEC-112D-8BAF-1CB25DFD32F2}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {7DAE6C19-4091-04D6-BF8E-0B72D055F352}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {7DAE6C19-4091-04D6-BF8E-0B72D055F352}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {7DAE6C19-4091-04D6-BF8E-0B72D055F352}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {7DAE6C19-4091-04D6-BF8E-0B72D055F352}.Release|Any CPU.Build.0 = Release|Any CPU 18 | {765132B8-BBEC-112D-8BAF-1CB25DFD32F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 19 | {765132B8-BBEC-112D-8BAF-1CB25DFD32F2}.Debug|Any CPU.Build.0 = Debug|Any CPU 20 | {765132B8-BBEC-112D-8BAF-1CB25DFD32F2}.Release|Any CPU.ActiveCfg = Release|Any CPU 21 | {765132B8-BBEC-112D-8BAF-1CB25DFD32F2}.Release|Any CPU.Build.0 = Release|Any CPU 22 | EndGlobalSection 23 | GlobalSection(SolutionProperties) = preSolution 24 | HideSolutionNode = FALSE 25 | EndGlobalSection 26 | EndGlobal 27 | -------------------------------------------------------------------------------- /Unity/test/test_03 - 副本.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{A7B5E1EA-D2DD-9C2C-E9D7-683D33CD4597}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor", "Assembly-CSharp-Editor.csproj", "{B1ECBC2A-37A9-4B8B-0CAC-3C5766344CF6}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {A7B5E1EA-D2DD-9C2C-E9D7-683D33CD4597}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {A7B5E1EA-D2DD-9C2C-E9D7-683D33CD4597}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {A7B5E1EA-D2DD-9C2C-E9D7-683D33CD4597}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {A7B5E1EA-D2DD-9C2C-E9D7-683D33CD4597}.Release|Any CPU.Build.0 = Release|Any CPU 18 | {B1ECBC2A-37A9-4B8B-0CAC-3C5766344CF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 19 | {B1ECBC2A-37A9-4B8B-0CAC-3C5766344CF6}.Debug|Any CPU.Build.0 = Debug|Any CPU 20 | {B1ECBC2A-37A9-4B8B-0CAC-3C5766344CF6}.Release|Any CPU.ActiveCfg = Release|Any CPU 21 | {B1ECBC2A-37A9-4B8B-0CAC-3C5766344CF6}.Release|Any CPU.Build.0 = Release|Any CPU 22 | EndGlobalSection 23 | GlobalSection(SolutionProperties) = preSolution 24 | HideSolutionNode = FALSE 25 | EndGlobalSection 26 | EndGlobal 27 | -------------------------------------------------------------------------------- /Unity/test/test_03.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{0EB1319B-FEDF-C07C-AC16-984EB622EBEE}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor", "Assembly-CSharp-Editor.csproj", "{9C9EC6E1-A20E-1052-050C-38E4DB63AA42}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {0EB1319B-FEDF-C07C-AC16-984EB622EBEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {0EB1319B-FEDF-C07C-AC16-984EB622EBEE}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {0EB1319B-FEDF-C07C-AC16-984EB622EBEE}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {0EB1319B-FEDF-C07C-AC16-984EB622EBEE}.Release|Any CPU.Build.0 = Release|Any CPU 18 | {9C9EC6E1-A20E-1052-050C-38E4DB63AA42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 19 | {9C9EC6E1-A20E-1052-050C-38E4DB63AA42}.Debug|Any CPU.Build.0 = Debug|Any CPU 20 | {9C9EC6E1-A20E-1052-050C-38E4DB63AA42}.Release|Any CPU.ActiveCfg = Release|Any CPU 21 | {9C9EC6E1-A20E-1052-050C-38E4DB63AA42}.Release|Any CPU.Build.0 = Release|Any CPU 22 | EndGlobalSection 23 | GlobalSection(SolutionProperties) = preSolution 24 | HideSolutionNode = FALSE 25 | EndGlobalSection 26 | EndGlobal 27 | -------------------------------------------------------------------------------- /img/DATASET.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chuhuaxian/DeepAO/8419bca320f03608a9815fbbc8bf666a23e87bba/img/DATASET.png --------------------------------------------------------------------------------