├── .gitattributes ├── .gitignore ├── Images ├── rabit.gif ├── sp_01.png ├── sp_02.png ├── sp_03.png ├── sp_04.png └── sp_05.png ├── LICENSE ├── README.md └── SimplifyPolygon ├── Assembly-CSharp-Editor.csproj ├── Assembly-CSharp.csproj ├── Assets ├── Editor.meta ├── Editor │ ├── SimplifyTestDraw.cs │ └── SimplifyTestDraw.cs.meta ├── Scenes.meta ├── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── Scripts.meta └── Scripts │ ├── Rabbit.cs │ ├── Rabbit.cs.meta │ ├── SimplifyPolygon.meta │ ├── SimplifyPolygon │ ├── SimplifyMesh.cs │ ├── SimplifyMesh.cs.meta │ ├── SimplifyTriangle.cs │ ├── SimplifyTriangle.cs.meta │ ├── SimplifyVertex.cs │ └── SimplifyVertex.cs.meta │ ├── SimplifyTest.cs │ └── SimplifyTest.cs.meta └── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset └── VFXManager.asset /.gitattributes: -------------------------------------------------------------------------------- 1 | *.* linguist-language=C# -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | SimplifyPolygon/.vs/* 3 | SimplifyPolygon/Library/* 4 | *.log 5 | SimplifyPolygon/obj/Debug/* 6 | SimplifyPolygon/Packages/manifest.json 7 | SimplifyPolygon/SimplifyPolygon.sln 8 | SimplifyPolygon/Temp/* -------------------------------------------------------------------------------- /Images/rabit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vanCopper/SimplifyPolygon/c4e9c9f359edec5705262a78b1f082bb97e27f5c/Images/rabit.gif -------------------------------------------------------------------------------- /Images/sp_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vanCopper/SimplifyPolygon/c4e9c9f359edec5705262a78b1f082bb97e27f5c/Images/sp_01.png -------------------------------------------------------------------------------- /Images/sp_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vanCopper/SimplifyPolygon/c4e9c9f359edec5705262a78b1f082bb97e27f5c/Images/sp_02.png -------------------------------------------------------------------------------- /Images/sp_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vanCopper/SimplifyPolygon/c4e9c9f359edec5705262a78b1f082bb97e27f5c/Images/sp_03.png -------------------------------------------------------------------------------- /Images/sp_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vanCopper/SimplifyPolygon/c4e9c9f359edec5705262a78b1f082bb97e27f5c/Images/sp_04.png -------------------------------------------------------------------------------- /Images/sp_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vanCopper/SimplifyPolygon/c4e9c9f359edec5705262a78b1f082bb97e27f5c/Images/sp_05.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 vanCopper 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SimplifyPolygon 2 | 3 | ![](./Images/rabit.gif) 4 | 5 | 6 | 7 | 该算法来源: 《A Simple, Fast, and Effective Polygon Reduction Algorithm》by Stam Melax. 8 | 9 | > 原文链接:https://dev.gameres.com/Program/Visual/3D/PolygonReduction.pdf 10 | 11 | 源码(Unity) 12 | 13 | > Github: https://github.com/vanCopper/SimplifyPolygon 14 | 15 | 16 | 17 | #### H.Hoppe Progressive Meshes 18 | 19 | 多数减面算法都是**H.Hoppe Progressive Meshes**的改进或变形而来。**Progressive Meshes**是由**Hugues Hoppe** 1996年发表在**ACM SIGGRAPH(国际图形图像协会)**的一篇论文。 20 | 21 | > WebPage: http://hhoppe.com/proj/pm/ 22 | > 23 | > Parper: http://hhoppe.com/pm.pdf 24 | > 25 | > Github: https://github.com/hhoppe/Mesh-processing-library/tree/master/MeshSimplify 26 | 27 | 该算法通过重复使用一个简单的边坍塌操作来降低模型的复杂度,如图2: 28 | 29 | ![](./Images/sp_01.png) 30 | 31 | **u,v**是即将被操作的两点: 32 | 33 | 1. 首先删除以**uv**为边的三角形 34 | 2. 更新剩余三角形的顶点,用顶点**u**代替**v** 35 | 3. 移除顶点**u** 36 | 37 | 重复以上过程,直到当前剩余顶点数达到预期数量。该过程会移除一个顶点(**u**),两个三角形,三条边。 38 | 39 | 假设有图3所示多边形,通过上述过程即可完成减面操作: 40 | 41 | ![](./Images/sp_02.png) 42 | 43 | 44 | 45 | #### Stam Melax 对算法的优化 46 | 47 | 算法核心是如何选择被删除的坍塌(**uv**)边,正确选择坍塌边才能最小程度的影响模型的外观视觉的变化。**Stam Melax**提出的优化算法有核心两点: 48 | 49 | * 对于平面上的表面,只需要很少的面即可 50 | * 对于高度弯曲的曲面则需要更多的面才能保证外观正确 51 | 52 | 所以确定一条边是否要坍塌,取决于**该条边的边长与曲率值的乘积**。边(**uv**)的曲率值则是通过比较相邻面的法线点积来得到,计算公式: 53 | 54 | ![](./Images/sp_03.png) 55 | 56 | 57 | 58 | ```c# 59 | private float ComputeEdgeCollapseCost(SimplifyVertex u, SimplifyVertex v) 60 | { 61 | Vector3 tp = v.position - u.position; 62 | float edgelength = Vector3.SqrMagnitude(tp); 63 | float curvature = 0.0f; // 曲率 64 | 65 | List sides = new List(); 66 | 67 | // 查找uv为边的三角形 68 | foreach (SimplifyTriangle simplifyTriangle in u.triangles) 69 | { 70 | if (simplifyTriangle.Contains(v)) 71 | { 72 | sides.Add(simplifyTriangle); 73 | } 74 | } 75 | 76 | foreach (SimplifyTriangle triangle in u.triangles) 77 | { 78 | float mincurv = 1; 79 | foreach (SimplifyTriangle sTriangle in sides) 80 | { 81 | float dotprod = Vector3.Dot(triangle.normal, sTriangle.normal); 82 | mincurv = Mathf.Min(mincurv, (1.0f - dotprod) / 2.0f); 83 | } 84 | 85 | curvature = Mathf.Max(curvature, mincurv); 86 | } 87 | 88 | return edgelength * curvature; 89 | } 90 | ``` 91 | 92 | 93 | 94 | 该算法对于脊状边的坍塌也是有效的,不管该脊是锐角或直角。如图4: 95 | 96 | ![](./Images/sp_04.png) 97 | 98 | 正确的脊状坍塌**B**可至**A**,**C**。**A**可至**C**。 99 | 100 | 如果**A**坍塌至**B**,或**C**坍塌至**A**,**C**坍塌至**B**, 均会导致模型外形的变化。 101 | 102 | 代码部分只实现了静态模型且没有贴图的算法演示,实际上如想应用还需要处理uv,顶点法线,非闭合面(有边的存在,如飘带,披风,Plane等,可将坍塌代价设置为较大值解决该问题),以及表面断裂。 103 | 104 | 还有一种情况是多点拥有相同位置,但有不同的uv和normal,坍塌的时候因为无法找到正确的坍塌目标会导致模型出现镂空的问题。 105 | 106 | #### 最后 107 | 108 | Paper中作者有提供C++的版本,Unity算法演示见源码。 109 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assembly-CSharp-Editor.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | latest 5 | 6 | 7 | Debug 8 | AnyCPU 9 | 10.0.20506 10 | 2.0 11 | 12 | {3AB69FE6-FE5A-7E7F-6234-79975A119673} 13 | Library 14 | Properties 15 | Assembly-CSharp-Editor 16 | v4.7.1 17 | 512 18 | . 19 | 20 | 21 | true 22 | full 23 | false 24 | Temp\bin\Debug\ 25 | DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_3_2;UNITY_2018_3;UNITY_2018;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITES;ENABLE_GRID;ENABLE_TILEMAP;ENABLE_TERRAIN;ENABLE_TEXTURE_STREAMING;ENABLE_DIRECTOR;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_TIMELINE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;INCLUDE_DYNAMIC_GI;INCLUDE_GI;ENABLE_MONO_BDWGC;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_VIDEO;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_LOCALIZATION;PLATFORM_STANDALONE_WIN;PLATFORM_STANDALONE;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_EVENT_QUEUE;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;ENABLE_VR;ENABLE_AR;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_4_6;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_VSTU;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER 26 | prompt 27 | 4 28 | 0169 29 | False 30 | 31 | 32 | pdbonly 33 | true 34 | Temp\bin\Release\ 35 | prompt 36 | 4 37 | 0169 38 | False 39 | 40 | 41 | true 42 | true 43 | false 44 | false 45 | false 46 | 47 | 48 | {E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 49 | Unity/VSTU 50 | Editor:5 51 | StandaloneWindows64:19 52 | 2018.3.2f1 53 | 54 | 55 | 56 | F:\Program Files\Unity\Editor\Data\Managed/UnityEngine/UnityEngine.dll 57 | 58 | 59 | F:\Program Files\Unity\Editor\Data\Managed/UnityEditor.dll 60 | 61 | 62 | 63 | 64 | 65 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll 66 | 67 | 68 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/ScriptAssemblies/Unity.PackageManagerUI.Editor.dll 69 | 70 | 71 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/ScriptAssemblies/Unity.CollabProxy.Editor.dll 72 | 73 | 74 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/ScriptAssemblies/Unity.TextMeshPro.dll 75 | 76 | 77 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/ScriptAssemblies/Unity.Analytics.DataPrivacy.dll 78 | 79 | 80 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.AIModule.dll 81 | 82 | 83 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ARModule.dll 84 | 85 | 86 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.AccessibilityModule.dll 87 | 88 | 89 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.AnimationModule.dll 90 | 91 | 92 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.AssetBundleModule.dll 93 | 94 | 95 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.AudioModule.dll 96 | 97 | 98 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.BaselibModule.dll 99 | 100 | 101 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ClothModule.dll 102 | 103 | 104 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ClusterInputModule.dll 105 | 106 | 107 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ClusterRendererModule.dll 108 | 109 | 110 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.CoreModule.dll 111 | 112 | 113 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.CrashReportingModule.dll 114 | 115 | 116 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.DirectorModule.dll 117 | 118 | 119 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.FileSystemHttpModule.dll 120 | 121 | 122 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.GameCenterModule.dll 123 | 124 | 125 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.GridModule.dll 126 | 127 | 128 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.HotReloadModule.dll 129 | 130 | 131 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.IMGUIModule.dll 132 | 133 | 134 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ImageConversionModule.dll 135 | 136 | 137 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.InputModule.dll 138 | 139 | 140 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.JSONSerializeModule.dll 141 | 142 | 143 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.LocalizationModule.dll 144 | 145 | 146 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ParticleSystemModule.dll 147 | 148 | 149 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.PerformanceReportingModule.dll 150 | 151 | 152 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.PhysicsModule.dll 153 | 154 | 155 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.Physics2DModule.dll 156 | 157 | 158 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ProfilerModule.dll 159 | 160 | 161 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ScreenCaptureModule.dll 162 | 163 | 164 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.SharedInternalsModule.dll 165 | 166 | 167 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.SpatialTrackingModule.dll 168 | 169 | 170 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.SpriteMaskModule.dll 171 | 172 | 173 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.SpriteShapeModule.dll 174 | 175 | 176 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.StreamingModule.dll 177 | 178 | 179 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.StyleSheetsModule.dll 180 | 181 | 182 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.SubstanceModule.dll 183 | 184 | 185 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TLSModule.dll 186 | 187 | 188 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TerrainModule.dll 189 | 190 | 191 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TerrainPhysicsModule.dll 192 | 193 | 194 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TextCoreModule.dll 195 | 196 | 197 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TextRenderingModule.dll 198 | 199 | 200 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TilemapModule.dll 201 | 202 | 203 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TimelineModule.dll 204 | 205 | 206 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UIModule.dll 207 | 208 | 209 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UIElementsModule.dll 210 | 211 | 212 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UNETModule.dll 213 | 214 | 215 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UmbraModule.dll 216 | 217 | 218 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityAnalyticsModule.dll 219 | 220 | 221 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityConnectModule.dll 222 | 223 | 224 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityTestProtocolModule.dll 225 | 226 | 227 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestModule.dll 228 | 229 | 230 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestAssetBundleModule.dll 231 | 232 | 233 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestAudioModule.dll 234 | 235 | 236 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestTextureModule.dll 237 | 238 | 239 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestWWWModule.dll 240 | 241 | 242 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.VFXModule.dll 243 | 244 | 245 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.VRModule.dll 246 | 247 | 248 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.VehiclesModule.dll 249 | 250 | 251 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.VideoModule.dll 252 | 253 | 254 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.WindModule.dll 255 | 256 | 257 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.XRModule.dll 258 | 259 | 260 | F:/Program Files/Unity/Editor/Data/Managed/Unity.Locator.dll 261 | 262 | 263 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll 264 | 265 | 266 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/Editor/UnityEditor.UI.dll 267 | 268 | 269 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/TestRunner/Editor/UnityEditor.TestRunner.dll 270 | 271 | 272 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/TestRunner/UnityEngine.TestRunner.dll 273 | 274 | 275 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/TestRunner/net35/unity-custom/nunit.framework.dll 276 | 277 | 278 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/Timeline/RuntimeEditor/UnityEngine.Timeline.dll 279 | 280 | 281 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/Timeline/Editor/UnityEditor.Timeline.dll 282 | 283 | 284 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll 285 | 286 | 287 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/Networking/Editor/UnityEditor.Networking.dll 288 | 289 | 290 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/UnityGoogleAudioSpatializer/Editor/UnityEditor.GoogleAudioSpatializer.dll 291 | 292 | 293 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/UnityGoogleAudioSpatializer/RuntimeEditor/UnityEngine.GoogleAudioSpatializer.dll 294 | 295 | 296 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/UnitySpatialTracking/Editor/UnityEditor.SpatialTracking.dll 297 | 298 | 299 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/UnitySpatialTracking/RuntimeEditor/UnityEngine.SpatialTracking.dll 300 | 301 | 302 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/UnityVR/Editor/UnityEditor.VR.dll 303 | 304 | 305 | F:/Program Files/Unity/Editor/Data/Managed/UnityEditor.Graphs.dll 306 | 307 | 308 | F:/Program Files/Unity/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll 309 | 310 | 311 | F:/Program Files/Unity/Editor/Data/PlaybackEngines/windowsstandalonesupport/UnityEditor.WindowsStandalone.Extensions.dll 312 | 313 | 314 | C:/Program Files (x86)/Microsoft Visual Studio Tools for Unity/15.0/Editor/SyntaxTree.VisualStudio.Unity.Bridge.dll 315 | 316 | 317 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/PackageCache/com.unity.ads@2.0.8/Editor/UnityEditor.Advertisements.dll 318 | 319 | 320 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/PackageCache/com.unity.analytics@3.2.2/Unity.Analytics.Editor.dll 321 | 322 | 323 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/PackageCache/com.unity.analytics@3.2.2/Unity.Analytics.StandardEvents.dll 324 | 325 | 326 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/PackageCache/com.unity.analytics@3.2.2/Unity.Analytics.Tracker.dll 327 | 328 | 329 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/PackageCache/com.unity.purchasing@2.0.3/Editor/UnityEditor.Purchasing.dll 330 | 331 | 332 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/mscorlib.dll 333 | 334 | 335 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.dll 336 | 337 | 338 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Core.dll 339 | 340 | 341 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Runtime.Serialization.dll 342 | 343 | 344 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Xml.dll 345 | 346 | 347 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Xml.Linq.dll 348 | 349 | 350 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Numerics.dll 351 | 352 | 353 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Numerics.Vectors.dll 354 | 355 | 356 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Net.Http.dll 357 | 358 | 359 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Microsoft.CSharp.dll 360 | 361 | 362 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/System.Data.dll 363 | 364 | 365 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/Microsoft.Win32.Primitives.dll 366 | 367 | 368 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/netstandard.dll 369 | 370 | 371 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.AppContext.dll 372 | 373 | 374 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Collections.Concurrent.dll 375 | 376 | 377 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Collections.dll 378 | 379 | 380 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Collections.NonGeneric.dll 381 | 382 | 383 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Collections.Specialized.dll 384 | 385 | 386 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ComponentModel.Annotations.dll 387 | 388 | 389 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ComponentModel.dll 390 | 391 | 392 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ComponentModel.EventBasedAsync.dll 393 | 394 | 395 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ComponentModel.Primitives.dll 396 | 397 | 398 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ComponentModel.TypeConverter.dll 399 | 400 | 401 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Console.dll 402 | 403 | 404 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Data.Common.dll 405 | 406 | 407 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.Contracts.dll 408 | 409 | 410 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.Debug.dll 411 | 412 | 413 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.FileVersionInfo.dll 414 | 415 | 416 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.Process.dll 417 | 418 | 419 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.StackTrace.dll 420 | 421 | 422 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.TextWriterTraceListener.dll 423 | 424 | 425 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.Tools.dll 426 | 427 | 428 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Diagnostics.TraceSource.dll 429 | 430 | 431 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Drawing.Primitives.dll 432 | 433 | 434 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Dynamic.Runtime.dll 435 | 436 | 437 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Globalization.Calendars.dll 438 | 439 | 440 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Globalization.dll 441 | 442 | 443 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Globalization.Extensions.dll 444 | 445 | 446 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.Compression.ZipFile.dll 447 | 448 | 449 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.dll 450 | 451 | 452 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.FileSystem.dll 453 | 454 | 455 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.FileSystem.DriveInfo.dll 456 | 457 | 458 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.FileSystem.Primitives.dll 459 | 460 | 461 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.FileSystem.Watcher.dll 462 | 463 | 464 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.IsolatedStorage.dll 465 | 466 | 467 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.MemoryMappedFiles.dll 468 | 469 | 470 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.Pipes.dll 471 | 472 | 473 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.IO.UnmanagedMemoryStream.dll 474 | 475 | 476 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Linq.dll 477 | 478 | 479 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Linq.Expressions.dll 480 | 481 | 482 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Linq.Parallel.dll 483 | 484 | 485 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Linq.Queryable.dll 486 | 487 | 488 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Http.Rtc.dll 489 | 490 | 491 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.NameResolution.dll 492 | 493 | 494 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.NetworkInformation.dll 495 | 496 | 497 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Ping.dll 498 | 499 | 500 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Primitives.dll 501 | 502 | 503 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Requests.dll 504 | 505 | 506 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Security.dll 507 | 508 | 509 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.Sockets.dll 510 | 511 | 512 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.WebHeaderCollection.dll 513 | 514 | 515 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.WebSockets.Client.dll 516 | 517 | 518 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Net.WebSockets.dll 519 | 520 | 521 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ObjectModel.dll 522 | 523 | 524 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.dll 525 | 526 | 527 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.Emit.dll 528 | 529 | 530 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.Emit.ILGeneration.dll 531 | 532 | 533 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.Emit.Lightweight.dll 534 | 535 | 536 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.Extensions.dll 537 | 538 | 539 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Reflection.Primitives.dll 540 | 541 | 542 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Resources.Reader.dll 543 | 544 | 545 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Resources.ResourceManager.dll 546 | 547 | 548 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Resources.Writer.dll 549 | 550 | 551 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.CompilerServices.VisualC.dll 552 | 553 | 554 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.dll 555 | 556 | 557 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Extensions.dll 558 | 559 | 560 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Handles.dll 561 | 562 | 563 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.InteropServices.dll 564 | 565 | 566 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.InteropServices.RuntimeInformation.dll 567 | 568 | 569 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.InteropServices.WindowsRuntime.dll 570 | 571 | 572 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Numerics.dll 573 | 574 | 575 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Serialization.Formatters.dll 576 | 577 | 578 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Serialization.Json.dll 579 | 580 | 581 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Serialization.Primitives.dll 582 | 583 | 584 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Runtime.Serialization.Xml.dll 585 | 586 | 587 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Claims.dll 588 | 589 | 590 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Cryptography.Algorithms.dll 591 | 592 | 593 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Cryptography.Csp.dll 594 | 595 | 596 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Cryptography.Encoding.dll 597 | 598 | 599 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Cryptography.Primitives.dll 600 | 601 | 602 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Cryptography.X509Certificates.dll 603 | 604 | 605 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.Principal.dll 606 | 607 | 608 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Security.SecureString.dll 609 | 610 | 611 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ServiceModel.Duplex.dll 612 | 613 | 614 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ServiceModel.Http.dll 615 | 616 | 617 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ServiceModel.NetTcp.dll 618 | 619 | 620 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ServiceModel.Primitives.dll 621 | 622 | 623 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ServiceModel.Security.dll 624 | 625 | 626 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Text.Encoding.dll 627 | 628 | 629 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Text.Encoding.Extensions.dll 630 | 631 | 632 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Text.RegularExpressions.dll 633 | 634 | 635 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.dll 636 | 637 | 638 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.Overlapped.dll 639 | 640 | 641 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.Tasks.dll 642 | 643 | 644 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.Tasks.Parallel.dll 645 | 646 | 647 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.Thread.dll 648 | 649 | 650 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.ThreadPool.dll 651 | 652 | 653 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Threading.Timer.dll 654 | 655 | 656 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.ValueTuple.dll 657 | 658 | 659 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.ReaderWriter.dll 660 | 661 | 662 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.XDocument.dll 663 | 664 | 665 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.XmlDocument.dll 666 | 667 | 668 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.XmlSerializer.dll 669 | 670 | 671 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.XPath.dll 672 | 673 | 674 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/Facades/System.Xml.XPath.XDocument.dll 675 | 676 | 677 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/unityscript/UnityScript.dll 678 | 679 | 680 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/unityscript/UnityScript.Lang.dll 681 | 682 | 683 | F:/Program Files/Unity/Editor/Data/MonoBleedingEdge/lib/mono/unityscript/Boo.Lang.dll 684 | 685 | 686 | 687 | 688 | {B41A67CF-B3B3-0317-1D6A-F7B034923B0D} 689 | Assembly-CSharp 690 | 691 | 692 | 693 | 694 | 701 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assembly-CSharp.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | latest 5 | 6 | 7 | Debug 8 | AnyCPU 9 | 10.0.20506 10 | 2.0 11 | 12 | 13 | {B41A67CF-B3B3-0317-1D6A-F7B034923B0D} 14 | Library 15 | Properties 16 | Assembly-CSharp 17 | v4.7.1 18 | 512 19 | . 20 | 21 | 22 | true 23 | full 24 | false 25 | Temp\bin\Debug\ 26 | DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_3_2;UNITY_2018_3;UNITY_2018;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITES;ENABLE_GRID;ENABLE_TILEMAP;ENABLE_TERRAIN;ENABLE_TEXTURE_STREAMING;ENABLE_DIRECTOR;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_TIMELINE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;INCLUDE_DYNAMIC_GI;INCLUDE_GI;ENABLE_MONO_BDWGC;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_VIDEO;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_LOCALIZATION;PLATFORM_STANDALONE_WIN;PLATFORM_STANDALONE;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_EVENT_QUEUE;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;ENABLE_VR;ENABLE_AR;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_STANDARD_2_0;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_VSTU;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER 27 | prompt 28 | 4 29 | 0169 30 | False 31 | 32 | 33 | pdbonly 34 | true 35 | Temp\bin\Release\ 36 | prompt 37 | 4 38 | 0169 39 | False 40 | 41 | 42 | true 43 | true 44 | false 45 | false 46 | false 47 | 48 | 49 | {E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 50 | Unity/VSTU 51 | Game:1 52 | StandaloneWindows64:19 53 | 2018.3.2f1 54 | 55 | 56 | 57 | F:\Program Files\Unity\Editor\Data\Managed/UnityEngine/UnityEngine.dll 58 | 59 | 60 | F:\Program Files\Unity\Editor\Data\Managed/UnityEditor.dll 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll 71 | 72 | 73 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/ScriptAssemblies/Unity.PackageManagerUI.Editor.dll 74 | 75 | 76 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/ScriptAssemblies/Unity.CollabProxy.Editor.dll 77 | 78 | 79 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/ScriptAssemblies/Unity.TextMeshPro.dll 80 | 81 | 82 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/ScriptAssemblies/Unity.Analytics.DataPrivacy.dll 83 | 84 | 85 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.AIModule.dll 86 | 87 | 88 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ARModule.dll 89 | 90 | 91 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.AccessibilityModule.dll 92 | 93 | 94 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.AnimationModule.dll 95 | 96 | 97 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.AssetBundleModule.dll 98 | 99 | 100 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.AudioModule.dll 101 | 102 | 103 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.BaselibModule.dll 104 | 105 | 106 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ClothModule.dll 107 | 108 | 109 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ClusterInputModule.dll 110 | 111 | 112 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ClusterRendererModule.dll 113 | 114 | 115 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.CoreModule.dll 116 | 117 | 118 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.CrashReportingModule.dll 119 | 120 | 121 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.DirectorModule.dll 122 | 123 | 124 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.FileSystemHttpModule.dll 125 | 126 | 127 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.GameCenterModule.dll 128 | 129 | 130 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.GridModule.dll 131 | 132 | 133 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.HotReloadModule.dll 134 | 135 | 136 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.IMGUIModule.dll 137 | 138 | 139 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ImageConversionModule.dll 140 | 141 | 142 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.InputModule.dll 143 | 144 | 145 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.JSONSerializeModule.dll 146 | 147 | 148 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.LocalizationModule.dll 149 | 150 | 151 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ParticleSystemModule.dll 152 | 153 | 154 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.PerformanceReportingModule.dll 155 | 156 | 157 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.PhysicsModule.dll 158 | 159 | 160 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.Physics2DModule.dll 161 | 162 | 163 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ProfilerModule.dll 164 | 165 | 166 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.ScreenCaptureModule.dll 167 | 168 | 169 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.SharedInternalsModule.dll 170 | 171 | 172 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.SpriteMaskModule.dll 173 | 174 | 175 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.SpriteShapeModule.dll 176 | 177 | 178 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.StreamingModule.dll 179 | 180 | 181 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.StyleSheetsModule.dll 182 | 183 | 184 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.SubstanceModule.dll 185 | 186 | 187 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TLSModule.dll 188 | 189 | 190 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TerrainModule.dll 191 | 192 | 193 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TerrainPhysicsModule.dll 194 | 195 | 196 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TextCoreModule.dll 197 | 198 | 199 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TextRenderingModule.dll 200 | 201 | 202 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TilemapModule.dll 203 | 204 | 205 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.TimelineModule.dll 206 | 207 | 208 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UIModule.dll 209 | 210 | 211 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UIElementsModule.dll 212 | 213 | 214 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UNETModule.dll 215 | 216 | 217 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UmbraModule.dll 218 | 219 | 220 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityAnalyticsModule.dll 221 | 222 | 223 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityConnectModule.dll 224 | 225 | 226 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityTestProtocolModule.dll 227 | 228 | 229 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestModule.dll 230 | 231 | 232 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestAssetBundleModule.dll 233 | 234 | 235 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestAudioModule.dll 236 | 237 | 238 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestTextureModule.dll 239 | 240 | 241 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityWebRequestWWWModule.dll 242 | 243 | 244 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.VFXModule.dll 245 | 246 | 247 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.VRModule.dll 248 | 249 | 250 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.VehiclesModule.dll 251 | 252 | 253 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.VideoModule.dll 254 | 255 | 256 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.WindModule.dll 257 | 258 | 259 | F:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.XRModule.dll 260 | 261 | 262 | F:/Program Files/Unity/Editor/Data/Managed/Unity.Locator.dll 263 | 264 | 265 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll 266 | 267 | 268 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/TestRunner/UnityEngine.TestRunner.dll 269 | 270 | 271 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/TestRunner/net35/unity-custom/nunit.framework.dll 272 | 273 | 274 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/Timeline/RuntimeEditor/UnityEngine.Timeline.dll 275 | 276 | 277 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll 278 | 279 | 280 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/UnityGoogleAudioSpatializer/RuntimeEditor/UnityEngine.GoogleAudioSpatializer.dll 281 | 282 | 283 | F:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/UnitySpatialTracking/RuntimeEditor/UnityEngine.SpatialTracking.dll 284 | 285 | 286 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/PackageCache/com.unity.analytics@3.2.2/Unity.Analytics.Editor.dll 287 | 288 | 289 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/PackageCache/com.unity.analytics@3.2.2/Unity.Analytics.StandardEvents.dll 290 | 291 | 292 | I:/Code/SimplifyPolygon/SimplifyPolygon/Library/PackageCache/com.unity.analytics@3.2.2/Unity.Analytics.Tracker.dll 293 | 294 | 295 | F:/Program Files/Unity/Editor/Data/NetStandard/ref/2.0.0/netstandard.dll 296 | 297 | 298 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/Microsoft.Win32.Primitives.dll 299 | 300 | 301 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.AppContext.dll 302 | 303 | 304 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Collections.Concurrent.dll 305 | 306 | 307 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Collections.dll 308 | 309 | 310 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Collections.NonGeneric.dll 311 | 312 | 313 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Collections.Specialized.dll 314 | 315 | 316 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.ComponentModel.dll 317 | 318 | 319 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.ComponentModel.EventBasedAsync.dll 320 | 321 | 322 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.ComponentModel.Primitives.dll 323 | 324 | 325 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.ComponentModel.TypeConverter.dll 326 | 327 | 328 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Console.dll 329 | 330 | 331 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Data.Common.dll 332 | 333 | 334 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Diagnostics.Contracts.dll 335 | 336 | 337 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Diagnostics.Debug.dll 338 | 339 | 340 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Diagnostics.FileVersionInfo.dll 341 | 342 | 343 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Diagnostics.Process.dll 344 | 345 | 346 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Diagnostics.StackTrace.dll 347 | 348 | 349 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Diagnostics.TextWriterTraceListener.dll 350 | 351 | 352 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Diagnostics.Tools.dll 353 | 354 | 355 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Diagnostics.TraceSource.dll 356 | 357 | 358 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Diagnostics.Tracing.dll 359 | 360 | 361 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Drawing.Primitives.dll 362 | 363 | 364 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Dynamic.Runtime.dll 365 | 366 | 367 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Globalization.Calendars.dll 368 | 369 | 370 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Globalization.dll 371 | 372 | 373 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Globalization.Extensions.dll 374 | 375 | 376 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.Compression.dll 377 | 378 | 379 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.Compression.ZipFile.dll 380 | 381 | 382 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.dll 383 | 384 | 385 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.FileSystem.dll 386 | 387 | 388 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.FileSystem.DriveInfo.dll 389 | 390 | 391 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.FileSystem.Primitives.dll 392 | 393 | 394 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.FileSystem.Watcher.dll 395 | 396 | 397 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.IsolatedStorage.dll 398 | 399 | 400 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.MemoryMappedFiles.dll 401 | 402 | 403 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.Pipes.dll 404 | 405 | 406 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.IO.UnmanagedMemoryStream.dll 407 | 408 | 409 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Linq.dll 410 | 411 | 412 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Linq.Expressions.dll 413 | 414 | 415 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Linq.Parallel.dll 416 | 417 | 418 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Linq.Queryable.dll 419 | 420 | 421 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.Http.dll 422 | 423 | 424 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.NameResolution.dll 425 | 426 | 427 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.NetworkInformation.dll 428 | 429 | 430 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.Ping.dll 431 | 432 | 433 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.Primitives.dll 434 | 435 | 436 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.Requests.dll 437 | 438 | 439 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.Security.dll 440 | 441 | 442 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.Sockets.dll 443 | 444 | 445 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.WebHeaderCollection.dll 446 | 447 | 448 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.WebSockets.Client.dll 449 | 450 | 451 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Net.WebSockets.dll 452 | 453 | 454 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.ObjectModel.dll 455 | 456 | 457 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Reflection.dll 458 | 459 | 460 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Reflection.Extensions.dll 461 | 462 | 463 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Reflection.Primitives.dll 464 | 465 | 466 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Resources.Reader.dll 467 | 468 | 469 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Resources.ResourceManager.dll 470 | 471 | 472 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Resources.Writer.dll 473 | 474 | 475 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.CompilerServices.VisualC.dll 476 | 477 | 478 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.dll 479 | 480 | 481 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.Extensions.dll 482 | 483 | 484 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.Handles.dll 485 | 486 | 487 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.InteropServices.dll 488 | 489 | 490 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.InteropServices.RuntimeInformation.dll 491 | 492 | 493 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.Numerics.dll 494 | 495 | 496 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.Serialization.Formatters.dll 497 | 498 | 499 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.Serialization.Json.dll 500 | 501 | 502 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.Serialization.Primitives.dll 503 | 504 | 505 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Runtime.Serialization.Xml.dll 506 | 507 | 508 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Security.Claims.dll 509 | 510 | 511 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Security.Cryptography.Algorithms.dll 512 | 513 | 514 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Security.Cryptography.Csp.dll 515 | 516 | 517 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Security.Cryptography.Encoding.dll 518 | 519 | 520 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Security.Cryptography.Primitives.dll 521 | 522 | 523 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Security.Cryptography.X509Certificates.dll 524 | 525 | 526 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Security.Principal.dll 527 | 528 | 529 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Security.SecureString.dll 530 | 531 | 532 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Text.Encoding.dll 533 | 534 | 535 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Text.Encoding.Extensions.dll 536 | 537 | 538 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Text.RegularExpressions.dll 539 | 540 | 541 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Threading.dll 542 | 543 | 544 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Threading.Overlapped.dll 545 | 546 | 547 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Threading.Tasks.dll 548 | 549 | 550 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Threading.Tasks.Parallel.dll 551 | 552 | 553 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Threading.Thread.dll 554 | 555 | 556 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Threading.ThreadPool.dll 557 | 558 | 559 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Threading.Timer.dll 560 | 561 | 562 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.ValueTuple.dll 563 | 564 | 565 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Xml.ReaderWriter.dll 566 | 567 | 568 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Xml.XDocument.dll 569 | 570 | 571 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Xml.XmlDocument.dll 572 | 573 | 574 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Xml.XmlSerializer.dll 575 | 576 | 577 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Xml.XPath.dll 578 | 579 | 580 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netstandard/System.Xml.XPath.XDocument.dll 581 | 582 | 583 | F:/Program Files/Unity/Editor/Data/NetStandard/Extensions/2.0.0/System.Numerics.Vectors.dll 584 | 585 | 586 | F:/Program Files/Unity/Editor/Data/NetStandard/Extensions/2.0.0/System.Runtime.InteropServices.WindowsRuntime.dll 587 | 588 | 589 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/mscorlib.dll 590 | 591 | 592 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.ComponentModel.Composition.dll 593 | 594 | 595 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Core.dll 596 | 597 | 598 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Data.dll 599 | 600 | 601 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.dll 602 | 603 | 604 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Drawing.dll 605 | 606 | 607 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.IO.Compression.FileSystem.dll 608 | 609 | 610 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Net.dll 611 | 612 | 613 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Numerics.dll 614 | 615 | 616 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Runtime.Serialization.dll 617 | 618 | 619 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.ServiceModel.Web.dll 620 | 621 | 622 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Transactions.dll 623 | 624 | 625 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Web.dll 626 | 627 | 628 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Windows.dll 629 | 630 | 631 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Xml.dll 632 | 633 | 634 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Xml.Linq.dll 635 | 636 | 637 | F:/Program Files/Unity/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Xml.Serialization.dll 638 | 639 | 640 | 641 | 642 | 649 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcd5944272c830c42951f9593f2f3a02 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Editor/SimplifyTestDraw.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEditor; 4 | using UnityEngine; 5 | 6 | [CustomEditor(typeof(SimplifyTest))] 7 | public class SimplifyTestDraw : Editor 8 | { 9 | private GUIStyle m_labelStyle = new GUIStyle(); 10 | private void OnSceneGUI() 11 | { 12 | SimplifyTest simplifyTest = (SimplifyTest)target; 13 | if (simplifyTest == null || simplifyTest.simplifyMesh == null) return; 14 | 15 | m_labelStyle.fontSize = 14; 16 | m_labelStyle.normal.textColor = Color.cyan; 17 | //m_labelStyle. 18 | 19 | //labelStyle.fontStyle 20 | Handles.BeginGUI(); 21 | GUILayout.BeginVertical(); 22 | 23 | GUILayout.Label("RenderVerticesNum: " + simplifyTest.simplifyMesh.renderVerticesNum, m_labelStyle); 24 | GUILayout.Space(2); 25 | GUILayout.Label("RenderTrianglesNum: " + simplifyTest.simplifyMesh.renderTrianglesNum, m_labelStyle); 26 | GUILayout.Space(2); 27 | GUILayout.Label("OriginVerticesNum: " + simplifyTest.simplifyMesh.originVerticesNum, m_labelStyle); 28 | GUILayout.Space(2); 29 | GUILayout.Label("OriginTrianglesNum: " + simplifyTest.simplifyMesh.originTrianglesNum, m_labelStyle); 30 | 31 | 32 | GUILayout.EndVertical(); 33 | Handles.EndGUI(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Editor/SimplifyTestDraw.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4995874ac8ff22842843c5f38446ce23 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d83df34ae407a24f93a18cde6205be1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 170076734} 41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 10 58 | m_Resolution: 2 59 | m_BakeResolution: 10 60 | m_AtlasSize: 512 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_Padding: 2 66 | m_LightmapParameters: {fileID: 0} 67 | m_LightmapsBakeMode: 1 68 | m_TextureCompression: 1 69 | m_FinalGather: 0 70 | m_FinalGatherFiltering: 1 71 | m_FinalGatherRayCount: 256 72 | m_ReflectionCompression: 2 73 | m_MixedBakeMode: 2 74 | m_BakeBackend: 1 75 | m_PVRSampling: 1 76 | m_PVRDirectSampleCount: 32 77 | m_PVRSampleCount: 256 78 | m_PVRBounces: 2 79 | m_PVRFilterTypeDirect: 0 80 | m_PVRFilterTypeIndirect: 0 81 | m_PVRFilterTypeAO: 0 82 | m_PVRFilteringMode: 1 83 | m_PVRCulling: 1 84 | m_PVRFilteringGaussRadiusDirect: 1 85 | m_PVRFilteringGaussRadiusIndirect: 5 86 | m_PVRFilteringGaussRadiusAO: 2 87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 89 | m_PVRFilteringAtrousPositionSigmaAO: 1 90 | m_ShowResolutionOverlay: 1 91 | m_LightingDataAsset: {fileID: 0} 92 | m_UseShadowmask: 1 93 | --- !u!196 &4 94 | NavMeshSettings: 95 | serializedVersion: 2 96 | m_ObjectHideFlags: 0 97 | m_BuildSettings: 98 | serializedVersion: 2 99 | agentTypeID: 0 100 | agentRadius: 0.5 101 | agentHeight: 2 102 | agentSlope: 45 103 | agentClimb: 0.4 104 | ledgeDropHeight: 0 105 | maxJumpAcrossDistance: 0 106 | minRegionArea: 2 107 | manualCellSize: 0 108 | cellSize: 0.16666667 109 | manualTileSize: 0 110 | tileSize: 256 111 | accuratePlacement: 0 112 | debug: 113 | m_Flags: 0 114 | m_NavMeshData: {fileID: 0} 115 | --- !u!1 &150933271 116 | GameObject: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 150933276} 124 | - component: {fileID: 150933275} 125 | - component: {fileID: 150933274} 126 | - component: {fileID: 150933273} 127 | - component: {fileID: 150933272} 128 | m_Layer: 0 129 | m_Name: Rabbit 130 | m_TagString: Untagged 131 | m_Icon: {fileID: 0} 132 | m_NavMeshLayer: 0 133 | m_StaticEditorFlags: 0 134 | m_IsActive: 1 135 | --- !u!114 &150933272 136 | MonoBehaviour: 137 | m_ObjectHideFlags: 0 138 | m_CorrespondingSourceObject: {fileID: 0} 139 | m_PrefabInstance: {fileID: 0} 140 | m_PrefabAsset: {fileID: 0} 141 | m_GameObject: {fileID: 150933271} 142 | m_Enabled: 1 143 | m_EditorHideFlags: 0 144 | m_Script: {fileID: 11500000, guid: 2d837c2fcd9cd27489d53a7608fca95d, type: 3} 145 | m_Name: 146 | m_EditorClassIdentifier: 147 | --- !u!135 &150933273 148 | SphereCollider: 149 | m_ObjectHideFlags: 0 150 | m_CorrespondingSourceObject: {fileID: 0} 151 | m_PrefabInstance: {fileID: 0} 152 | m_PrefabAsset: {fileID: 0} 153 | m_GameObject: {fileID: 150933271} 154 | m_Material: {fileID: 0} 155 | m_IsTrigger: 0 156 | m_Enabled: 1 157 | serializedVersion: 2 158 | m_Radius: 0.5 159 | m_Center: {x: 0, y: 0, z: 0} 160 | --- !u!23 &150933274 161 | MeshRenderer: 162 | m_ObjectHideFlags: 0 163 | m_CorrespondingSourceObject: {fileID: 0} 164 | m_PrefabInstance: {fileID: 0} 165 | m_PrefabAsset: {fileID: 0} 166 | m_GameObject: {fileID: 150933271} 167 | m_Enabled: 1 168 | m_CastShadows: 1 169 | m_ReceiveShadows: 1 170 | m_DynamicOccludee: 1 171 | m_MotionVectors: 1 172 | m_LightProbeUsage: 1 173 | m_ReflectionProbeUsage: 1 174 | m_RenderingLayerMask: 1 175 | m_RendererPriority: 0 176 | m_Materials: 177 | - {fileID: 10302, guid: 0000000000000000f000000000000000, type: 0} 178 | m_StaticBatchInfo: 179 | firstSubMesh: 0 180 | subMeshCount: 0 181 | m_StaticBatchRoot: {fileID: 0} 182 | m_ProbeAnchor: {fileID: 0} 183 | m_LightProbeVolumeOverride: {fileID: 0} 184 | m_ScaleInLightmap: 1 185 | m_PreserveUVs: 0 186 | m_IgnoreNormalsForChartDetection: 0 187 | m_ImportantGI: 0 188 | m_StitchLightmapSeams: 0 189 | m_SelectedEditorRenderState: 3 190 | m_MinimumChartSize: 4 191 | m_AutoUVMaxDistance: 0.5 192 | m_AutoUVMaxAngle: 89 193 | m_LightmapParameters: {fileID: 0} 194 | m_SortingLayerID: 0 195 | m_SortingLayer: 0 196 | m_SortingOrder: 0 197 | --- !u!33 &150933275 198 | MeshFilter: 199 | m_ObjectHideFlags: 0 200 | m_CorrespondingSourceObject: {fileID: 0} 201 | m_PrefabInstance: {fileID: 0} 202 | m_PrefabAsset: {fileID: 0} 203 | m_GameObject: {fileID: 150933271} 204 | m_Mesh: {fileID: 0} 205 | --- !u!4 &150933276 206 | Transform: 207 | m_ObjectHideFlags: 0 208 | m_CorrespondingSourceObject: {fileID: 0} 209 | m_PrefabInstance: {fileID: 0} 210 | m_PrefabAsset: {fileID: 0} 211 | m_GameObject: {fileID: 150933271} 212 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 213 | m_LocalPosition: {x: 0.35252124, y: 1.0908916, z: -0.067691624} 214 | m_LocalScale: {x: 1, y: 1, z: 1} 215 | m_Children: [] 216 | m_Father: {fileID: 0} 217 | m_RootOrder: 2 218 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 219 | --- !u!1 &170076733 220 | GameObject: 221 | m_ObjectHideFlags: 0 222 | m_CorrespondingSourceObject: {fileID: 0} 223 | m_PrefabInstance: {fileID: 0} 224 | m_PrefabAsset: {fileID: 0} 225 | serializedVersion: 6 226 | m_Component: 227 | - component: {fileID: 170076735} 228 | - component: {fileID: 170076734} 229 | m_Layer: 0 230 | m_Name: Directional Light 231 | m_TagString: Untagged 232 | m_Icon: {fileID: 0} 233 | m_NavMeshLayer: 0 234 | m_StaticEditorFlags: 0 235 | m_IsActive: 1 236 | --- !u!108 &170076734 237 | Light: 238 | m_ObjectHideFlags: 0 239 | m_CorrespondingSourceObject: {fileID: 0} 240 | m_PrefabInstance: {fileID: 0} 241 | m_PrefabAsset: {fileID: 0} 242 | m_GameObject: {fileID: 170076733} 243 | m_Enabled: 1 244 | serializedVersion: 8 245 | m_Type: 1 246 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 247 | m_Intensity: 1 248 | m_Range: 10 249 | m_SpotAngle: 30 250 | m_CookieSize: 10 251 | m_Shadows: 252 | m_Type: 2 253 | m_Resolution: -1 254 | m_CustomResolution: -1 255 | m_Strength: 1 256 | m_Bias: 0.05 257 | m_NormalBias: 0.4 258 | m_NearPlane: 0.2 259 | m_Cookie: {fileID: 0} 260 | m_DrawHalo: 0 261 | m_Flare: {fileID: 0} 262 | m_RenderMode: 0 263 | m_CullingMask: 264 | serializedVersion: 2 265 | m_Bits: 4294967295 266 | m_Lightmapping: 1 267 | m_LightShadowCasterMode: 0 268 | m_AreaSize: {x: 1, y: 1} 269 | m_BounceIntensity: 1 270 | m_ColorTemperature: 6570 271 | m_UseColorTemperature: 0 272 | m_ShadowRadius: 0 273 | m_ShadowAngle: 0 274 | --- !u!4 &170076735 275 | Transform: 276 | m_ObjectHideFlags: 0 277 | m_CorrespondingSourceObject: {fileID: 0} 278 | m_PrefabInstance: {fileID: 0} 279 | m_PrefabAsset: {fileID: 0} 280 | m_GameObject: {fileID: 170076733} 281 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 282 | m_LocalPosition: {x: 0, y: 3, z: 0} 283 | m_LocalScale: {x: 1, y: 1, z: 1} 284 | m_Children: [] 285 | m_Father: {fileID: 0} 286 | m_RootOrder: 0 287 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 288 | --- !u!1 &1948176430 289 | GameObject: 290 | m_ObjectHideFlags: 0 291 | m_CorrespondingSourceObject: {fileID: 0} 292 | m_PrefabInstance: {fileID: 0} 293 | m_PrefabAsset: {fileID: 0} 294 | serializedVersion: 6 295 | m_Component: 296 | - component: {fileID: 1948176433} 297 | - component: {fileID: 1948176432} 298 | - component: {fileID: 1948176431} 299 | m_Layer: 0 300 | m_Name: Camera 301 | m_TagString: Untagged 302 | m_Icon: {fileID: 0} 303 | m_NavMeshLayer: 0 304 | m_StaticEditorFlags: 0 305 | m_IsActive: 1 306 | --- !u!81 &1948176431 307 | AudioListener: 308 | m_ObjectHideFlags: 0 309 | m_CorrespondingSourceObject: {fileID: 0} 310 | m_PrefabInstance: {fileID: 0} 311 | m_PrefabAsset: {fileID: 0} 312 | m_GameObject: {fileID: 1948176430} 313 | m_Enabled: 1 314 | --- !u!20 &1948176432 315 | Camera: 316 | m_ObjectHideFlags: 0 317 | m_CorrespondingSourceObject: {fileID: 0} 318 | m_PrefabInstance: {fileID: 0} 319 | m_PrefabAsset: {fileID: 0} 320 | m_GameObject: {fileID: 1948176430} 321 | m_Enabled: 1 322 | serializedVersion: 2 323 | m_ClearFlags: 1 324 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 325 | m_projectionMatrixMode: 1 326 | m_SensorSize: {x: 36, y: 24} 327 | m_LensShift: {x: 0, y: 0} 328 | m_GateFitMode: 2 329 | m_FocalLength: 50 330 | m_NormalizedViewPortRect: 331 | serializedVersion: 2 332 | x: 0 333 | y: 0 334 | width: 1 335 | height: 1 336 | near clip plane: 0.3 337 | far clip plane: 1000 338 | field of view: 60 339 | orthographic: 0 340 | orthographic size: 5 341 | m_Depth: 0 342 | m_CullingMask: 343 | serializedVersion: 2 344 | m_Bits: 4294967295 345 | m_RenderingPath: -1 346 | m_TargetTexture: {fileID: 0} 347 | m_TargetDisplay: 0 348 | m_TargetEye: 3 349 | m_HDR: 1 350 | m_AllowMSAA: 1 351 | m_AllowDynamicResolution: 0 352 | m_ForceIntoRT: 0 353 | m_OcclusionCulling: 1 354 | m_StereoConvergence: 10 355 | m_StereoSeparation: 0.022 356 | --- !u!4 &1948176433 357 | Transform: 358 | m_ObjectHideFlags: 0 359 | m_CorrespondingSourceObject: {fileID: 0} 360 | m_PrefabInstance: {fileID: 0} 361 | m_PrefabAsset: {fileID: 0} 362 | m_GameObject: {fileID: 1948176430} 363 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 364 | m_LocalPosition: {x: 0.25, y: 1.134, z: -3.75} 365 | m_LocalScale: {x: 1, y: 1, z: 1} 366 | m_Children: [] 367 | m_Father: {fileID: 0} 368 | m_RootOrder: 1 369 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 370 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f4f77fc5540d834facd1c54de8fd035 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf28ca0eb3450564e940594686d86ec1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/Rabbit.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class Rabbit 5 | { 6 | 7 | public static Vector3[] vertices = { 8 | new Vector3(-0.334392f,0.133007f,0.062259f), 9 | new Vector3(-0.350189f,0.150354f,-0.147769f), 10 | new Vector3(-0.234201f,0.343811f,-0.174307f), 11 | new Vector3(-0.200259f,0.285207f,0.093749f), 12 | new Vector3(0.003520f,0.475208f,-0.159365f), 13 | new Vector3(0.001856f,0.419203f,0.098582f), 14 | new Vector3(-0.252802f,0.093666f,0.237538f), 15 | new Vector3(-0.162901f,0.237984f,0.206905f), 16 | new Vector3(0.000865f,0.318141f,0.235370f), 17 | new Vector3(-0.414624f,0.164083f,-0.278254f), 18 | new Vector3(-0.262213f,0.357334f,-0.293246f), 19 | new Vector3(0.004628f,0.482694f,-0.338626f), 20 | new Vector3(-0.402162f,0.133528f,-0.443247f), 21 | new Vector3(-0.243781f,0.324275f,-0.436763f), 22 | new Vector3(0.005293f,0.437592f,-0.458332f), 23 | new Vector3(-0.339884f,-0.041150f,-0.668211f), 24 | new Vector3(-0.248382f,0.255825f,-0.627493f), 25 | new Vector3(0.006261f,0.376103f,-0.631506f), 26 | new Vector3(-0.216201f,-0.126776f,-0.886936f), 27 | new Vector3(-0.171075f,0.011544f,-0.881386f), 28 | new Vector3(-0.181074f,0.098223f,-0.814779f), 29 | new Vector3(-0.119891f,0.218786f,-0.760153f), 30 | new Vector3(-0.078895f,0.276780f,-0.739281f), 31 | new Vector3(0.006801f,0.310959f,-0.735661f), 32 | new Vector3(-0.168842f,0.102387f,-0.920381f), 33 | new Vector3(-0.104072f,0.177278f,-0.952530f), 34 | new Vector3(-0.129704f,0.211848f,-0.836678f), 35 | new Vector3(-0.099875f,0.310931f,-0.799381f), 36 | new Vector3(0.007237f,0.361687f,-0.794439f), 37 | new Vector3(-0.077913f,0.258753f,-0.921640f), 38 | new Vector3(0.007957f,0.282241f,-0.931680f), 39 | new Vector3(-0.252222f,-0.550401f,-0.557810f), 40 | new Vector3(-0.267633f,-0.603419f,-0.655209f), 41 | new Vector3(-0.446838f,-0.118517f,-0.466159f), 42 | new Vector3(-0.459488f,-0.093017f,-0.311341f), 43 | new Vector3(-0.370645f,-0.100108f,-0.159454f), 44 | new Vector3(-0.371984f,-0.091991f,-0.011044f), 45 | new Vector3(-0.328945f,-0.098269f,0.088659f), 46 | new Vector3(-0.282452f,-0.018862f,0.311501f), 47 | new Vector3(-0.352403f,-0.131341f,0.144902f), 48 | new Vector3(-0.364126f,-0.200299f,0.202388f), 49 | new Vector3(-0.283965f,-0.231869f,0.023668f), 50 | new Vector3(-0.298943f,-0.155218f,0.369716f), 51 | new Vector3(-0.293787f,-0.121856f,0.419097f), 52 | new Vector3(-0.290163f,-0.290797f,0.107824f), 53 | new Vector3(-0.264165f,-0.272849f,0.036347f), 54 | new Vector3(-0.228567f,-0.372573f,0.290309f), 55 | new Vector3(-0.190431f,-0.286997f,0.421917f), 56 | new Vector3(-0.191039f,-0.240973f,0.507118f), 57 | new Vector3(-0.287272f,-0.276431f,-0.065444f), 58 | new Vector3(-0.295675f,-0.280818f,-0.174200f), 59 | new Vector3(-0.399537f,-0.313131f,-0.376167f), 60 | new Vector3(-0.392666f,-0.488581f,-0.427494f), 61 | new Vector3(-0.331669f,-0.570185f,-0.466054f), 62 | new Vector3(-0.282290f,-0.618140f,-0.589220f), 63 | new Vector3(-0.374238f,-0.594882f,-0.323298f), 64 | new Vector3(-0.381071f,-0.629723f,-0.350777f), 65 | new Vector3(-0.382112f,-0.624060f,-0.221577f), 66 | new Vector3(-0.272701f,-0.566522f,0.259157f), 67 | new Vector3(-0.256702f,-0.663406f,0.286079f), 68 | new Vector3(-0.280948f,-0.428359f,0.055790f), 69 | new Vector3(-0.184974f,-0.508894f,0.326265f), 70 | new Vector3(-0.279971f,-0.526918f,0.395319f), 71 | new Vector3(-0.282599f,-0.663393f,0.412411f), 72 | new Vector3(-0.188329f,-0.475093f,0.417954f), 73 | new Vector3(-0.263384f,-0.663396f,0.466604f), 74 | new Vector3(-0.209063f,-0.663393f,0.509344f), 75 | new Vector3(-0.002044f,-0.319624f,0.553078f), 76 | new Vector3(-0.001266f,-0.371260f,0.413296f), 77 | new Vector3(-0.219753f,-0.339762f,-0.040921f), 78 | new Vector3(-0.256986f,-0.282511f,-0.006349f), 79 | new Vector3(-0.271706f,-0.260881f,0.001764f), 80 | new Vector3(-0.091191f,-0.419184f,-0.045912f), 81 | new Vector3(-0.114944f,-0.429752f,-0.124739f), 82 | new Vector3(-0.113970f,-0.382987f,-0.188540f), 83 | new Vector3(-0.243012f,-0.464942f,-0.242850f), 84 | new Vector3(-0.314815f,-0.505402f,-0.324768f), 85 | new Vector3(0.002774f,-0.437526f,-0.262766f), 86 | new Vector3(-0.072625f,-0.417748f,-0.221440f), 87 | new Vector3(-0.160112f,-0.476932f,-0.293450f), 88 | new Vector3(0.003859f,-0.453425f,-0.443916f), 89 | new Vector3(-0.120363f,-0.581567f,-0.438689f), 90 | new Vector3(-0.091499f,-0.584191f,-0.294511f), 91 | new Vector3(-0.116469f,-0.599861f,-0.188308f), 92 | new Vector3(-0.208032f,-0.513640f,-0.134649f), 93 | new Vector3(-0.235749f,-0.610017f,-0.040939f), 94 | new Vector3(-0.344916f,-0.622487f,-0.085380f), 95 | new Vector3(-0.336401f,-0.531864f,-0.212298f), 96 | new Vector3(0.001961f,-0.459550f,-0.135547f), 97 | new Vector3(-0.058296f,-0.430536f,-0.043440f), 98 | new Vector3(0.001378f,-0.449511f,-0.037762f), 99 | new Vector3(-0.130135f,-0.510222f,0.079144f), 100 | new Vector3(0.000142f,-0.477549f,0.157064f), 101 | new Vector3(-0.114284f,-0.453206f,0.304397f), 102 | new Vector3(-0.000592f,-0.443558f,0.285401f), 103 | new Vector3(-0.056215f,-0.663402f,0.326073f), 104 | new Vector3(-0.026248f,-0.568010f,0.273318f), 105 | new Vector3(-0.049261f,-0.531064f,0.389854f), 106 | new Vector3(-0.127096f,-0.663398f,0.479316f), 107 | new Vector3(-0.058384f,-0.663401f,0.372891f), 108 | new Vector3(-0.303961f,0.054199f,0.625921f), 109 | new Vector3(-0.268594f,0.193403f,0.502766f), 110 | new Vector3(-0.277159f,0.126123f,0.443289f), 111 | new Vector3(-0.287605f,-0.005722f,0.531844f), 112 | new Vector3(-0.231396f,-0.121289f,0.587387f), 113 | new Vector3(-0.253475f,-0.081797f,0.756541f), 114 | new Vector3(-0.195164f,-0.137969f,0.728011f), 115 | new Vector3(-0.167673f,-0.156573f,0.609388f), 116 | new Vector3(-0.145917f,-0.169029f,0.697600f), 117 | new Vector3(-0.077776f,-0.214247f,0.622586f), 118 | new Vector3(-0.076873f,-0.214971f,0.696301f), 119 | new Vector3(-0.002341f,-0.233135f,0.622859f), 120 | new Vector3(-0.002730f,-0.213526f,0.691267f), 121 | new Vector3(-0.003136f,-0.192628f,0.762731f), 122 | new Vector3(-0.056136f,-0.201222f,0.763806f), 123 | new Vector3(-0.114589f,-0.166192f,0.770723f), 124 | new Vector3(-0.155145f,-0.129632f,0.791738f), 125 | new Vector3(-0.183611f,-0.058705f,0.847012f), 126 | new Vector3(-0.165562f,0.001980f,0.833386f), 127 | new Vector3(-0.220084f,0.019914f,0.768935f), 128 | new Vector3(-0.255730f,0.090306f,0.670782f), 129 | new Vector3(-0.255594f,0.113833f,0.663389f), 130 | new Vector3(-0.226380f,0.212655f,0.617740f), 131 | new Vector3(-0.003367f,-0.195342f,0.799680f), 132 | new Vector3(-0.029743f,-0.210508f,0.827180f), 133 | new Vector3(-0.003818f,-0.194783f,0.873636f), 134 | new Vector3(-0.004116f,-0.157907f,0.931268f), 135 | new Vector3(-0.031280f,-0.184555f,0.889476f), 136 | new Vector3(-0.059885f,-0.184448f,0.841330f), 137 | new Vector3(-0.135333f,-0.164332f,0.878200f), 138 | new Vector3(-0.085574f,-0.170948f,0.925547f), 139 | new Vector3(-0.163833f,-0.094170f,0.897114f), 140 | new Vector3(-0.138444f,-0.104250f,0.945975f), 141 | new Vector3(-0.083497f,-0.084934f,0.979607f), 142 | new Vector3(-0.004433f,-0.146642f,0.985872f), 143 | new Vector3(-0.150715f,0.032650f,0.884111f), 144 | new Vector3(-0.135892f,-0.035520f,0.945455f), 145 | new Vector3(-0.070612f,0.036849f,0.975733f), 146 | new Vector3(-0.004458f,-0.042526f,1.015670f), 147 | new Vector3(-0.004249f,0.046042f,1.003240f), 148 | new Vector3(-0.086969f,0.133224f,0.947633f), 149 | new Vector3(-0.003873f,0.161605f,0.970499f), 150 | new Vector3(-0.125544f,0.140012f,0.917678f), 151 | new Vector3(-0.125651f,0.250246f,0.857602f), 152 | new Vector3(-0.003127f,0.284070f,0.878870f), 153 | new Vector3(-0.159174f,0.125726f,0.888878f), 154 | new Vector3(-0.183807f,0.196970f,0.844480f), 155 | new Vector3(-0.159890f,0.291736f,0.732480f), 156 | new Vector3(-0.199495f,0.207230f,0.779864f), 157 | new Vector3(-0.206182f,0.164608f,0.693257f), 158 | new Vector3(-0.186315f,0.160689f,0.817193f), 159 | new Vector3(-0.192827f,0.166706f,0.782271f), 160 | new Vector3(-0.175112f,0.110008f,0.860621f), 161 | new Vector3(-0.161022f,0.057420f,0.855111f), 162 | new Vector3(-0.172319f,0.036155f,0.816189f), 163 | new Vector3(-0.190318f,0.064083f,0.760605f), 164 | new Vector3(-0.195072f,0.129179f,0.731104f), 165 | new Vector3(-0.203126f,0.410287f,0.680536f), 166 | new Vector3(-0.216677f,0.309274f,0.642272f), 167 | new Vector3(-0.241515f,0.311485f,0.587832f), 168 | new Vector3(-0.002209f,0.366663f,0.749413f), 169 | new Vector3(-0.088230f,0.396265f,0.678635f), 170 | new Vector3(-0.170147f,0.109517f,0.840784f), 171 | new Vector3(-0.160521f,0.067766f,0.830650f), 172 | new Vector3(-0.181546f,0.139805f,0.812146f), 173 | new Vector3(-0.180495f,0.148568f,0.776087f), 174 | new Vector3(-0.180255f,0.129125f,0.744192f), 175 | new Vector3(-0.186298f,0.078308f,0.769352f), 176 | new Vector3(-0.167622f,0.060539f,0.806675f), 177 | new Vector3(-0.189876f,0.102760f,0.802582f), 178 | new Vector3(-0.108340f,0.455446f,0.657174f), 179 | new Vector3(-0.241585f,0.527592f,0.669296f), 180 | new Vector3(-0.265676f,0.513366f,0.634594f), 181 | new Vector3(-0.203073f,0.478550f,0.581526f), 182 | new Vector3(-0.266772f,0.642330f,0.602061f), 183 | new Vector3(-0.216961f,0.564846f,0.535435f), 184 | new Vector3(-0.202210f,0.525495f,0.475944f), 185 | new Vector3(-0.193888f,0.467925f,0.520606f), 186 | new Vector3(-0.265837f,0.757267f,0.500933f), 187 | new Vector3(-0.240306f,0.653440f,0.463215f), 188 | new Vector3(-0.309239f,0.776868f,0.304726f), 189 | new Vector3(-0.271009f,0.683094f,0.382018f), 190 | new Vector3(-0.312111f,0.671099f,0.286687f), 191 | new Vector3(-0.268791f,0.624342f,0.377231f), 192 | new Vector3(-0.302457f,0.533996f,0.360289f), 193 | new Vector3(-0.263656f,0.529310f,0.412564f), 194 | new Vector3(-0.282311f,0.415167f,0.447666f), 195 | new Vector3(-0.239201f,0.442096f,0.495604f), 196 | new Vector3(-0.220043f,0.569026f,0.445877f), 197 | new Vector3(-0.001263f,0.395631f,0.602029f), 198 | new Vector3(-0.057345f,0.442535f,0.572224f), 199 | new Vector3(-0.088927f,0.506333f,0.529106f), 200 | new Vector3(-0.125738f,0.535076f,0.612913f), 201 | new Vector3(-0.126251f,0.577170f,0.483159f), 202 | new Vector3(-0.149594f,0.611520f,0.557731f), 203 | new Vector3(-0.163188f,0.660791f,0.491080f), 204 | new Vector3(-0.172482f,0.663387f,0.415416f), 205 | new Vector3(-0.160464f,0.591710f,0.370659f), 206 | new Vector3(-0.156445f,0.536396f,0.378302f), 207 | new Vector3(-0.136496f,0.444358f,0.425226f), 208 | new Vector3(-0.095564f,0.373768f,0.473659f), 209 | new Vector3(-0.104146f,0.315912f,0.498104f), 210 | new Vector3(-0.000496f,0.384194f,0.473817f), 211 | new Vector3(-0.000183f,0.297770f,0.401486f), 212 | new Vector3(-0.129042f,0.270145f,0.434495f), 213 | new Vector3(0.000100f,0.272963f,0.349138f), 214 | new Vector3(-0.113060f,0.236984f,0.385554f), 215 | new Vector3(0.007260f,0.016311f,-0.883396f), 216 | new Vector3(0.007865f,0.122104f,-0.956137f), 217 | new Vector3(-0.032842f,0.115282f,-0.953252f), 218 | new Vector3(-0.089115f,0.108449f,-0.950317f), 219 | new Vector3(-0.047440f,0.014729f,-0.882756f), 220 | new Vector3(-0.104458f,0.013137f,-0.882070f), 221 | new Vector3(-0.086439f,-0.584866f,-0.608343f), 222 | new Vector3(-0.115026f,-0.662605f,-0.436732f), 223 | new Vector3(-0.071683f,-0.665372f,-0.606385f), 224 | new Vector3(-0.257884f,-0.665381f,-0.658052f), 225 | new Vector3(-0.272542f,-0.665381f,-0.592063f), 226 | new Vector3(-0.371322f,-0.665382f,-0.353620f), 227 | new Vector3(-0.372362f,-0.665381f,-0.224420f), 228 | new Vector3(-0.335166f,-0.665380f,-0.078623f), 229 | new Vector3(-0.225999f,-0.665375f,-0.038981f), 230 | new Vector3(-0.106719f,-0.665374f,-0.186351f), 231 | new Vector3(-0.081749f,-0.665372f,-0.292554f), 232 | new Vector3(0.006943f,-0.091505f,-0.858354f), 233 | new Vector3(0.006117f,-0.280985f,-0.769967f), 234 | new Vector3(0.004495f,-0.502360f,-0.559799f), 235 | new Vector3(-0.198638f,-0.302135f,-0.845816f), 236 | new Vector3(-0.237395f,-0.542544f,-0.587188f), 237 | new Vector3(-0.270001f,-0.279489f,-0.669861f), 238 | new Vector3(-0.134547f,-0.119852f,-0.959004f), 239 | new Vector3(-0.052088f,-0.122463f,-0.944549f), 240 | new Vector3(-0.124463f,-0.293508f,-0.899566f), 241 | new Vector3(-0.047616f,-0.289643f,-0.879292f), 242 | new Vector3(-0.168595f,-0.529132f,-0.654931f), 243 | new Vector3(-0.099793f,-0.515719f,-0.645873f), 244 | new Vector3(-0.186168f,-0.605282f,-0.724690f), 245 | new Vector3(-0.112970f,-0.583097f,-0.707469f), 246 | new Vector3(-0.108152f,-0.665375f,-0.700408f), 247 | new Vector3(-0.183019f,-0.665378f,-0.717630f), 248 | new Vector3(-0.349529f,-0.334459f,-0.511985f), 249 | new Vector3(-0.141182f,-0.437705f,-0.798194f), 250 | new Vector3(-0.212670f,-0.448725f,-0.737447f), 251 | new Vector3(-0.261111f,-0.414945f,-0.613835f), 252 | new Vector3(-0.077364f,-0.431480f,-0.778113f), 253 | new Vector3(0.005174f,-0.425277f,-0.651592f), 254 | new Vector3(0.089236f,-0.431732f,-0.777093f), 255 | new Vector3(0.271006f,-0.415749f,-0.610577f), 256 | new Vector3(0.223981f,-0.449384f,-0.734774f), 257 | new Vector3(0.153275f,-0.438150f,-0.796391f), 258 | new Vector3(0.358414f,-0.335529f,-0.507649f), 259 | new Vector3(0.193434f,-0.665946f,-0.715325f), 260 | new Vector3(0.118363f,-0.665717f,-0.699021f), 261 | new Vector3(0.123515f,-0.583454f,-0.706020f), 262 | new Vector3(0.196851f,-0.605860f,-0.722345f), 263 | new Vector3(0.109788f,-0.516035f,-0.644590f), 264 | new Vector3(0.178656f,-0.529656f,-0.652804f), 265 | new Vector3(0.061157f,-0.289807f,-0.878626f), 266 | new Vector3(0.138234f,-0.293905f,-0.897958f), 267 | new Vector3(0.066933f,-0.122643f,-0.943820f), 268 | new Vector3(0.149571f,-0.120281f,-0.957264f), 269 | new Vector3(0.280989f,-0.280321f,-0.666487f), 270 | new Vector3(0.246581f,-0.543275f,-0.584224f), 271 | new Vector3(0.211720f,-0.302754f,-0.843303f), 272 | new Vector3(0.086966f,-0.665627f,-0.291520f), 273 | new Vector3(0.110634f,-0.665702f,-0.185021f), 274 | new Vector3(0.228099f,-0.666061f,-0.036201f), 275 | new Vector3(0.337743f,-0.666396f,-0.074503f), 276 | new Vector3(0.376722f,-0.666513f,-0.219833f), 277 | new Vector3(0.377265f,-0.666513f,-0.349036f), 278 | new Vector3(0.281411f,-0.666217f,-0.588670f), 279 | new Vector3(0.267564f,-0.666174f,-0.654834f), 280 | new Vector3(0.080745f,-0.665602f,-0.605452f), 281 | new Vector3(0.122016f,-0.662963f,-0.435280f), 282 | new Vector3(0.095767f,-0.585141f,-0.607228f), 283 | new Vector3(0.118944f,0.012799f,-0.880702f), 284 | new Vector3(0.061944f,0.014564f,-0.882086f), 285 | new Vector3(0.104725f,0.108156f,-0.949130f), 286 | new Vector3(0.048513f,0.115159f,-0.952753f), 287 | new Vector3(0.112696f,0.236643f,0.386937f), 288 | new Vector3(0.128177f,0.269757f,0.436071f), 289 | new Vector3(0.102643f,0.315600f,0.499370f), 290 | new Vector3(0.094535f,0.373481f,0.474824f), 291 | new Vector3(0.136270f,0.443946f,0.426895f), 292 | new Vector3(0.157071f,0.535923f,0.380222f), 293 | new Vector3(0.161350f,0.591224f,0.372630f), 294 | new Vector3(0.173035f,0.662865f,0.417531f), 295 | new Vector3(0.162808f,0.660299f,0.493077f), 296 | new Vector3(0.148250f,0.611070f,0.559555f), 297 | new Vector3(0.125719f,0.576790f,0.484702f), 298 | new Vector3(0.123489f,0.534699f,0.614440f), 299 | new Vector3(0.087621f,0.506066f,0.530188f), 300 | new Vector3(0.055321f,0.442365f,0.572915f), 301 | new Vector3(0.219936f,0.568361f,0.448571f), 302 | new Vector3(0.238099f,0.441375f,0.498528f), 303 | new Vector3(0.281711f,0.414315f,0.451121f), 304 | new Vector3(0.263833f,0.528513f,0.415794f), 305 | new Vector3(0.303284f,0.533081f,0.363998f), 306 | new Vector3(0.269687f,0.623528f,0.380528f), 307 | new Vector3(0.314255f,0.670153f,0.290524f), 308 | new Vector3(0.272023f,0.682273f,0.385343f), 309 | new Vector3(0.311480f,0.775931f,0.308527f), 310 | new Vector3(0.240239f,0.652714f,0.466159f), 311 | new Vector3(0.265619f,0.756464f,0.504187f), 312 | new Vector3(0.192562f,0.467341f,0.522972f), 313 | new Vector3(0.201605f,0.524885f,0.478417f), 314 | new Vector3(0.215743f,0.564193f,0.538084f), 315 | new Vector3(0.264969f,0.641527f,0.605317f), 316 | new Vector3(0.201031f,0.477940f,0.584002f), 317 | new Vector3(0.263086f,0.512567f,0.637832f), 318 | new Vector3(0.238615f,0.526867f,0.672237f), 319 | new Vector3(0.105309f,0.455123f,0.658482f), 320 | new Vector3(0.183993f,0.102195f,0.804872f), 321 | new Vector3(0.161563f,0.060042f,0.808692f), 322 | new Vector3(0.180748f,0.077754f,0.771600f), 323 | new Vector3(0.175168f,0.128588f,0.746368f), 324 | new Vector3(0.175075f,0.148030f,0.778264f), 325 | new Vector3(0.175658f,0.139265f,0.814333f), 326 | new Vector3(0.154191f,0.067291f,0.832578f), 327 | new Vector3(0.163818f,0.109013f,0.842830f), 328 | new Vector3(0.084760f,0.396004f,0.679695f), 329 | new Vector3(0.238888f,0.310760f,0.590775f), 330 | new Vector3(0.213380f,0.308625f,0.644905f), 331 | new Vector3(0.199666f,0.409678f,0.683003f), 332 | new Vector3(0.190143f,0.128597f,0.733463f), 333 | new Vector3(0.184833f,0.063516f,0.762902f), 334 | new Vector3(0.166070f,0.035644f,0.818261f), 335 | new Vector3(0.154361f,0.056943f,0.857042f), 336 | new Vector3(0.168542f,0.109489f,0.862725f), 337 | new Vector3(0.187387f,0.166131f,0.784599f), 338 | new Vector3(0.180428f,0.160135f,0.819438f), 339 | new Vector3(0.201823f,0.163991f,0.695756f), 340 | new Vector3(0.194206f,0.206635f,0.782275f), 341 | new Vector3(0.155438f,0.291260f,0.734412f), 342 | new Vector3(0.177696f,0.196424f,0.846693f), 343 | new Vector3(0.152305f,0.125256f,0.890786f), 344 | new Vector3(0.119546f,0.249876f,0.859104f), 345 | new Vector3(0.118369f,0.139643f,0.919173f), 346 | new Vector3(0.079410f,0.132973f,0.948652f), 347 | new Vector3(0.062419f,0.036648f,0.976547f), 348 | new Vector3(0.127847f,-0.035919f,0.947070f), 349 | new Vector3(0.143624f,0.032206f,0.885913f), 350 | new Vector3(0.074888f,-0.085173f,0.980577f), 351 | new Vector3(0.130184f,-0.104656f,0.947620f), 352 | new Vector3(0.156201f,-0.094653f,0.899074f), 353 | new Vector3(0.077366f,-0.171194f,0.926545f), 354 | new Vector3(0.127722f,-0.164729f,0.879810f), 355 | new Vector3(0.052670f,-0.184618f,0.842019f), 356 | new Vector3(0.023477f,-0.184638f,0.889811f), 357 | new Vector3(0.022626f,-0.210587f,0.827500f), 358 | new Vector3(0.223089f,0.211976f,0.620493f), 359 | new Vector3(0.251444f,0.113067f,0.666494f), 360 | new Vector3(0.251419f,0.089540f,0.673887f), 361 | new Vector3(0.214360f,0.019258f,0.771595f), 362 | new Vector3(0.158999f,0.001490f,0.835374f), 363 | new Vector3(0.176696f,-0.059249f,0.849218f), 364 | new Vector3(0.148696f,-0.130091f,0.793599f), 365 | new Vector3(0.108290f,-0.166528f,0.772088f), 366 | new Vector3(0.049820f,-0.201382f,0.764454f), 367 | new Vector3(0.071341f,-0.215195f,0.697209f), 368 | new Vector3(0.073148f,-0.214475f,0.623510f), 369 | new Vector3(0.140502f,-0.169461f,0.699354f), 370 | new Vector3(0.163374f,-0.157073f,0.611416f), 371 | new Vector3(0.189466f,-0.138550f,0.730366f), 372 | new Vector3(0.247593f,-0.082554f,0.759610f), 373 | new Vector3(0.227468f,-0.121982f,0.590197f), 374 | new Vector3(0.284702f,-0.006586f,0.535347f), 375 | new Vector3(0.275741f,0.125287f,0.446676f), 376 | new Vector3(0.266650f,0.192594f,0.506044f), 377 | new Vector3(0.300086f,0.053287f,0.629620f), 378 | new Vector3(0.055450f,-0.663935f,0.375065f), 379 | new Vector3(0.122854f,-0.664138f,0.482323f), 380 | new Vector3(0.046520f,-0.531571f,0.391918f), 381 | new Vector3(0.024824f,-0.568450f,0.275106f), 382 | new Vector3(0.053855f,-0.663931f,0.328224f), 383 | new Vector3(0.112829f,-0.453549f,0.305788f), 384 | new Vector3(0.131265f,-0.510617f,0.080746f), 385 | new Vector3(0.061174f,-0.430716f,-0.042710f), 386 | new Vector3(0.341019f,-0.532887f,-0.208150f), 387 | new Vector3(0.347705f,-0.623533f,-0.081139f), 388 | new Vector3(0.238040f,-0.610732f,-0.038037f), 389 | new Vector3(0.211764f,-0.514274f,-0.132078f), 390 | new Vector3(0.120605f,-0.600219f,-0.186856f), 391 | new Vector3(0.096985f,-0.584476f,-0.293357f), 392 | new Vector3(0.127621f,-0.581941f,-0.437170f), 393 | new Vector3(0.165902f,-0.477425f,-0.291453f), 394 | new Vector3(0.077720f,-0.417975f,-0.220519f), 395 | new Vector3(0.320892f,-0.506363f,-0.320874f), 396 | new Vector3(0.248214f,-0.465684f,-0.239842f), 397 | new Vector3(0.118764f,-0.383338f,-0.187114f), 398 | new Vector3(0.118816f,-0.430106f,-0.123307f), 399 | new Vector3(0.094131f,-0.419464f,-0.044777f), 400 | new Vector3(0.274526f,-0.261706f,0.005110f), 401 | new Vector3(0.259842f,-0.283292f,-0.003185f), 402 | new Vector3(0.222861f,-0.340431f,-0.038210f), 403 | new Vector3(0.204445f,-0.664380f,0.513353f), 404 | new Vector3(0.259286f,-0.664547f,0.471281f), 405 | new Vector3(0.185402f,-0.476020f,0.421718f), 406 | new Vector3(0.279163f,-0.664604f,0.417328f), 407 | new Vector3(0.277157f,-0.528122f,0.400208f), 408 | new Vector3(0.183069f,-0.509812f,0.329995f), 409 | new Vector3(0.282599f,-0.429210f,0.059242f), 410 | new Vector3(0.254816f,-0.664541f,0.290687f), 411 | new Vector3(0.271436f,-0.567707f,0.263966f), 412 | new Vector3(0.386561f,-0.625221f,-0.216870f), 413 | new Vector3(0.387086f,-0.630883f,-0.346073f), 414 | new Vector3(0.380021f,-0.596021f,-0.318679f), 415 | new Vector3(0.291269f,-0.619007f,-0.585707f), 416 | new Vector3(0.339280f,-0.571198f,-0.461946f), 417 | new Vector3(0.400045f,-0.489778f,-0.422640f), 418 | new Vector3(0.406817f,-0.314349f,-0.371230f), 419 | new Vector3(0.300588f,-0.281718f,-0.170549f), 420 | new Vector3(0.290866f,-0.277304f,-0.061905f), 421 | new Vector3(0.187735f,-0.241545f,0.509437f), 422 | new Vector3(0.188032f,-0.287569f,0.424234f), 423 | new Vector3(0.227520f,-0.373262f,0.293102f), 424 | new Vector3(0.266526f,-0.273650f,0.039597f), 425 | new Vector3(0.291592f,-0.291676f,0.111386f), 426 | new Vector3(0.291914f,-0.122741f,0.422683f), 427 | new Vector3(0.297574f,-0.156119f,0.373368f), 428 | new Vector3(0.286603f,-0.232731f,0.027162f), 429 | new Vector3(0.364663f,-0.201399f,0.206850f), 430 | new Vector3(0.353855f,-0.132408f,0.149228f), 431 | new Vector3(0.282208f,-0.019715f,0.314960f), 432 | new Vector3(0.331187f,-0.099266f,0.092701f), 433 | new Vector3(0.375463f,-0.093120f,-0.006467f), 434 | new Vector3(0.375917f,-0.101236f,-0.154882f), 435 | new Vector3(0.466635f,-0.094416f,-0.305669f), 436 | new Vector3(0.455805f,-0.119881f,-0.460632f), 437 | new Vector3(0.277465f,-0.604242f,-0.651871f), 438 | new Vector3(0.261022f,-0.551176f,-0.554667f), 439 | new Vector3(0.093627f,0.258494f,-0.920589f), 440 | new Vector3(0.114248f,0.310608f,-0.798070f), 441 | new Vector3(0.144232f,0.211434f,-0.835001f), 442 | new Vector3(0.119916f,0.176940f,-0.951159f), 443 | new Vector3(0.184061f,0.101854f,-0.918220f), 444 | new Vector3(0.092431f,0.276521f,-0.738231f), 445 | new Vector3(0.133504f,0.218403f,-0.758602f), 446 | new Vector3(0.194987f,0.097655f,-0.812476f), 447 | new Vector3(0.185542f,0.011005f,-0.879202f), 448 | new Vector3(0.230315f,-0.127450f,-0.884202f), 449 | new Vector3(0.260471f,0.255056f,-0.624378f), 450 | new Vector3(0.351567f,-0.042194f,-0.663976f), 451 | new Vector3(0.253742f,0.323524f,-0.433716f), 452 | new Vector3(0.411612f,0.132299f,-0.438264f), 453 | new Vector3(0.270513f,0.356530f,-0.289984f), 454 | new Vector3(0.422146f,0.162819f,-0.273130f), 455 | new Vector3(0.164724f,0.237490f,0.208912f), 456 | new Vector3(0.253806f,0.092900f,0.240640f), 457 | new Vector3(0.203608f,0.284597f,0.096223f), 458 | new Vector3(0.241006f,0.343093f,-0.171396f), 459 | new Vector3(0.356076f,0.149288f,-0.143443f), 460 | new Vector3(0.337656f,0.131992f,0.066374f) 461 | }; 462 | 463 | public static int[] triangles = { 464 | 126,134,133, 465 | 342,138,134, 466 | 133,134,138, 467 | 126,342,134, 468 | 312,316,317, 469 | 169,163,162, 470 | 312,317,319, 471 | 312,319,318, 472 | 169,162,164, 473 | 169,168,163, 474 | 312,314,315, 475 | 169,164,165, 476 | 169,167,168, 477 | 312,315,316, 478 | 312,313,314, 479 | 169,165,166, 480 | 169,166,167, 481 | 312,318,313, 482 | 308,304,305, 483 | 308,305,306, 484 | 179,181,188, 485 | 177,173,175, 486 | 177,175,176, 487 | 302,293,300, 488 | 322,294,304, 489 | 188,176,175, 490 | 188,175,179, 491 | 158,177,187, 492 | 305,293,302, 493 | 305,302,306, 494 | 322,304,308, 495 | 188,181,183, 496 | 158,173,177, 497 | 293,298,300, 498 | 304,294,296, 499 | 304,296,305, 500 | 185,176,188, 501 | 185,188,183, 502 | 187,177,176, 503 | 187,176,185, 504 | 305,296,298, 505 | 305,298,293, 506 | 436,432, 28, 507 | 436, 28, 23, 508 | 434,278,431, 509 | 30,208,209, 510 | 30,209, 29, 511 | 19, 20, 24, 512 | 208,207,211, 513 | 208,211,209, 514 | 19,210,212, 515 | 433,434,431, 516 | 433,431,432, 517 | 433,432,436, 518 | 436,437,433, 519 | 277,275,276, 520 | 277,276,278, 521 | 209,210, 25, 522 | 21, 26, 24, 523 | 21, 24, 20, 524 | 25, 26, 27, 525 | 25, 27, 29, 526 | 435,439,277, 527 | 439,275,277, 528 | 432,431, 30, 529 | 432, 30, 28, 530 | 433,437,438, 531 | 433,438,435, 532 | 434,277,278, 533 | 24, 25,210, 534 | 24, 26, 25, 535 | 29, 27, 28, 536 | 29, 28, 30, 537 | 19, 24,210, 538 | 208, 30,431, 539 | 208,431,278, 540 | 435,434,433, 541 | 435,277,434, 542 | 25, 29,209, 543 | 27, 22, 23, 544 | 27, 23, 28, 545 | 26, 22, 27, 546 | 26, 21, 22, 547 | 212,210,209, 548 | 212,209,211, 549 | 207,208,278, 550 | 207,278,276, 551 | 439,435,438, 552 | 12, 9, 10, 553 | 12, 10, 13, 554 | 2, 3, 5, 555 | 2, 5, 4, 556 | 16, 13, 14, 557 | 16, 14, 17, 558 | 22, 21, 16, 559 | 13, 10, 11, 560 | 13, 11, 14, 561 | 1, 0, 3, 562 | 1, 3, 2, 563 | 15, 12, 16, 564 | 19, 18, 15, 565 | 19, 15, 16, 566 | 19, 16, 20, 567 | 9, 1, 2, 568 | 9, 2, 10, 569 | 3, 7, 8, 570 | 3, 8, 5, 571 | 16, 17, 23, 572 | 16, 23, 22, 573 | 21, 20, 16, 574 | 10, 2, 4, 575 | 10, 4, 11, 576 | 0, 6, 7, 577 | 0, 7, 3, 578 | 12, 13, 16, 579 | 451,446,445, 580 | 451,445,450, 581 | 442,440,439, 582 | 442,439,438, 583 | 442,438,441, 584 | 421,420,422, 585 | 412,411,426, 586 | 412,426,425, 587 | 408,405,407, 588 | 413, 67, 68, 589 | 413, 68,414, 590 | 391,390,412, 591 | 80,384,386, 592 | 404,406,378, 593 | 390,391,377, 594 | 390,377, 88, 595 | 400,415,375, 596 | 398,396,395, 597 | 398,395,371, 598 | 398,371,370, 599 | 112,359,358, 600 | 112,358,113, 601 | 351,352,369, 602 | 125,349,348, 603 | 345,343,342, 604 | 342,340,339, 605 | 341,335,337, 606 | 328,341,327, 607 | 331,323,333, 608 | 331,322,323, 609 | 327,318,319, 610 | 327,319,328, 611 | 315,314,324, 612 | 302,300,301, 613 | 302,301,303, 614 | 320,311,292, 615 | 285,284,289, 616 | 310,307,288, 617 | 310,288,290, 618 | 321,350,281, 619 | 321,281,282, 620 | 423,448,367, 621 | 272,273,384, 622 | 272,384,274, 623 | 264,265,382, 624 | 264,382,383, 625 | 440,442,261, 626 | 440,261,263, 627 | 252,253,254, 628 | 252,254,251, 629 | 262,256,249, 630 | 262,249,248, 631 | 228,243,242, 632 | 228, 31,243, 633 | 213,215,238, 634 | 213,238,237, 635 | 19,212,230, 636 | 224,225,233, 637 | 224,233,231, 638 | 217,218, 56, 639 | 217, 56, 54, 640 | 217,216,239, 641 | 217,239,238, 642 | 217,238,215, 643 | 218,217,215, 644 | 218,215,214, 645 | 6,102,206, 646 | 186,199,200, 647 | 197,182,180, 648 | 170,171,157, 649 | 201,200,189, 650 | 170,190,191, 651 | 170,191,192, 652 | 175,174,178, 653 | 175,178,179, 654 | 168,167,155, 655 | 122,149,158, 656 | 122,158,159, 657 | 135,153,154, 658 | 135,154,118, 659 | 143,140,141, 660 | 143,141,144, 661 | 132,133,136, 662 | 130,126,133, 663 | 124,125,127, 664 | 122,101,100, 665 | 122,100,121, 666 | 110,108,107, 667 | 110,107,109, 668 | 98, 99, 97, 669 | 98, 97, 64, 670 | 98, 64, 66, 671 | 87, 55, 57, 672 | 83, 82, 79, 673 | 83, 79, 84, 674 | 78, 74, 50, 675 | 49, 71, 41, 676 | 49, 41, 37, 677 | 49, 37, 36, 678 | 58, 44, 60, 679 | 60, 59, 58, 680 | 51, 34, 33, 681 | 39, 40, 42, 682 | 39, 42, 38, 683 | 243,240, 33, 684 | 243, 33,229, 685 | 39, 38, 6, 686 | 44, 46, 40, 687 | 55, 56, 57, 688 | 64, 62, 65, 689 | 64, 65, 66, 690 | 41, 71, 45, 691 | 75, 50, 51, 692 | 81, 79, 82, 693 | 77, 88, 73, 694 | 93, 92, 94, 695 | 68, 47, 46, 696 | 96, 97, 99, 697 | 96, 99, 95, 698 | 110,109,111, 699 | 111,112,110, 700 | 114,113,123, 701 | 114,123,124, 702 | 132,131,129, 703 | 133,137,136, 704 | 135,142,145, 705 | 145,152,135, 706 | 149,147,157, 707 | 157,158,149, 708 | 164,150,151, 709 | 153,163,168, 710 | 153,168,154, 711 | 185,183,182, 712 | 185,182,184, 713 | 161,189,190, 714 | 200,199,191, 715 | 200,191,190, 716 | 180,178,195, 717 | 180,195,196, 718 | 102,101,204, 719 | 102,204,206, 720 | 43, 48,104, 721 | 43,104,103, 722 | 216,217, 54, 723 | 216, 54, 32, 724 | 207,224,231, 725 | 230,212,211, 726 | 230,211,231, 727 | 227,232,241, 728 | 227,241,242, 729 | 235,234,241, 730 | 235,241,244, 731 | 430,248,247, 732 | 272,274,253, 733 | 272,253,252, 734 | 439,260,275, 735 | 225,224,259, 736 | 225,259,257, 737 | 269,270,407, 738 | 269,407,405, 739 | 270,269,273, 740 | 270,273,272, 741 | 273,269,268, 742 | 273,268,267, 743 | 273,267,266, 744 | 273,266,265, 745 | 273,265,264, 746 | 448,279,367, 747 | 281,350,368, 748 | 285,286,301, 749 | 290,323,310, 750 | 290,311,323, 751 | 282,281,189, 752 | 292,311,290, 753 | 292,290,291, 754 | 307,306,302, 755 | 307,302,303, 756 | 316,315,324, 757 | 316,324,329, 758 | 331,351,350, 759 | 330,334,335, 760 | 330,335,328, 761 | 341,337,338, 762 | 344,355,354, 763 | 346,345,348, 764 | 346,348,347, 765 | 364,369,352, 766 | 364,352,353, 767 | 365,363,361, 768 | 365,361,362, 769 | 376,401,402, 770 | 373,372,397, 771 | 373,397,400, 772 | 376, 92,377, 773 | 381,378,387, 774 | 381,387,385, 775 | 386, 77, 80, 776 | 390,389,412, 777 | 416,417,401, 778 | 403,417,415, 779 | 408,429,430, 780 | 419,423,418, 781 | 427,428,444, 782 | 427,444,446, 783 | 437,436,441, 784 | 450,445, 11, 785 | 450, 11, 4, 786 | 447,449, 5, 787 | 447, 5, 8, 788 | 441,438,437, 789 | 425,426,451, 790 | 425,451,452, 791 | 417,421,415, 792 | 408,407,429, 793 | 399,403,400, 794 | 399,400,397, 795 | 394,393,416, 796 | 389,411,412, 797 | 386,383,385, 798 | 408,387,378, 799 | 408,378,406, 800 | 377,391,376, 801 | 94,375,415, 802 | 372,373,374, 803 | 372,374,370, 804 | 359,111,360, 805 | 359,112,111, 806 | 113,358,349, 807 | 113,349,123, 808 | 346,343,345, 809 | 343,340,342, 810 | 338,336,144, 811 | 338,144,141, 812 | 327,341,354, 813 | 327,354,326, 814 | 331,350,321, 815 | 331,321,322, 816 | 314,313,326, 817 | 314,326,325, 818 | 300,298,299, 819 | 300,299,301, 820 | 288,287,289, 821 | 189,292,282, 822 | 287,288,303, 823 | 284,285,297, 824 | 368,280,281, 825 | 448,447,279, 826 | 274,226,255, 827 | 267,268,404, 828 | 267,404,379, 829 | 429,262,430, 830 | 439,440,260, 831 | 257,258,249, 832 | 257,249,246, 833 | 430,262,248, 834 | 234,228,242, 835 | 234,242,241, 836 | 237,238,239, 837 | 237,239,236, 838 | 15, 18,227, 839 | 15,227,229, 840 | 222,223, 82, 841 | 222, 82, 83, 842 | 214,215,213, 843 | 214,213, 81, 844 | 38,102, 6, 845 | 122,159,200, 846 | 122,200,201, 847 | 174,171,192, 848 | 174,192,194, 849 | 197,193,198, 850 | 190,170,161, 851 | 181,179,178, 852 | 181,178,180, 853 | 166,156,155, 854 | 163,153,152, 855 | 163,152,162, 856 | 120,156,149, 857 | 120,149,121, 858 | 152,153,135, 859 | 140,143,142, 860 | 135,131,132, 861 | 135,132,136, 862 | 130,129,128, 863 | 130,128,127, 864 | 100,105,119, 865 | 100,119,120, 866 | 106,104,107, 867 | 106,107,108, 868 | 91, 95, 59, 869 | 93, 94, 68, 870 | 91, 89, 92, 871 | 76, 53, 55, 872 | 76, 55, 87, 873 | 81, 78, 79, 874 | 74, 73, 49, 875 | 69, 60, 45, 876 | 58, 62, 64, 877 | 58, 64, 61, 878 | 53, 31, 32, 879 | 32, 54, 53, 880 | 42, 43, 38, 881 | 35, 36, 0, 882 | 35, 0, 1, 883 | 34, 35, 1, 884 | 34, 1, 9, 885 | 44, 40, 41, 886 | 44, 41, 45, 887 | 33,240, 51, 888 | 63, 62, 58, 889 | 63, 58, 59, 890 | 45, 71, 70, 891 | 76, 75, 51, 892 | 76, 51, 52, 893 | 86, 85, 84, 894 | 86, 84, 87, 895 | 89, 72, 73, 896 | 89, 73, 88, 897 | 91, 92, 96, 898 | 91, 96, 95, 899 | 72, 91, 60, 900 | 72, 60, 69, 901 | 104,106,105, 902 | 119,105,117, 903 | 119,117,118, 904 | 124,127,128, 905 | 117,116,129, 906 | 117,129,131, 907 | 118,117,131, 908 | 135,140,142, 909 | 146,150,152, 910 | 146,152,145, 911 | 149,122,121, 912 | 166,165,151, 913 | 166,151,156, 914 | 158,172,173, 915 | 161,160,189, 916 | 199,198,193, 917 | 199,193,191, 918 | 204,201,202, 919 | 178,174,194, 920 | 200,159,186, 921 | 109, 48, 67, 922 | 48,107,104, 923 | 216, 32,236, 924 | 216,236,239, 925 | 223,214, 81, 926 | 223, 81, 82, 927 | 33, 12, 15, 928 | 32,228,234, 929 | 32,234,236, 930 | 240, 31, 52, 931 | 256,255,246, 932 | 256,246,249, 933 | 258,263,248, 934 | 258,248,249, 935 | 275,260,259, 936 | 275,259,276, 937 | 207,276,259, 938 | 270,271,429, 939 | 270,429,407, 940 | 413,418,366, 941 | 413,366,365, 942 | 368,367,279, 943 | 368,279,280, 944 | 303,301,286, 945 | 303,286,287, 946 | 283,282,292, 947 | 283,292,291, 948 | 320,292,189, 949 | 298,296,297, 950 | 298,297,299, 951 | 318,327,326, 952 | 318,326,313, 953 | 329,330,317, 954 | 336,333,320, 955 | 326,354,353, 956 | 334,332,333, 957 | 334,333,336, 958 | 342,339,139, 959 | 342,139,138, 960 | 345,342,126, 961 | 347,357,356, 962 | 369,368,351, 963 | 363,356,357, 964 | 363,357,361, 965 | 366,367,368, 966 | 366,368,369, 967 | 375,373,400, 968 | 92, 90,377, 969 | 409,387,408, 970 | 386,385,387, 971 | 386,387,388, 972 | 412,394,391, 973 | 396,398,399, 974 | 408,406,405, 975 | 415,421,419, 976 | 415,419,414, 977 | 425,452,448, 978 | 425,448,424, 979 | 444,441,443, 980 | 448,452,449, 981 | 448,449,447, 982 | 446,444,443, 983 | 446,443,445, 984 | 250,247,261, 985 | 250,261,428, 986 | 421,422,423, 987 | 421,423,419, 988 | 427,410,250, 989 | 417,403,401, 990 | 403,402,401, 991 | 420,392,412, 992 | 420,412,425, 993 | 420,425,424, 994 | 386,411,389, 995 | 383,382,381, 996 | 383,381,385, 997 | 378,379,404, 998 | 372,371,395, 999 | 372,395,397, 1000 | 371,372,370, 1001 | 361,359,360, 1002 | 361,360,362, 1003 | 368,350,351, 1004 | 349,347,348, 1005 | 356,355,344, 1006 | 356,344,346, 1007 | 344,341,340, 1008 | 344,340,343, 1009 | 338,337,336, 1010 | 328,335,341, 1011 | 324,352,351, 1012 | 324,351,331, 1013 | 320,144,336, 1014 | 314,325,324, 1015 | 322,308,309, 1016 | 310,309,307, 1017 | 287,286,289, 1018 | 203,280,279, 1019 | 203,279,205, 1020 | 297,295,283, 1021 | 297,283,284, 1022 | 447,205,279, 1023 | 274,384, 80, 1024 | 274, 80,226, 1025 | 266,267,379, 1026 | 266,379,380, 1027 | 225,257,246, 1028 | 225,246,245, 1029 | 256,254,253, 1030 | 256,253,255, 1031 | 430,247,250, 1032 | 226,235,244, 1033 | 226,244,245, 1034 | 232,233,244, 1035 | 232,244,241, 1036 | 230, 18, 19, 1037 | 32, 31,228, 1038 | 219,220, 86, 1039 | 219, 86, 57, 1040 | 226,213,235, 1041 | 206, 7, 6, 1042 | 122,201,101, 1043 | 201,204,101, 1044 | 180,196,197, 1045 | 170,192,171, 1046 | 200,190,189, 1047 | 194,193,195, 1048 | 183,181,180, 1049 | 183,180,182, 1050 | 155,154,168, 1051 | 149,156,151, 1052 | 149,151,148, 1053 | 155,156,120, 1054 | 145,142,143, 1055 | 145,143,146, 1056 | 136,137,140, 1057 | 133,132,130, 1058 | 128,129,116, 1059 | 100,120,121, 1060 | 110,112,113, 1061 | 110,113,114, 1062 | 66, 65, 63, 1063 | 66, 63, 99, 1064 | 66, 99, 98, 1065 | 96, 46, 61, 1066 | 89, 88, 90, 1067 | 86, 87, 57, 1068 | 80, 78, 81, 1069 | 72, 69, 49, 1070 | 67, 48, 47, 1071 | 67, 47, 68, 1072 | 56, 55, 53, 1073 | 50, 49, 36, 1074 | 50, 36, 35, 1075 | 40, 39, 41, 1076 | 242,243,229, 1077 | 242,229,227, 1078 | 6, 37, 39, 1079 | 42, 47, 48, 1080 | 42, 48, 43, 1081 | 61, 46, 44, 1082 | 45, 70, 69, 1083 | 69, 70, 71, 1084 | 69, 71, 49, 1085 | 74, 78, 77, 1086 | 83, 84, 85, 1087 | 73, 74, 77, 1088 | 93, 96, 92, 1089 | 68, 46, 93, 1090 | 95, 99, 63, 1091 | 95, 63, 59, 1092 | 115,108,110, 1093 | 115,110,114, 1094 | 125,126,127, 1095 | 129,130,132, 1096 | 137,133,138, 1097 | 137,138,139, 1098 | 148,146,143, 1099 | 148,143,147, 1100 | 119,118,154, 1101 | 161,147,143, 1102 | 165,164,151, 1103 | 158,157,171, 1104 | 158,171,172, 1105 | 159,158,187, 1106 | 159,187,186, 1107 | 194,192,191, 1108 | 194,191,193, 1109 | 189,202,201, 1110 | 182,197,184, 1111 | 205, 8, 7, 1112 | 48,109,107, 1113 | 218,219, 57, 1114 | 218, 57, 56, 1115 | 207,231,211, 1116 | 232,230,231, 1117 | 232,231,233, 1118 | 53, 52, 31, 1119 | 388,411,386, 1120 | 409,430,250, 1121 | 262,429,254, 1122 | 262,254,256, 1123 | 442,444,428, 1124 | 273,264,383, 1125 | 273,383,384, 1126 | 429,271,251, 1127 | 429,251,254, 1128 | 413,365,362, 1129 | 67,413,360, 1130 | 282,283,295, 1131 | 285,301,299, 1132 | 202,281,280, 1133 | 284,283,291, 1134 | 284,291,289, 1135 | 320,189,160, 1136 | 308,306,307, 1137 | 307,309,308, 1138 | 319,317,330, 1139 | 319,330,328, 1140 | 353,352,324, 1141 | 332,331,333, 1142 | 340,341,338, 1143 | 354,341,344, 1144 | 349,358,357, 1145 | 349,357,347, 1146 | 364,355,356, 1147 | 364,356,363, 1148 | 364,365,366, 1149 | 364,366,369, 1150 | 374,376,402, 1151 | 375, 92,373, 1152 | 77,389,390, 1153 | 382,380,381, 1154 | 389, 77,386, 1155 | 393,394,412, 1156 | 393,412,392, 1157 | 401,394,416, 1158 | 415,400,403, 1159 | 411,410,427, 1160 | 411,427,426, 1161 | 422,420,424, 1162 | 247,248,263, 1163 | 247,263,261, 1164 | 445,443, 14, 1165 | 445, 14, 11, 1166 | 449,450, 4, 1167 | 449, 4, 5, 1168 | 443,441, 17, 1169 | 443, 17, 14, 1170 | 436, 23, 17, 1171 | 436, 17,441, 1172 | 424,448,422, 1173 | 448,423,422, 1174 | 414,419,418, 1175 | 414,418,413, 1176 | 406,404,405, 1177 | 399,397,395, 1178 | 399,395,396, 1179 | 420,416,392, 1180 | 388,410,411, 1181 | 386,384,383, 1182 | 390, 88, 77, 1183 | 375, 94, 92, 1184 | 415,414, 68, 1185 | 415, 68, 94, 1186 | 370,374,402, 1187 | 370,402,398, 1188 | 361,357,358, 1189 | 361,358,359, 1190 | 125,348,126, 1191 | 346,344,343, 1192 | 340,338,339, 1193 | 337,335,334, 1194 | 337,334,336, 1195 | 325,353,324, 1196 | 324,331,332, 1197 | 324,332,329, 1198 | 323,322,309, 1199 | 323,309,310, 1200 | 294,295,297, 1201 | 294,297,296, 1202 | 289,286,285, 1203 | 202,280,203, 1204 | 288,307,303, 1205 | 282,295,321, 1206 | 67,360,111, 1207 | 418,423,367, 1208 | 418,367,366, 1209 | 272,252,251, 1210 | 272,251,271, 1211 | 272,271,270, 1212 | 255,253,274, 1213 | 265,266,380, 1214 | 265,380,382, 1215 | 442,428,261, 1216 | 440,263,258, 1217 | 440,258,260, 1218 | 409,250,410, 1219 | 255,226,245, 1220 | 255,245,246, 1221 | 31,240,243, 1222 | 236,234,235, 1223 | 236,235,237, 1224 | 233,225,245, 1225 | 233,245,244, 1226 | 220,221, 85, 1227 | 220, 85, 86, 1228 | 81,213,226, 1229 | 81,226, 80, 1230 | 7,206,205, 1231 | 186,184,198, 1232 | 186,198,199, 1233 | 204,203,205, 1234 | 204,205,206, 1235 | 195,193,196, 1236 | 171,174,172, 1237 | 173,174,175, 1238 | 173,172,174, 1239 | 155,167,166, 1240 | 160,161,143, 1241 | 160,143,144, 1242 | 119,154,155, 1243 | 148,151,150, 1244 | 148,150,146, 1245 | 140,137,139, 1246 | 140,139,141, 1247 | 127,126,130, 1248 | 114,124,128, 1249 | 114,128,115, 1250 | 117,105,106, 1251 | 117,106,116, 1252 | 104,105,100, 1253 | 104,100,103, 1254 | 59, 60, 91, 1255 | 97, 96, 61, 1256 | 97, 61, 64, 1257 | 91, 72, 89, 1258 | 87, 84, 79, 1259 | 87, 79, 76, 1260 | 78, 80, 77, 1261 | 49, 50, 74, 1262 | 60, 44, 45, 1263 | 61, 44, 58, 1264 | 51, 50, 35, 1265 | 51, 35, 34, 1266 | 39, 37, 41, 1267 | 33, 34, 9, 1268 | 33, 9, 12, 1269 | 0, 36, 37, 1270 | 0, 37, 6, 1271 | 40, 46, 47, 1272 | 40, 47, 42, 1273 | 53, 54, 56, 1274 | 65, 62, 63, 1275 | 72, 49, 73, 1276 | 79, 78, 75, 1277 | 79, 75, 76, 1278 | 52, 53, 76, 1279 | 92, 89, 90, 1280 | 96, 93, 46, 1281 | 102,103,100, 1282 | 102,100,101, 1283 | 116,106,108, 1284 | 116,108,115, 1285 | 123,125,124, 1286 | 116,115,128, 1287 | 118,131,135, 1288 | 140,135,136, 1289 | 148,147,149, 1290 | 120,119,155, 1291 | 164,162,152, 1292 | 164,152,150, 1293 | 157,147,161, 1294 | 157,161,170, 1295 | 186,187,185, 1296 | 186,185,184, 1297 | 193,197,196, 1298 | 202,203,204, 1299 | 194,195,178, 1300 | 198,184,197, 1301 | 67,111,109, 1302 | 38, 43,103, 1303 | 38,103,102, 1304 | 214,223,222, 1305 | 214,222,221, 1306 | 214,221,220, 1307 | 214,220,219, 1308 | 214,219,218, 1309 | 213,237,235, 1310 | 221,222, 83, 1311 | 221, 83, 85, 1312 | 15,229, 33, 1313 | 227, 18,230, 1314 | 227,230,232, 1315 | 52, 51,240, 1316 | 75, 78, 50, 1317 | 408,430,409, 1318 | 260,258,257, 1319 | 260,257,259, 1320 | 224,207,259, 1321 | 268,269,405, 1322 | 268,405,404, 1323 | 413,362,360, 1324 | 447, 8,205, 1325 | 299,297,285, 1326 | 189,281,202, 1327 | 290,288,289, 1328 | 290,289,291, 1329 | 322,321,295, 1330 | 322,295,294, 1331 | 333,323,311, 1332 | 333,311,320, 1333 | 317,316,329, 1334 | 320,160,144, 1335 | 353,325,326, 1336 | 329,332,334, 1337 | 329,334,330, 1338 | 339,338,141, 1339 | 339,141,139, 1340 | 348,345,126, 1341 | 347,356,346, 1342 | 123,349,125, 1343 | 364,353,354, 1344 | 364,354,355, 1345 | 365,364,363, 1346 | 376,391,394, 1347 | 376,394,401, 1348 | 92,376,374, 1349 | 92,374,373, 1350 | 377, 90, 88, 1351 | 380,379,378, 1352 | 380,378,381, 1353 | 388,387,409, 1354 | 388,409,410, 1355 | 416,393,392, 1356 | 399,398,402, 1357 | 399,402,403, 1358 | 250,428,427, 1359 | 421,417,416, 1360 | 421,416,420, 1361 | 426,427,446, 1362 | 426,446,451, 1363 | 444,442,441, 1364 | 452,451,450, 1365 | 452,450,449 1366 | }; 1367 | } 1368 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/Rabbit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e60f486a281e4d94f8f93df6d9afb74c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/SimplifyPolygon.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a1166af36247334e82e9eb7b07b6d59 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/SimplifyPolygon/SimplifyMesh.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | 5 | public class SimplifyMesh 6 | { 7 | /// 8 | /// 1. 搜集顶点、三角面和三角边的关系。 9 | /// 2. 计算坍缩代价和坍缩目标,并排序。 10 | /// 3. 替换坍缩代价最小的点,并重新计算相邻点的坍缩代价和坍缩目标,更新有序列表。 11 | /// 4. 判断当前顶点数量是否大于目标数量,是则重复第3步。 12 | /// 13 | public Mesh originMesh; 14 | public List triangles = new List(); 15 | public List vertices = new List(); 16 | 17 | public int renderVerticesNum = 0; // 当前渲染的顶点数 18 | public int renderTrianglesNum = 0; // 当前渲染的面数 19 | 20 | public int originVerticesNum = 0; // 原网格顶点数 21 | public int originTrianglesNum = 0; // 原网格三角形数 22 | 23 | private int m_targetVerNum = 0; 24 | 25 | public SimplifyMesh(Mesh mesh) 26 | { 27 | originMesh = mesh; 28 | InitMesh(); 29 | } 30 | 31 | public Mesh GetSimplifyMesh(int targetVerNum) 32 | { 33 | if (m_targetVerNum == targetVerNum) return null; 34 | 35 | m_targetVerNum = targetVerNum; 36 | ComputeAllEdgeCollapseCosts(); 37 | 38 | while(true) 39 | { 40 | int vertexCount = vertices.Count; 41 | if (vertexCount == 0 || vertexCount <= m_targetVerNum) break; 42 | 43 | SimplifyVertex mn = MiniCostEdge(); 44 | 45 | //if (mn.isRemoved || mn.cost > 1000000.0f) break; 46 | 47 | Collapse(mn, mn.collapse); 48 | vertices.Remove(mn); 49 | } 50 | 51 | triangles.RemoveAll((triangle) => { 52 | return triangle.isRemoved; 53 | }); 54 | 55 | List indices = new List(); 56 | List tVertices = new List(); 57 | List tUVS = new List(); 58 | Dictionary idindex = new Dictionary(); 59 | 60 | int indexV = 0; 61 | foreach (SimplifyTriangle triangle in triangles) 62 | { 63 | if (!idindex.TryGetValue(triangle.v0.id, out indexV)) 64 | { 65 | indexV = tVertices.Count; 66 | idindex.Add(triangle.v0.id, indexV); 67 | tVertices.Add(triangle.v0.position); 68 | tUVS.Add(triangle.v0.uv); 69 | } 70 | indices.Add(indexV); 71 | if (!idindex.TryGetValue(triangle.v1.id, out indexV)) 72 | { 73 | indexV = tVertices.Count; 74 | idindex.Add(triangle.v1.id, indexV); 75 | tVertices.Add(triangle.v1.position); 76 | tUVS.Add(triangle.v1.uv); 77 | } 78 | indices.Add(indexV); 79 | if (!idindex.TryGetValue(triangle.v2.id, out indexV)) 80 | { 81 | indexV = tVertices.Count; 82 | idindex.Add(triangle.v2.id, indexV); 83 | tVertices.Add(triangle.v2.position); 84 | tUVS.Add(triangle.v2.uv); 85 | } 86 | indices.Add(indexV); 87 | } 88 | 89 | Mesh simplifyMesh = new Mesh(); 90 | simplifyMesh.indexFormat = UnityEngine.Rendering.IndexFormat.UInt32; 91 | simplifyMesh.vertices = tVertices.ToArray(); 92 | //simplifyMesh.uv = tUVS.ToArray(); 93 | simplifyMesh.triangles = indices.ToArray(); 94 | simplifyMesh.RecalculateNormals(); 95 | 96 | renderVerticesNum = tVertices.Count; 97 | renderTrianglesNum = indices.Count / 3; 98 | return simplifyMesh; 99 | } 100 | 101 | public void InitMesh() 102 | { 103 | Vector3[] originVertices = originMesh.vertices; 104 | int[] originTriangles = originMesh.triangles; 105 | 106 | vertices.Clear(); 107 | triangles.Clear(); 108 | 109 | 110 | for (int i = 0; i < originVertices.Length; i++) 111 | { 112 | Vector3 vexter = originVertices[i]; 113 | vertices.Add(new SimplifyVertex(vexter,i)); 114 | } 115 | 116 | int v0; 117 | int v1; 118 | int v2; 119 | for (int j = 0; j < originTriangles.Length; j += 3) 120 | { 121 | v0 = originTriangles[j]; 122 | v1 = originTriangles[j + 1]; 123 | v2 = originTriangles[j + 2]; 124 | if(vertices[v0] == vertices[v1] || vertices[v0] == vertices[v2] || vertices[v1] == vertices[v2]) 125 | { 126 | continue; 127 | } 128 | triangles.Add(new SimplifyTriangle(vertices[v0], vertices[v1], vertices[v2])); 129 | 130 | vertices[v0].AppendNeighbor(vertices[v1]); 131 | vertices[v0].AppendNeighbor(vertices[v2]); 132 | vertices[v1].AppendNeighbor(vertices[v2]); 133 | } 134 | 135 | originTrianglesNum = triangles.Count; 136 | originVerticesNum = vertices.Count; 137 | } 138 | 139 | private SimplifyVertex MiniCostEdge() 140 | { 141 | SimplifyVertex mn = vertices[0]; 142 | foreach(SimplifyVertex v in vertices) 143 | { 144 | if(!v.isRemoved && v.cost < mn.cost) 145 | { 146 | mn = v; 147 | } 148 | } 149 | return mn; 150 | } 151 | 152 | private float ComputeEdgeCollapseCost(SimplifyVertex u, SimplifyVertex v) 153 | { 154 | Vector3 tp = v.position - u.position; 155 | float edgelength = Vector3.SqrMagnitude(tp); 156 | float curvature = 0.0f; // 曲率 157 | 158 | List sides = new List(); 159 | 160 | // 查找uv为边的三角形 161 | foreach (SimplifyTriangle simplifyTriangle in u.triangles) 162 | { 163 | if (simplifyTriangle.Contains(v)) 164 | { 165 | sides.Add(simplifyTriangle); 166 | } 167 | } 168 | 169 | foreach (SimplifyTriangle triangle in u.triangles) 170 | { 171 | float mincurv = 1; 172 | foreach (SimplifyTriangle sTriangle in sides) 173 | { 174 | float dotprod = Vector3.Dot(triangle.normal, sTriangle.normal); 175 | mincurv = Mathf.Min(mincurv, (1.0f - dotprod) / 2.0f); 176 | } 177 | 178 | curvature = Mathf.Max(curvature, mincurv); 179 | } 180 | 181 | return edgelength * curvature; 182 | } 183 | 184 | private void ComputeEdgeCostAtVertex(SimplifyVertex v) 185 | { 186 | if (v.neighbors.Count == 0) 187 | { 188 | v.collapse = null; 189 | v.cost = -0.01f; 190 | return; 191 | } 192 | 193 | v.cost = 1000000.0f; 194 | v.collapse = null; 195 | 196 | //if (v.isEdge) return; 197 | 198 | foreach (SimplifyVertex nVertex in v.neighbors) 199 | { 200 | float cost = ComputeEdgeCollapseCost(v, nVertex); 201 | if (cost < v.cost) 202 | { 203 | v.collapse = nVertex; 204 | v.cost = cost; 205 | } 206 | } 207 | } 208 | 209 | private void ComputeAllEdgeCollapseCosts() 210 | { 211 | foreach (SimplifyVertex v in vertices) 212 | { 213 | ComputeEdgeCostAtVertex(v); 214 | } 215 | } 216 | 217 | // u->v 顶点v替换u 移除u 218 | private void Collapse(SimplifyVertex u, SimplifyVertex v) 219 | { 220 | if (v == null) 221 | { 222 | u.Remove(); 223 | vertices.Remove(u); 224 | return; 225 | } 226 | 227 | int i; 228 | List tmp = new List(); 229 | SimplifyTriangle simplifyTriangle; 230 | for(i = 0; i < u.neighbors.Count; i++) 231 | { 232 | tmp.Add(u.neighbors[i]); 233 | } 234 | // 移除包含uv边的三角形 235 | for(i = u.triangles.Count - 1; i >= 0; i--) 236 | { 237 | if(u.triangles[i].Contains(v)) 238 | { 239 | simplifyTriangle = u.triangles[i]; 240 | triangles.Remove(simplifyTriangle); 241 | simplifyTriangle.Remove(); 242 | } 243 | } 244 | 245 | // 用v替换u 更新包含u但不包含v的三角形 246 | for(i = u.triangles.Count - 1; i >= 0; i--) 247 | { 248 | u.triangles[i].ReplaceSimplifyVertex(u, v); 249 | } 250 | 251 | u.Remove(); 252 | vertices.Remove(u); 253 | 254 | for(i = 0; i < tmp.Count; i++) 255 | { 256 | ComputeEdgeCostAtVertex(tmp[i]); 257 | } 258 | } 259 | 260 | } 261 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/SimplifyPolygon/SimplifyMesh.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4404a28d9fc92a54ea76c09326514af8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/SimplifyPolygon/SimplifyTriangle.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class SimplifyTriangle 5 | { 6 | public SimplifyVertex v0; 7 | public SimplifyVertex v1; 8 | public SimplifyVertex v2; 9 | 10 | public Vector3 normal; 11 | public bool isRemoved = false; 12 | 13 | public SimplifyTriangle(SimplifyVertex v0, SimplifyVertex v1, SimplifyVertex v2) 14 | { 15 | this.v0 = v0; 16 | this.v1 = v1; 17 | this.v2 = v2; 18 | this.v0.triangles.Add(this); 19 | this.v1.triangles.Add(this); 20 | this.v2.triangles.Add(this); 21 | ComputeNormal(); 22 | } 23 | 24 | public bool Contains(SimplifyVertex v) 25 | { 26 | return (v == v0 || v == v1 || v == v2); 27 | } 28 | 29 | public void ReplaceSimplifyVertex(SimplifyVertex vold, SimplifyVertex vnew) 30 | { 31 | if (vold == null || vnew == null) return; 32 | if (vold != v0 && vold != v1 && vold != v2) return; 33 | if (vnew == v0 || vnew == v1 || vnew == v2) return; 34 | 35 | if(vold == v0) 36 | { 37 | v0 = vnew; 38 | } 39 | 40 | if(vold == v1) 41 | { 42 | v1 = vnew; 43 | } 44 | 45 | if(vold == v2) 46 | { 47 | v2 = vnew; 48 | } 49 | 50 | int i; 51 | vold.triangles.Remove(this); 52 | 53 | if (vnew.triangles.Contains(this)) return; 54 | 55 | vnew.triangles.Add(this); 56 | 57 | vold.RemoveNeighbor(v0); 58 | vold.RemoveNeighbor(v1); 59 | vold.RemoveNeighbor(v2); 60 | 61 | if (v0.GetSimplifyTriangleCount(this) == 1) 62 | { 63 | v0.AppendUniqueNeighbor(v1); 64 | v0.AppendUniqueNeighbor(v2); 65 | } 66 | 67 | if(v1.GetSimplifyTriangleCount(this) == 1) 68 | { 69 | v1.AppendUniqueNeighbor(v0); 70 | v1.AppendUniqueNeighbor(v2); 71 | } 72 | 73 | if(v2.GetSimplifyTriangleCount(this) == 1) 74 | { 75 | v2.AppendUniqueNeighbor(v0); 76 | v2.AppendUniqueNeighbor(v1); 77 | } 78 | 79 | ComputeNormal(); 80 | 81 | } 82 | 83 | public void Remove() 84 | { 85 | isRemoved = true; 86 | v0.triangles.Remove(this); 87 | v1.triangles.Remove(this); 88 | v2.triangles.Remove(this); 89 | v0.RemoveNeighbor(v1); 90 | v0.RemoveNeighbor(v2); 91 | v1.RemoveNeighbor(v2); 92 | } 93 | 94 | private void ComputeNormal() 95 | { 96 | Vector3 n0 = v1.position - v0.position; 97 | Vector3 n1 = v2.position - v1.position; 98 | normal = Vector3.Cross(n0, n1); 99 | if (Vector3.SqrMagnitude(normal) == 0) return; 100 | normal = normal.normalized; 101 | } 102 | 103 | 104 | } 105 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/SimplifyPolygon/SimplifyTriangle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6323aa6d41058f74aa395534dc830b5b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/SimplifyPolygon/SimplifyVertex.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class SimplifyVertex 6 | { 7 | public Vector3 position; 8 | public Vector2 uv; 9 | public int id; 10 | 11 | public List neighbors = new List(); 12 | public List triangles = new List(); 13 | public float cost; // 顶点折叠代价 14 | public SimplifyVertex collapse; // 折叠目标顶点 15 | public bool isRemoved = false; 16 | 17 | public static Vector3[] vectors = { 18 | new Vector3(), 19 | new Vector3() 20 | }; 21 | 22 | public SimplifyVertex() 23 | { 24 | 25 | } 26 | 27 | public SimplifyVertex(Vector3 v, Vector2 uv, int id) 28 | { 29 | this.position = v; 30 | this.uv = uv; 31 | this.id = id; 32 | } 33 | 34 | public SimplifyVertex(Vector3 v, int id) 35 | { 36 | this.position = v; 37 | this.id = id; 38 | } 39 | 40 | public int GetSimplifyTriangleCount(SimplifyTriangle simplifyTriangle) 41 | { 42 | int count = 0; 43 | foreach (SimplifyTriangle triangle in triangles) 44 | { 45 | if (triangle == simplifyTriangle) 46 | { 47 | count++; 48 | } 49 | } 50 | return count; 51 | } 52 | 53 | public void AppendNeighbor(SimplifyVertex vertex) 54 | { 55 | if (!neighbors.Contains(vertex) && this != vertex) 56 | { 57 | neighbors.Add(vertex); 58 | vertex.AppendNeighbor(this); 59 | } 60 | } 61 | 62 | public void AppendUniqueNeighbor(SimplifyVertex vertex) 63 | { 64 | if(!neighbors.Contains(vertex) && this != vertex) 65 | { 66 | neighbors.Add(vertex); 67 | } 68 | } 69 | 70 | 71 | public void RemoveNeighbor(SimplifyVertex vertex) 72 | { 73 | if (!neighbors.Contains(vertex)) return; 74 | foreach(SimplifyTriangle triangle in triangles) 75 | { 76 | if (triangle.Contains(vertex)) return; 77 | } 78 | 79 | neighbors.Remove(vertex); 80 | vertex.RemoveNeighbor(this); 81 | } 82 | 83 | public void RemvoeIfNonNeighbor(SimplifyVertex vertex) 84 | { 85 | if (!neighbors.Contains(vertex)) return; 86 | foreach (SimplifyTriangle triangle in triangles) 87 | { 88 | if (triangle.Contains(vertex)) return; 89 | } 90 | 91 | neighbors.Remove(vertex); 92 | } 93 | 94 | public void Remove() 95 | { 96 | if (this.triangles.Count > 0) return; 97 | isRemoved = true; 98 | while(neighbors.Count>0) 99 | { 100 | neighbors[0].neighbors.Remove(this); 101 | neighbors.Remove(neighbors[0]); 102 | } 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/SimplifyPolygon/SimplifyVertex.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 574b01a1490bad6459ee701d5a4da2af 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/SimplifyTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class SimplifyTest : MonoBehaviour 6 | { 7 | private int m_RotateSize = 45; 8 | public SimplifyMesh simplifyMesh; 9 | private float m_VerScale = 1; 10 | private MeshFilter m_Meshfilter; 11 | private int m_OriginVerNum; 12 | private int m_Dir = -1; 13 | private float m_Speed = 0.2f; 14 | // Start is called before the first frame update 15 | void Start() 16 | { 17 | //SkinnedMeshRenderer meshRenderer = GetComponent(); 18 | m_Meshfilter = GetComponent(); 19 | Mesh mesh = m_Meshfilter.mesh; 20 | if (mesh == null) 21 | { 22 | mesh = new Mesh(); 23 | } 24 | 25 | mesh.indexFormat = UnityEngine.Rendering.IndexFormat.UInt32; 26 | mesh.vertices = Rabbit.vertices; 27 | mesh.triangles = Rabbit.triangles; 28 | mesh.RecalculateNormals(); 29 | 30 | m_OriginVerNum = Rabbit.vertices.Length; 31 | //Mesh mesh = meshRenderer.sharedMesh; 32 | 33 | simplifyMesh = new SimplifyMesh(mesh); 34 | Mesh yMesh = simplifyMesh.GetSimplifyMesh((int)(mesh.vertices.Length * m_VerScale)); 35 | if(yMesh != null) m_Meshfilter.mesh = yMesh; 36 | //meshRenderer.sharedMesh = yMesh; 37 | } 38 | 39 | // Update is called once per frame 40 | void Update() 41 | { 42 | //gameObject.transform.Rotate(Vector3.up * Time.deltaTime * m_RotateSize); 43 | 44 | if (m_VerScale > 1) 45 | { 46 | m_Dir = -1; 47 | } 48 | if (m_VerScale < 0) 49 | { 50 | m_Dir = 1; 51 | } 52 | 53 | simplifyMesh.InitMesh(); 54 | m_VerScale += Time.deltaTime * m_Speed * m_Dir; 55 | Mesh yMesh = simplifyMesh.GetSimplifyMesh((int)(m_OriginVerNum * m_VerScale)); 56 | if(yMesh != null) 57 | { 58 | m_Meshfilter.mesh = yMesh; 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /SimplifyPolygon/Assets/Scripts/SimplifyTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d837c2fcd9cd27489d53a7608fca95d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /SimplifyPolygon/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /SimplifyPolygon/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 | -------------------------------------------------------------------------------- /SimplifyPolygon/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: 8 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 | -------------------------------------------------------------------------------- /SimplifyPolygon/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 99c9720ab356a0642a771bea13969a05 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /SimplifyPolygon/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: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /SimplifyPolygon/ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 39 | m_PreloadedShaders: [] 40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 41 | type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 0 62 | m_LightsUseColorTemperature: 0 63 | -------------------------------------------------------------------------------- /SimplifyPolygon/ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /SimplifyPolygon/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 | -------------------------------------------------------------------------------- /SimplifyPolygon/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /SimplifyPolygon/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_ReuseCollisionCallbacks: 1 28 | m_AutoSyncTransforms: 0 29 | m_AlwaysShowColliders: 0 30 | m_ShowColliderSleep: 1 31 | m_ShowColliderContacts: 0 32 | m_ShowColliderAABB: 0 33 | m_ContactArrowScale: 0.2 34 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 35 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 36 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 37 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 38 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 39 | -------------------------------------------------------------------------------- /SimplifyPolygon/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 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /SimplifyPolygon/ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 15 7 | productGUID: b0e556a47d8f4444ca9738f9c5277bb9 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: SimplifyPolygon 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 1 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 0 68 | androidBlitType: 0 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 1 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | resizableWindow: 0 83 | useMacAppStoreValidation: 0 84 | macAppStoreCategory: public.app-category.games 85 | gpuSkinning: 1 86 | graphicsJobs: 0 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 1 93 | allowFullscreenSwitch: 1 94 | graphicsJobMode: 0 95 | fullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | xboxOneResolution: 0 102 | xboxOneSResolution: 0 103 | xboxOneXResolution: 3 104 | xboxOneMonoLoggingLevel: 0 105 | xboxOneLoggingLevel: 1 106 | xboxOneDisableEsram: 0 107 | xboxOnePresentImmediateThreshold: 0 108 | switchQueueCommandMemory: 0 109 | vulkanEnableSetSRGBWrite: 0 110 | m_SupportedAspectRatios: 111 | 4:3: 1 112 | 5:4: 1 113 | 16:10: 1 114 | 16:9: 1 115 | Others: 1 116 | bundleVersion: 0.1 117 | preloadedAssets: [] 118 | metroInputSource: 0 119 | wsaTransparentSwapchain: 0 120 | m_HolographicPauseOnTrackingLoss: 1 121 | xboxOneDisableKinectGpuReservation: 0 122 | xboxOneEnable7thCore: 0 123 | isWsaHolographicRemotingEnabled: 0 124 | vrSettings: 125 | cardboard: 126 | depthFormat: 0 127 | enableTransitionView: 0 128 | daydream: 129 | depthFormat: 0 130 | useSustainedPerformanceMode: 0 131 | enableVideoLayer: 0 132 | useProtectedVideoMemory: 0 133 | minimumSupportedHeadTracking: 0 134 | maximumSupportedHeadTracking: 1 135 | hololens: 136 | depthFormat: 1 137 | depthBufferSharingEnabled: 0 138 | oculus: 139 | sharedDepthBuffer: 1 140 | dashSupport: 1 141 | enable360StereoCapture: 0 142 | protectGraphicsMemory: 0 143 | enableFrameTimingStats: 0 144 | useHDRDisplay: 0 145 | m_ColorGamuts: 00000000 146 | targetPixelDensity: 30 147 | resolutionScalingMode: 0 148 | androidSupportedAspectRatio: 1 149 | androidMaxAspectRatio: 2.1 150 | applicationIdentifier: {} 151 | buildNumber: {} 152 | AndroidBundleVersionCode: 1 153 | AndroidMinSdkVersion: 16 154 | AndroidTargetSdkVersion: 0 155 | AndroidPreferredInstallLocation: 1 156 | aotOptions: 157 | stripEngineCode: 1 158 | iPhoneStrippingLevel: 0 159 | iPhoneScriptCallOptimization: 0 160 | ForceInternetPermission: 0 161 | ForceSDCardPermission: 0 162 | CreateWallpaper: 0 163 | APKExpansionFiles: 0 164 | keepLoadedShadersAlive: 0 165 | StripUnusedMeshComponents: 1 166 | VertexChannelCompressionMask: 4054 167 | iPhoneSdkVersion: 988 168 | iOSTargetOSVersionString: 9.0 169 | tvOSSdkVersion: 0 170 | tvOSRequireExtendedGameController: 0 171 | tvOSTargetOSVersionString: 9.0 172 | uIPrerenderedIcon: 0 173 | uIRequiresPersistentWiFi: 0 174 | uIRequiresFullScreen: 1 175 | uIStatusBarHidden: 1 176 | uIExitOnSuspend: 0 177 | uIStatusBarStyle: 0 178 | iPhoneSplashScreen: {fileID: 0} 179 | iPhoneHighResSplashScreen: {fileID: 0} 180 | iPhoneTallHighResSplashScreen: {fileID: 0} 181 | iPhone47inSplashScreen: {fileID: 0} 182 | iPhone55inPortraitSplashScreen: {fileID: 0} 183 | iPhone55inLandscapeSplashScreen: {fileID: 0} 184 | iPhone58inPortraitSplashScreen: {fileID: 0} 185 | iPhone58inLandscapeSplashScreen: {fileID: 0} 186 | iPadPortraitSplashScreen: {fileID: 0} 187 | iPadHighResPortraitSplashScreen: {fileID: 0} 188 | iPadLandscapeSplashScreen: {fileID: 0} 189 | iPadHighResLandscapeSplashScreen: {fileID: 0} 190 | appleTVSplashScreen: {fileID: 0} 191 | appleTVSplashScreen2x: {fileID: 0} 192 | tvOSSmallIconLayers: [] 193 | tvOSSmallIconLayers2x: [] 194 | tvOSLargeIconLayers: [] 195 | tvOSLargeIconLayers2x: [] 196 | tvOSTopShelfImageLayers: [] 197 | tvOSTopShelfImageLayers2x: [] 198 | tvOSTopShelfImageWideLayers: [] 199 | tvOSTopShelfImageWideLayers2x: [] 200 | iOSLaunchScreenType: 0 201 | iOSLaunchScreenPortrait: {fileID: 0} 202 | iOSLaunchScreenLandscape: {fileID: 0} 203 | iOSLaunchScreenBackgroundColor: 204 | serializedVersion: 2 205 | rgba: 0 206 | iOSLaunchScreenFillPct: 100 207 | iOSLaunchScreenSize: 100 208 | iOSLaunchScreenCustomXibPath: 209 | iOSLaunchScreeniPadType: 0 210 | iOSLaunchScreeniPadImage: {fileID: 0} 211 | iOSLaunchScreeniPadBackgroundColor: 212 | serializedVersion: 2 213 | rgba: 0 214 | iOSLaunchScreeniPadFillPct: 100 215 | iOSLaunchScreeniPadSize: 100 216 | iOSLaunchScreeniPadCustomXibPath: 217 | iOSUseLaunchScreenStoryboard: 0 218 | iOSLaunchScreenCustomStoryboardPath: 219 | iOSDeviceRequirements: [] 220 | iOSURLSchemes: [] 221 | iOSBackgroundModes: 0 222 | iOSMetalForceHardShadows: 0 223 | metalEditorSupport: 1 224 | metalAPIValidation: 1 225 | iOSRenderExtraFrameOnPause: 0 226 | appleDeveloperTeamID: 227 | iOSManualSigningProvisioningProfileID: 228 | tvOSManualSigningProvisioningProfileID: 229 | iOSManualSigningProvisioningProfileType: 0 230 | tvOSManualSigningProvisioningProfileType: 0 231 | appleEnableAutomaticSigning: 0 232 | iOSRequireARKit: 0 233 | appleEnableProMotion: 0 234 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 235 | templatePackageId: com.unity.template.3d@1.0.4 236 | templateDefaultScene: Assets/Scenes/SampleScene.unity 237 | AndroidTargetArchitectures: 5 238 | AndroidSplashScreenScale: 0 239 | androidSplashScreen: {fileID: 0} 240 | AndroidKeystoreName: 241 | AndroidKeyaliasName: 242 | AndroidBuildApkPerCpuArchitecture: 0 243 | AndroidTVCompatibility: 1 244 | AndroidIsGame: 1 245 | AndroidEnableTango: 0 246 | androidEnableBanner: 1 247 | androidUseLowAccuracyLocation: 0 248 | m_AndroidBanners: 249 | - width: 320 250 | height: 180 251 | banner: {fileID: 0} 252 | androidGamepadSupportLevel: 0 253 | resolutionDialogBanner: {fileID: 0} 254 | m_BuildTargetIcons: [] 255 | m_BuildTargetPlatformIcons: [] 256 | m_BuildTargetBatching: 257 | - m_BuildTarget: Standalone 258 | m_StaticBatching: 1 259 | m_DynamicBatching: 0 260 | - m_BuildTarget: tvOS 261 | m_StaticBatching: 1 262 | m_DynamicBatching: 0 263 | - m_BuildTarget: Android 264 | m_StaticBatching: 1 265 | m_DynamicBatching: 0 266 | - m_BuildTarget: iPhone 267 | m_StaticBatching: 1 268 | m_DynamicBatching: 0 269 | - m_BuildTarget: WebGL 270 | m_StaticBatching: 0 271 | m_DynamicBatching: 0 272 | m_BuildTargetGraphicsAPIs: 273 | - m_BuildTarget: AndroidPlayer 274 | m_APIs: 0b00000008000000 275 | m_Automatic: 1 276 | - m_BuildTarget: iOSSupport 277 | m_APIs: 10000000 278 | m_Automatic: 1 279 | - m_BuildTarget: AppleTVSupport 280 | m_APIs: 10000000 281 | m_Automatic: 0 282 | - m_BuildTarget: WebGLSupport 283 | m_APIs: 0b000000 284 | m_Automatic: 1 285 | m_BuildTargetVRSettings: 286 | - m_BuildTarget: Standalone 287 | m_Enabled: 0 288 | m_Devices: 289 | - Oculus 290 | - OpenVR 291 | m_BuildTargetEnableVuforiaSettings: [] 292 | openGLRequireES31: 0 293 | openGLRequireES31AEP: 0 294 | m_TemplateCustomTags: {} 295 | mobileMTRendering: 296 | Android: 1 297 | iPhone: 1 298 | tvOS: 1 299 | m_BuildTargetGroupLightmapEncodingQuality: [] 300 | m_BuildTargetGroupLightmapSettings: [] 301 | playModeTestRunnerEnabled: 0 302 | runPlayModeTestAsEditModeTest: 0 303 | actionOnDotNetUnhandledException: 1 304 | enableInternalProfiler: 0 305 | logObjCUncaughtExceptions: 1 306 | enableCrashReportAPI: 0 307 | cameraUsageDescription: 308 | locationUsageDescription: 309 | microphoneUsageDescription: 310 | switchNetLibKey: 311 | switchSocketMemoryPoolSize: 6144 312 | switchSocketAllocatorPoolSize: 128 313 | switchSocketConcurrencyLimit: 14 314 | switchScreenResolutionBehavior: 2 315 | switchUseCPUProfiler: 0 316 | switchApplicationID: 0x01004b9000490000 317 | switchNSODependencies: 318 | switchTitleNames_0: 319 | switchTitleNames_1: 320 | switchTitleNames_2: 321 | switchTitleNames_3: 322 | switchTitleNames_4: 323 | switchTitleNames_5: 324 | switchTitleNames_6: 325 | switchTitleNames_7: 326 | switchTitleNames_8: 327 | switchTitleNames_9: 328 | switchTitleNames_10: 329 | switchTitleNames_11: 330 | switchTitleNames_12: 331 | switchTitleNames_13: 332 | switchTitleNames_14: 333 | switchPublisherNames_0: 334 | switchPublisherNames_1: 335 | switchPublisherNames_2: 336 | switchPublisherNames_3: 337 | switchPublisherNames_4: 338 | switchPublisherNames_5: 339 | switchPublisherNames_6: 340 | switchPublisherNames_7: 341 | switchPublisherNames_8: 342 | switchPublisherNames_9: 343 | switchPublisherNames_10: 344 | switchPublisherNames_11: 345 | switchPublisherNames_12: 346 | switchPublisherNames_13: 347 | switchPublisherNames_14: 348 | switchIcons_0: {fileID: 0} 349 | switchIcons_1: {fileID: 0} 350 | switchIcons_2: {fileID: 0} 351 | switchIcons_3: {fileID: 0} 352 | switchIcons_4: {fileID: 0} 353 | switchIcons_5: {fileID: 0} 354 | switchIcons_6: {fileID: 0} 355 | switchIcons_7: {fileID: 0} 356 | switchIcons_8: {fileID: 0} 357 | switchIcons_9: {fileID: 0} 358 | switchIcons_10: {fileID: 0} 359 | switchIcons_11: {fileID: 0} 360 | switchIcons_12: {fileID: 0} 361 | switchIcons_13: {fileID: 0} 362 | switchIcons_14: {fileID: 0} 363 | switchSmallIcons_0: {fileID: 0} 364 | switchSmallIcons_1: {fileID: 0} 365 | switchSmallIcons_2: {fileID: 0} 366 | switchSmallIcons_3: {fileID: 0} 367 | switchSmallIcons_4: {fileID: 0} 368 | switchSmallIcons_5: {fileID: 0} 369 | switchSmallIcons_6: {fileID: 0} 370 | switchSmallIcons_7: {fileID: 0} 371 | switchSmallIcons_8: {fileID: 0} 372 | switchSmallIcons_9: {fileID: 0} 373 | switchSmallIcons_10: {fileID: 0} 374 | switchSmallIcons_11: {fileID: 0} 375 | switchSmallIcons_12: {fileID: 0} 376 | switchSmallIcons_13: {fileID: 0} 377 | switchSmallIcons_14: {fileID: 0} 378 | switchManualHTML: 379 | switchAccessibleURLs: 380 | switchLegalInformation: 381 | switchMainThreadStackSize: 1048576 382 | switchPresenceGroupId: 383 | switchLogoHandling: 0 384 | switchReleaseVersion: 0 385 | switchDisplayVersion: 1.0.0 386 | switchStartupUserAccount: 0 387 | switchTouchScreenUsage: 0 388 | switchSupportedLanguagesMask: 0 389 | switchLogoType: 0 390 | switchApplicationErrorCodeCategory: 391 | switchUserAccountSaveDataSize: 0 392 | switchUserAccountSaveDataJournalSize: 0 393 | switchApplicationAttribute: 0 394 | switchCardSpecSize: -1 395 | switchCardSpecClock: -1 396 | switchRatingsMask: 0 397 | switchRatingsInt_0: 0 398 | switchRatingsInt_1: 0 399 | switchRatingsInt_2: 0 400 | switchRatingsInt_3: 0 401 | switchRatingsInt_4: 0 402 | switchRatingsInt_5: 0 403 | switchRatingsInt_6: 0 404 | switchRatingsInt_7: 0 405 | switchRatingsInt_8: 0 406 | switchRatingsInt_9: 0 407 | switchRatingsInt_10: 0 408 | switchRatingsInt_11: 0 409 | switchLocalCommunicationIds_0: 410 | switchLocalCommunicationIds_1: 411 | switchLocalCommunicationIds_2: 412 | switchLocalCommunicationIds_3: 413 | switchLocalCommunicationIds_4: 414 | switchLocalCommunicationIds_5: 415 | switchLocalCommunicationIds_6: 416 | switchLocalCommunicationIds_7: 417 | switchParentalControl: 0 418 | switchAllowsScreenshot: 1 419 | switchAllowsVideoCapturing: 1 420 | switchAllowsRuntimeAddOnContentInstall: 0 421 | switchDataLossConfirmation: 0 422 | switchUserAccountLockEnabled: 0 423 | switchSupportedNpadStyles: 3 424 | switchNativeFsCacheSize: 32 425 | switchIsHoldTypeHorizontal: 0 426 | switchSupportedNpadCount: 8 427 | switchSocketConfigEnabled: 0 428 | switchTcpInitialSendBufferSize: 32 429 | switchTcpInitialReceiveBufferSize: 64 430 | switchTcpAutoSendBufferSizeMax: 256 431 | switchTcpAutoReceiveBufferSizeMax: 256 432 | switchUdpSendBufferSize: 9 433 | switchUdpReceiveBufferSize: 42 434 | switchSocketBufferEfficiency: 4 435 | switchSocketInitializeEnabled: 1 436 | switchNetworkInterfaceManagerInitializeEnabled: 1 437 | switchPlayerConnectionEnabled: 1 438 | ps4NPAgeRating: 12 439 | ps4NPTitleSecret: 440 | ps4NPTrophyPackPath: 441 | ps4ParentalLevel: 11 442 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 443 | ps4Category: 0 444 | ps4MasterVersion: 01.00 445 | ps4AppVersion: 01.00 446 | ps4AppType: 0 447 | ps4ParamSfxPath: 448 | ps4VideoOutPixelFormat: 0 449 | ps4VideoOutInitialWidth: 1920 450 | ps4VideoOutBaseModeInitialWidth: 1920 451 | ps4VideoOutReprojectionRate: 60 452 | ps4PronunciationXMLPath: 453 | ps4PronunciationSIGPath: 454 | ps4BackgroundImagePath: 455 | ps4StartupImagePath: 456 | ps4StartupImagesFolder: 457 | ps4IconImagesFolder: 458 | ps4SaveDataImagePath: 459 | ps4SdkOverride: 460 | ps4BGMPath: 461 | ps4ShareFilePath: 462 | ps4ShareOverlayImagePath: 463 | ps4PrivacyGuardImagePath: 464 | ps4NPtitleDatPath: 465 | ps4RemotePlayKeyAssignment: -1 466 | ps4RemotePlayKeyMappingDir: 467 | ps4PlayTogetherPlayerCount: 0 468 | ps4EnterButtonAssignment: 1 469 | ps4ApplicationParam1: 0 470 | ps4ApplicationParam2: 0 471 | ps4ApplicationParam3: 0 472 | ps4ApplicationParam4: 0 473 | ps4DownloadDataSize: 0 474 | ps4GarlicHeapSize: 2048 475 | ps4ProGarlicHeapSize: 2560 476 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 477 | ps4pnSessions: 1 478 | ps4pnPresence: 1 479 | ps4pnFriends: 1 480 | ps4pnGameCustomData: 1 481 | playerPrefsSupport: 0 482 | enableApplicationExit: 0 483 | resetTempFolder: 1 484 | restrictedAudioUsageRights: 0 485 | ps4UseResolutionFallback: 0 486 | ps4ReprojectionSupport: 0 487 | ps4UseAudio3dBackend: 0 488 | ps4SocialScreenEnabled: 0 489 | ps4ScriptOptimizationLevel: 0 490 | ps4Audio3dVirtualSpeakerCount: 14 491 | ps4attribCpuUsage: 0 492 | ps4PatchPkgPath: 493 | ps4PatchLatestPkgPath: 494 | ps4PatchChangeinfoPath: 495 | ps4PatchDayOne: 0 496 | ps4attribUserManagement: 0 497 | ps4attribMoveSupport: 0 498 | ps4attrib3DSupport: 0 499 | ps4attribShareSupport: 0 500 | ps4attribExclusiveVR: 0 501 | ps4disableAutoHideSplash: 0 502 | ps4videoRecordingFeaturesUsed: 0 503 | ps4contentSearchFeaturesUsed: 0 504 | ps4attribEyeToEyeDistanceSettingVR: 0 505 | ps4IncludedModules: [] 506 | monoEnv: 507 | splashScreenBackgroundSourceLandscape: {fileID: 0} 508 | splashScreenBackgroundSourcePortrait: {fileID: 0} 509 | spritePackerPolicy: 510 | webGLMemorySize: 256 511 | webGLExceptionSupport: 1 512 | webGLNameFilesAsHashes: 0 513 | webGLDataCaching: 1 514 | webGLDebugSymbols: 0 515 | webGLEmscriptenArgs: 516 | webGLModulesDirectory: 517 | webGLTemplate: APPLICATION:Default 518 | webGLAnalyzeBuildSize: 0 519 | webGLUseEmbeddedResources: 0 520 | webGLCompressionFormat: 1 521 | webGLLinkerTarget: 1 522 | webGLThreadsSupport: 0 523 | scriptingDefineSymbols: {} 524 | platformArchitecture: {} 525 | scriptingBackend: {} 526 | il2cppCompilerConfiguration: {} 527 | managedStrippingLevel: {} 528 | incrementalIl2cppBuild: {} 529 | allowUnsafeCode: 0 530 | additionalIl2CppArgs: 531 | scriptingRuntimeVersion: 1 532 | apiCompatibilityLevelPerPlatform: {} 533 | m_RenderingPath: 1 534 | m_MobileRenderingPath: 1 535 | metroPackageName: Template_3D 536 | metroPackageVersion: 537 | metroCertificatePath: 538 | metroCertificatePassword: 539 | metroCertificateSubject: 540 | metroCertificateIssuer: 541 | metroCertificateNotAfter: 0000000000000000 542 | metroApplicationDescription: Template_3D 543 | wsaImages: {} 544 | metroTileShortName: 545 | metroTileShowName: 0 546 | metroMediumTileShowName: 0 547 | metroLargeTileShowName: 0 548 | metroWideTileShowName: 0 549 | metroSupportStreamingInstall: 0 550 | metroLastRequiredScene: 0 551 | metroDefaultTileSize: 1 552 | metroTileForegroundText: 2 553 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 554 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 555 | a: 1} 556 | metroSplashScreenUseBackgroundColor: 0 557 | platformCapabilities: {} 558 | metroTargetDeviceFamilies: {} 559 | metroFTAName: 560 | metroFTAFileTypes: [] 561 | metroProtocolName: 562 | metroCompilationOverrides: 1 563 | XboxOneProductId: 564 | XboxOneUpdateKey: 565 | XboxOneSandboxId: 566 | XboxOneContentId: 567 | XboxOneTitleId: 568 | XboxOneSCId: 569 | XboxOneGameOsOverridePath: 570 | XboxOnePackagingOverridePath: 571 | XboxOneAppManifestOverridePath: 572 | XboxOneVersion: 1.0.0.0 573 | XboxOnePackageEncryption: 0 574 | XboxOnePackageUpdateGranularity: 2 575 | XboxOneDescription: 576 | XboxOneLanguage: 577 | - enus 578 | XboxOneCapability: [] 579 | XboxOneGameRating: {} 580 | XboxOneIsContentPackage: 0 581 | XboxOneEnableGPUVariability: 0 582 | XboxOneSockets: {} 583 | XboxOneSplashScreen: {fileID: 0} 584 | XboxOneAllowedProductIds: [] 585 | XboxOnePersistentLocalStorageSize: 0 586 | XboxOneXTitleMemory: 8 587 | xboxOneScriptCompiler: 0 588 | XboxOneOverrideIdentityName: 589 | vrEditorSettings: 590 | daydream: 591 | daydreamIconForeground: {fileID: 0} 592 | daydreamIconBackground: {fileID: 0} 593 | cloudServicesEnabled: 594 | UNet: 1 595 | luminIcon: 596 | m_Name: 597 | m_ModelFolderPath: 598 | m_PortalFolderPath: 599 | luminCert: 600 | m_CertPath: 601 | m_PrivateKeyPath: 602 | luminIsChannelApp: 0 603 | luminVersion: 604 | m_VersionCode: 1 605 | m_VersionName: 606 | facebookSdkVersion: 7.9.4 607 | facebookAppId: 608 | facebookCookies: 1 609 | facebookLogging: 1 610 | facebookStatus: 1 611 | facebookXfbml: 0 612 | facebookFrictionlessRequests: 1 613 | apiCompatibilityLevel: 6 614 | cloudProjectId: 615 | framebufferDepthMemorylessMode: 0 616 | projectName: 617 | organizationId: 618 | cloudEnabled: 0 619 | enableNativePlatformBackendsForNewInputSystem: 0 620 | disableOldInputManagerSupport: 0 621 | legacyClampBlendShapeWeights: 0 622 | -------------------------------------------------------------------------------- /SimplifyPolygon/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.3.2f1 2 | -------------------------------------------------------------------------------- /SimplifyPolygon/ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 4 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 2 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 40 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 1 164 | antiAliasing: 4 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 1 199 | antiAliasing: 4 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: {} 220 | -------------------------------------------------------------------------------- /SimplifyPolygon/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 | - PostProcessing 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 | -------------------------------------------------------------------------------- /SimplifyPolygon/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.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /SimplifyPolygon/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: 1 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 | -------------------------------------------------------------------------------- /SimplifyPolygon/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_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | --------------------------------------------------------------------------------