TriLibVersion.txt 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595
  1. 2.2.8
  2. Changelog:
  3. -Removed deprecated asset loader options.
  4. -Fixed OBJ/STL meshes reading.
  5. -Fixed normals calculation.
  6. -Added missing asset loader options configuration in editor importing.
  7. -Added ObjReader.ParseVertexColor static field. Turn off this field to disable OBJ vertex color loading.
  8. -Added NameMapper class. A NameMapper can rename GameObjects upon loading based on original model attributes.
  9. You can inherit the NameMapper class and assign it to your AssetLoaderOptions.NameMapper field.
  10. -Re-enabled IndexFormat asset loader option. Use this option to set the mesh index format (16 or 32 bits).
  11. 2.2.7
  12. Changelog:
  13. -Fixed normals calculation regression issue.
  14. -Removed deprecated coroutine methods.
  15. -Fixed normal debug shader.
  16. 2.2.6
  17. Changelog:
  18. -Added EnforceAlphaChannelTextures asset loader option. This option is enabled by default and fixes texture creation on WebGL when the UseUnityNativeTextureLoader option is disabled.
  19. 2.2.5
  20. Changelog:
  21. -Removed experimental coroutines support.
  22. 2.2.4
  23. Changelog:
  24. -Fixed texture format assignment regression issue.
  25. -Added 3DS Max alternative diffuse texture support.
  26. -Mesh system changes. Using simpler Unity mesh API to reduce memory usage.
  27. 2.2.3
  28. Changelog:
  29. -Fixed FBX ASCII embedded data reading.
  30. -Fixed OBJ files texture naming.
  31. -Fixed multiple parallel files loading bug.
  32. -Fixed built-in ExternalDataMapper regression issue preventing ZIP files from loading.
  33. -Fixed glTF2 empty arrays parsing.
  34. -Fixed normal map textures creation.
  35. -Fixed STL binary parsing issue.
  36. -Added lights CastShadow property parsing.
  37. -Added FBX physical camera properties parsing.
  38. -Added option in the TriLib settings menu to change in-editor loading timeout.
  39. -Misc. fixes.
  40. 2.2.2
  41. Changelog:
  42. -Fixed glTF embedded textures issue.
  43. -Fixed vertex merging slowdown.
  44. 2.2.1
  45. Changelog:
  46. -Added debug library versions.
  47. -Refactored mesh loading system to decrease memory usage.
  48. -Vertices are added on creation time now, decreasing memory usage.
  49. -Fixed OBJ naming issues.
  50. -Removed forced texture creation to simulate metallic/smooth color textures.
  51. -Removed all NativeArray usage from internal loaders to prevent native memory leaks.
  52. -Changed StbImageSharp to SafeStbImageSharp to prevent native memory leaks.
  53. -Removed RenderTexture creation when the original material has no metallic/roughness textures.
  54. -Temporarily removed DoubleSidedMaterials asset loader option. It is recommended to create custom shaders to support double-sided materials instead.
  55. -Misc fixes.
  56. 2.2.0
  57. Changelog:
  58. -Fixed geometry index assignment bug.
  59. -Fixed gLTF2 buffer size bug.
  60. -Fixed gLTF2 albedo color mixing with texture bug.
  61. -Fixed FBX missing bone assignment bug.
  62. -Fixed FBX negative geometric scale bug.
  63. -Fixed FBX importing bug when the model has blend shapes, but user disabled blend shape importing.
  64. -Fixed Blender FBX texture emission values importing.
  65. -Fixed Fbx.Reader.FbxReader.Pivot processing.
  66. -Fixed DAE material assignment bug.
  67. -Fixed avatar mapping issues.
  68. -Fixed ScanForAlphaPixels option bug.
  69. -Refactored FBX ASCII parser.
  70. -Re-enabled MarkTexturesNoLongerReadable Asset Loader Option.
  71. -Added TriLib debug libraries.
  72. -Added support for diffuse textures inside zip files with the same short filename as the model file (Eg: model.png is assigned to the diffuse texture of model.fbx when the original texture isn't inside the zip file).
  73. -Added Blender FBX roughness/metallic material values support.
  74. -Added the ConversionPrecision static field to the readers.
  75. -Added glTF2 double-sided materials support.
  76. -Added glTF2 mask alpha mode support.
  77. -Added glTF2 KHR_materials_emissive_strength extension support.
  78. -Added AddAllBonesToSkinnedMeshRenderers Asset Loader Option. Turn on this field to add all available bones to every created SkinnedMeshRenderer.
  79. -Deprecated the TextureMapper Asset Loader Option. Please fill the TextureMappers array field now with your custom TextureMappers. Sample code has been updated.
  80. -Replaced the old "Map" method call from all TextureMappers with the new "Map" methodo verride.
  81. 2.1.9
  82. Changelog:
  83. -Added PLY loader validation skip.
  84. -Added AssetViewer debug visualizations.
  85. -Added material creation tasks to the AssetLoaderContext.Tasks list.
  86. -Added TriLib error when model can't be loaded.
  87. -Added gLTF2 Draco support on Android, iOS, Mac, Linux, and WebGL.
  88. -Added ExtractEmbeddedData Asset Loader Option. Turn off this field to disable embedded resource extraction. When this field is on, embedded textures and resources are extracted to disk and can work as a cache system.
  89. -Added EmbeddedDataExtractionPath Asset Loader Option. Path to extract embedded resources. This path is set to the "Persistent Data Path" by default.
  90. -Added BufferizeFiles Asset Loader Option. Change this field to define how TriLib will load files into memory before processing the file (When enabled, decreases loading times, but increases memory usage).
  91. -Added ConvertMaterialTextures Asset Loader Option. Turn off this field to disable the "Metallic/Smoothness/Specular/Roughness" automatic textures creation.
  92. -Added ConvertMaterialTexturesUsingHalfRes Asset Loader Option. Convert Material Textures using Half Res", Turn off this field to generate the "Metallic/Smoothness/Specular/Roughness" textures with the full original resolution.
  93. -Added DisableTesselation Asset Loader Option. Turn on this field to disable the tesselation of polygons with more than three vertices.
  94. -Added UseCoroutines Asset Loader Option. Turn on this field to use Coroutines on the main thread and minimize stalls.
  95. -Added ExtractMetallicAndSmoothness to the MaterialMapper class. This property defines if the MaterialMapper needs the "smoothness/roughness" and "metallic" textures on a single texture each.
  96. -Fixed MaterialMapper assignment bug.
  97. -Fixed FBX mesh names bug.
  98. -Fixed FBX version error message.
  99. -Fixed FBX look at property parsing.
  100. -Fixed FBX ASCII embedded textures reading.
  101. -Fixed FlexibleVertexData creation bug.
  102. -Fixed geometry tesselation issues.
  103. -Fixed UniversalRP MaterialMapper assignment bug.
  104. -Fixed sample scenes model references.
  105. -Textures loaded with the built-in Unity loader are compressed by the time they are loaded now.
  106. -Disabled the default value of ApplyGammaCurveToMaterialColors as textures were looking "washed out".
  107. -Removed GCHelper class. Complete GC is made after the model and textures are loaded.
  108. -Deprecated LoadMaterialsProgressively Asset Loader Option. All TriLib textures are loaded at once after all material properties are loaded.
  109. -Various performance/memory usage improvements.
  110. -Misc fixes.
  111. Version Notes:
  112. -This TriLib version handles embedded textures differently. To save processing times and memory, embedded data is extracted to the "persistent data path".
  113. To disable this behavior and use the embedded data as it is, turn off your "AssetLoaderOptions.ExtractEmbeddedData" field.
  114. You can select another extraction path by changing the "AssetLoaderOptions.EmbeddedDataExtractionPath" field.
  115. 2.1.8
  116. Changelog:
  117. -Added geometry groups and blend shape keys auto renaming.
  118. -Added FBX checkings to allow malformed files loading.
  119. -Added experimental DAE (Collada) loader. This feature must be enabled in the TriLib settings menu.
  120. -Fixed FBX binary key tangents reading.
  121. -Fixed FBX pivot issues.
  122. -Fixed FBX animation tangent issues.
  123. -Fixed FBX animation parsing issues.
  124. -Fixed gLTF duplicated animation curve binding name bug.
  125. -Memory usage improvements.
  126. -Performance improvements.
  127. 2.1.7a
  128. Changelog:
  129. -Fixed OBJStreamReader memory leak.
  130. -Fixed texture compression error when using Unity native texture loader.
  131. -Fixed FBX materials ambient color usage.
  132. -Fixed STL model creation bug.
  133. -Improved PLY and OBJ loader performance.
  134. -Refactored FBX parsers.
  135. -Deprecated ReadAndWriteEnabled asset loader option. Please use MarkMeshesAsDynamic option instead.
  136. -Added ApplyGammaCurveToMaterialColors asset loader option. Disable this field to prevent TriLib from applying the gamma curve to the material colors.
  137. -Added FbxReader.ApplyAmbientColor static field. Turn on this field to apply ambient color to Phong materials.
  138. -Added StlReader.StoreTriangleIndexInTexCoord0 static field. Turn off this field to stop storing the index of the triangle in the X component of the mesh texture coordinates.
  139. -Added StlReader.ImportNormals static field. Turn off this field to skip STL normal importing.
  140. 2.1.7
  141. Changelog:
  142. -Fixed AssetDownloader.CreateWebRequest GET/DELETE/HEAD parameters bug.
  143. -Fixed AssetLoaderZip error redirection bug.
  144. -Fixed IL2CPP compilation issues.
  145. -Fixed Apple Silicon StandaloneFileBrowser issues.
  146. -Fixed ReadEnabled Asset Loader Option implementation.
  147. -Fixed FBX vertex range issues.
  148. -Fixed FBX animation tangents.
  149. -Updated AssetViewer.
  150. -Added Dispatcher.DontDestroyOnLoad property. Turn on this property to prevent the Dispatcher instance from being destroyed when a new level is loaded.
  151. -Added the CustomData field to the AssetUnloader class. This field will have the same value as the CustomData field from the AssetLoaderContext used to load the model.
  152. -Added the StlReader.LoadWithYUp static field. Turn on this field to load your model with the Y-axis pointing up.
  153. -Added TRILIB_ENABLE_WEBGL_THREADS compiler directive. Enable this on the Edit->Project Settings->TriLib menu. Enabling this will enable threaded loading in WebGL platforms.
  154. -Added LoadPointClouds Asset Loader Option. Turn on this field to load the model as a Point Cloud (PLY and OBJ only).
  155. -Added Assembly Definition Files. Just extract the AssemblyDefinitions.zip contents into your Assets folder.
  156. -Now Normals/Tangent importing is controled by the ImportNormals/ImportTangents GenerateNormals/GenerateTangents Asset Loader Options.
  157. -Major refactoring.
  158. 2.1.6
  159. Changelog:
  160. -Fixed AssetLoaderContext.LoadedTextures registration bug.
  161. -Fixed sRGB Colors/Textures loading.
  162. -Fixed FBX and OBJ Metallic/Smoothness Textures creation.
  163. -Fixed OBJ MTL color parsing issue.
  164. -Fixed AssetUnloader Id serialization bug.
  165. -Fixed AssetUnloader creation bug.
  166. -Fixed AssetLoaderOptions.MergeVertices bug.
  167. -Removed automatic AssetLoaderOptions.LoadTexturesAsSRGB flag deactivaction.
  168. -Added ListModelResources sample. This sample lists all Resources (Textures/External Data) from the loaded Model.
  169. -Added FBX Lights Range.
  170. -Added FBX 3dsMax Materials Offset and Tiling loading.
  171. -Added SetUnusedTexturePropertiesToNull Asset Loader Option. Enable this field to set the unused Material Texture Properties to null.
  172. -Added CustomDataHelper class. Use this class to handle the "CustomData" field from the AssetLoaderContext as a Type/Object Dictionary.
  173. 2.1.5
  174. Changelog:
  175. -Increased FBX blend-shapes limit.
  176. -Fixed FBX ASCII reader issue.
  177. -Fixed FBX pivot issue.
  178. -Fixed AssetLoaderOptionsEditor typo.
  179. -Fixed gLTF2 Metallic/Smoothness Texture creation.
  180. -Added onPreLoad parameter to AssetLoader.LoadModelFromStream and AssetLoader.LoadModelFromFile. Use this parameter when you want to call a completion method on the loading Thread (onComplete is different from onPreLoad as it is always called on the main thread).
  181. 2.1.4b
  182. Changelog:
  183. -Fixed FBX Animation ranges bug.
  184. -Fixed GetTriLibPreferences Resources loading bug.
  185. -Fixed long names replacement bug.
  186. -Fixed mobile input system.
  187. -Fixed stb_image issues.
  188. -Updated stb_image.
  189. -Fixed StandaloneFileBrowser on iOS.
  190. -Refactored FBX ASCII reader.
  191. -Removed DAE Importer options in TriLib Settings (reserved for a future release).
  192. -Added MergeAnimations sample. This sample uses a custom AnimationClipMapper to merge AnimationClip tuples into one.
  193. -Added MaxTexturesResolution Asset Loader Option. Use this field to change the maximum Texture resolutions.
  194. -Added back the AssetLoaderOptions.OptimizeMeshes functionality.
  195. -Added MergeSingleChild Asset Loader Option. Turn on this field to merge single child models into a single GameObject.
  196. 2.1.4
  197. Changelog:
  198. -Fixed Materials processing.
  199. -Fixed OBJ objects creation.
  200. -Fixed ScanForAlphaPixels Asset Loader Option.
  201. -Fixed gLTF2 binary files loading.
  202. -Fixed duplicated name renaming method.
  203. -Fixed normals calculation on meshes without normals
  204. -Removed obligatory Animation component creation.
  205. -Deprecated FBXReader.MergeSingleChildDocument.
  206. -Added automatic Material default color assignment when there is a Texture in the same slot.
  207. -Added mobile controls to the Asset Viewer demo.
  208. -Added GltfReader.SpotLightDistance static field. Use this field to define the Spot Lights range (distance) when loading gLTF2 models.
  209. -Added DisableObjectsRenaming Asset Loader Option. Enable this field to disable TriLib objects/resources renaming. Remarks: this feature may break animations' compatibility as they won't work with duplicate object names.
  210. Version Notes:
  211. -Added experimental Cameras support. To enable it, enable the AssetLoaderOptions.ImportCameras field.
  212. -Added experimental Lights support. To enable it, enable the AssetLoaderOptions.ImportLights field.
  213. 2.1.3
  214. Changelog:
  215. -Fixed Non-Power-Of-Two Textures creation.
  216. -Fixed FBX pivot issues.
  217. -Fixed FBX empty mesh bug.
  218. -Fixed FBX animation pivots bug.
  219. -Fixed FBX double Textures assignment bug.
  220. -Fixed FBX/gLTF2 material color assignment bug (Colors are only set when there isn't a texture for their slot or the texture could not be loaded).
  221. -Fixed OBJ duplicated material names in material library bug.
  222. -Fixed gLTF2 skinning bug.
  223. -Fixed OBJ, PLY, and STL invalid Quaternion bug.
  224. -Fixed UniversalRPMaterialMapper Emission Texture bug.
  225. -Fixed ValidTRS assertion bug.
  226. -Fixed Blend Shapes Normal calculation.
  227. -Fixed PivotPosition Asset Loader Option bug.
  228. -Fixed Pointer_stringify WebGL bug.
  229. -Misc. fixes.
  230. -Changed default Material Mappers creation mode to avoid serialization issues.
  231. -Changed Settings ScriptableObject to avoid serialization issues. *Note: You might need to re-configure your TriLib Settings in the Project Settings area.
  232. -Changed the FBXReader.PivotMode static field value to FBXPivotMode.PreserveRotationPivot. If you have any pivot issues loading your model, please switch it back to FBXPivotMode.Legacy.
  233. -Improved memory usage.
  234. -Improved OBJ, PLY, and STL async loading speed by reducing progress handling callback frequency.
  235. -Added support for the Input Manager Package on TriLib samples.
  236. -Added LeftContainsRight and RightContainsLeft String comparison modes.
  237. -Added AutomaticallyPlayLegacyAnimations Asset Loader Option, used to play Legacy Animation Clips automatically upon loading.
  238. -Added DoubleSidedMaterials Asset Loader Option, used to create double-sided Materials when loading the Models.
  239. -Added EnforceAnimatorWithLegacyAnimations Asset Loader Option, used to add an Animator when the AnimationType is set to Legacy.
  240. -Added TRILIB_ENABLE_UWP_THREADS compiler directive. Enable this on the Edit->Project Settings->TriLib menu. Enabling this will enable threaded loading in UWP platforms.
  241. -Added LoadMaterialsProgressively Asset Loader Option, used to load Materials progressively when loading using the async method.
  242. -Added CalculateBlendShapeNormals Asset Loader Option, used to define if Blend Shape Normals will be calculated.
  243. -Deprecated MarkTexturesNoLongerReadable Asset Loader Option. To reduce allocated resources, all TriLib Textures CPU data is released after the Texture is loaded, turning the Texture non-readable.
  244. -Deprecated MaterialMapper.LoadTextureCallback field. Now Textures are loaded using an internal method.
  245. Version Notes:
  246. -Deprecated fields from AssetLoaderOptions have been removed (LoadedTextureGroups, BoneTransforms, RootBone, MaterialsProcessed, LoadedTexturesCount, and GeneratedTexturesNamesCount). You might need to update your code.
  247. -The Materials creation system has changed. Now Textures are pre-loaded and Materials are created all at once. To use the old behavior, turn on your AssetLoaderOptions LoadMaterialsProgressively field.
  248. -Changed Settings ScriptableObject to avoid serialization issues. *Note: You might need to re-configure your TriLib Settings in the Project Settings area.
  249. -Changed the FBXReader.PivotMode static field value to FBXPivotMode.PreserveRotationPivot. If you have any pivot issues loading your model, please switch it back to FBXPivotMode.Legacy.
  250. -Added TRILIB_ENABLE_UWP_THREADS compiler directive. Enable this on the Edit->Project Settings->TriLib menu. Enabling this will enable threaded loading in UWP platforms.
  251. 2.1.2
  252. Changelog:
  253. -Fixed FBX bone recognition bug.
  254. -Fixed FBX negative geometry indices bug.
  255. -Fixed FBX invalid bone referencing bug.
  256. -Fixed FBX ASCII exponent value bug.
  257. -Added FBX mesh tangent importing.
  258. -Added FBX MergeSingleChildDocument option to allow merging single root child document nodes.
  259. -Fixed PLY vertex color parsing.
  260. -Fixed PLY texcoords parsing.
  261. -Fixed ScriptedImporter Unity 2020.2 bug
  262. -Fixed splash screen.
  263. -Fixed normals calculation.
  264. -Fixed duplicated names bug.
  265. -Added CancellationTokenSource Asset Loader Option, used to cancel the loading on demand.
  266. -Replaced file-based runtime importer disabling by compiler directive-based importer disabling.
  267. 2.1.1
  268. Changelog:
  269. -Added the PivotPosition Asset Loader Option.
  270. -Added option to disable in editor file-formats importing.
  271. -Fixed iOS StandaloneFileBrowser bug.
  272. -Fixed bug where OBJ geometry groups were not created correctly.
  273. -Fixed PLY big-endian loading issue.
  274. -Fixed glTF Draco loader.
  275. -Fixed glTF Quantitized loading.
  276. -Fixed OBJ reader NaN parsing.
  277. -Fixed FBX bug where a single layer was referenced by more than one animation stack.
  278. -Fixed textures compression issue.
  279. -Fixed alpha materials creation issue. TriLib was creating an alpha material even for meshes that don't use transparent textures or alpha values.
  280. -Fixed mip-maps generation bug.
  281. -Fixed misc. bugs.
  282. 2.1.0
  283. Changelog:
  284. -Deprecated Specular Material Mode (now all maps and colors are converted to the Metallic workflow).
  285. -Deprecated Autodesk Interactive Materials for the same reason as above.
  286. -Refactored FBX Material system.
  287. -Standard/Universal/HDRP update/fixes.
  288. -Fixed issues with duplicated GameObject names.
  289. -Fixed colliders generation.
  290. -Fixed FBX parent GameObject when there is only a single child.
  291. -Fixed FBX orientation issues.
  292. -Fixed PLY materials importing.
  293. -Removed obligatory FBX animations resampling.
  294. -Removed FaceBuilder sample for refactoring.
  295. -Added a sample on how to load extra animations.
  296. -Added FBX animation curves tangent importing.
  297. -Added visibility FBX animation curves importing.
  298. -Added the ResampleFrequency loader option, used to define the frequency of FBX animation curves resampling.
  299. -Added PLY textures importing.
  300. -Added gLTF blend-shape name importing.
  301. -Wiki: Added Blender PBR material workflow video tutorial.
  302. 2.0.17b
  303. Changelog:
  304. -Fixed regression issue preventing TextureMappers from executing.
  305. -Fixed gLTF specular materials processing.
  306. -Fixed StandardAlpha reflections.
  307. -Refactored gLTF reader for improved performance.
  308. -Added ScaleFactor processing to 3MF and PLY readers.
  309. 2.0.17
  310. Changelog:
  311. -Fixed Android issues.
  312. -Fixed ScanForAlphaPixels feature.
  313. -Fixed PLY orientation issues.
  314. -Fixed STL orientation issues.
  315. -Fixed FBX ASCII parser issue.
  316. -Fixed FBX animation baking issue where there is only one keyframe at the curve.
  317. -Refactored FBX loader. Now TriLib won't duplicate meshes unless they have different Geometric matrices.
  318. -Refactored textures offset and scaling processing. Now any material texture can change the material offset and scale.
  319. -Refactored the way TriLib maps Root Bones. Some Models include more than one Skinned Mesh hierarchy, so now Root Bone Mappers work with a List of Transforms.
  320. -Dropped gLTFLoader dependency.
  321. -Added STL color support (via vertex-color).
  322. -Added KHR_texture_transform GLTF extension support.
  323. 2.0.16
  324. Changelog:
  325. -Added missing GLTF2 Mesh Primitive Modes: Triangle Fan and Triangle Strip.
  326. -Allowed GLTF2 skinned meshes without bindposes to load.
  327. -Refactored STL ASCII parser.
  328. 2.0.15b - HotFix
  329. Changelog:
  330. -Removed broken Assembly Definitions.
  331. 2.0.15b
  332. Changelog:
  333. -Refactored Textures loading system, so there is only one Texture in CPU memory per-load now.
  334. -Dispatcher system refactoring.
  335. -Fixed bug with FBX blend-shapes having invalid rotation values.
  336. -Fixed bug with FBX files missing objects definition count.
  337. -Fixed bug with FBX vertex-colors.
  338. -Fixed FBX bug when animations don't have any layer.
  339. -Fixed Avatars position issue.
  340. -Fixed generation of LODGroups with more than one LOD group mesh.
  341. -TriLib now uses the Unity internal File Browser when working in the Editor.
  342. -OBJ reader and processor refactoring.
  343. -Removed GLTF validations.
  344. -Added TransparencyFactor parsing to FBX materials.
  345. -Added Textures scaling/offset importing. This must be enabled with "AssetLoaderOptions.ApplyTexturesOffsetAndScaling".
  346. -Added UseAutodeskInteractiveMaterials loading option. Enable it when you want to use AutodeskInteractive materials if suitable.
  347. Version Notes:
  348. The "Map" method from MaterialMapper is executed in parallel Threads now.
  349. If you want to call a code in the Main Thread from this method, use the "Dispatcher.InvokeAsyncAndWait" method.
  350. Keep in mind that your called method must implement the "TriLibCore.Interfaces.IAwaitable" to indicate when the method task is complete.
  351. 2.0.15
  352. Changelog:
  353. -Added the LoadTexturesAsSRGB loader option to load textures as sRGB (enabled by default).
  354. -Added LODScreenRelativeTransitionHeightBase to set the initial relative transition height when creating LOD Groups.
  355. -Fixed PLY binary reader.
  356. -Fixed headless mode Material Mappers inclusion (You can set the material mapper via the -trilib_mappers command line parameter).
  357. -Fixed linear colorspace texture issues.
  358. -Fixed avatar root position issues.
  359. -Fixed LOD Groups creation.
  360. -Fixed FBX accessors out-of-bounds bug (Some FBX files contains invalid data, which TriLib ignores now).
  361. -Fixed FBX animation start-time regression bug.
  362. -Fixed HDRP material mapper checking name.
  363. -Fixed HDRP mask textures creation.
  364. -Fixed GLTF materials.
  365. -Changed FixNormalMaps loader option behavior. Now it does the normal map to use the ABBR channel scheme instead of the RGBA.
  366. -Deprecated AssetLoaderOptions.AddSecondAlphaMaterial and AssetLoaderOptions.UseAlphaMaterials settings in flavor of adding the AlphaMaterialMode setting.
  367. -Deprecated AssetLoaderOptions.Enforce16BitsTextures. Now all textures are loaded using their original bit-depth.
  368. -Deprecated AssetLoaderOptions.IndexFormat. Now All meshes are created with 32 bits indices.
  369. -Added TRILIB_USE_UNITY_TEXTURE_LOADER compiler directive to use Unity internal image loader instead of stb_image.
  370. -Added tangents loading to GLTF meshes.
  371. -Added FbxReader.PivotMode to change how TriLib handles FBX mesh pivots (Experimental).
  372. -Added StlReader.FixInfacingNormals option to fix in-facing normals on STL meshes (Experimental).
  373. 2.0.14b
  374. Changelog:
  375. -Fixed regression bug on FBX animations.
  376. -Fixed HDRP materials.
  377. 2.0.14
  378. Changelog:
  379. -Refactored FBX mesh generation.
  380. -Fixed StandaloneFileBrowser not opening on Windows.
  381. -Fixed STL flipped normals bug.
  382. -Fixed GCHelper.cs always running bug.
  383. -Fixed GLTF blend-shape animations bug.
  384. -Fixed GLTF roughness values.
  385. -Fixed FBX ASCII reader bug with out-of-range properties.
  386. -Fixed ImporterEditor references on newer Unity versions.
  387. -TriLib now fixes out of unit-range normals.
  388. -TriLib now figures animation lengths when FBX files have invalid LocalStop and LocalStop properties.
  389. -Removed bone weight limitations.
  390. -Added GLTF metallic texture creation to simulate metallic values when there is no texture available.
  391. -Added UseUnityNativeTextureLoader loader option to use Unity builtin texture loader instead of stb_image.
  392. -Added UseUnityNativeNormalCalculator loader option to use Unity builtin normal calculator.
  393. -Added GCHelperCollectionInterval loader option to set the interval GCHelper takes to release a loading model.
  394. -Added SimpleCustomAssetLoader sample.
  395. 2.0.13b
  396. Changelog:
  397. -Fixed material/texture issues.
  398. -Removed the LoadHumanoidAnimationFromFilePicker sample for refactoring.
  399. -Added StandaloneFileBrowser sources.
  400. 2.0.13
  401. Changelog:
  402. -Mesh system refactoring.
  403. -Memory management refactoring.
  404. -Fixed TriLibSettings.
  405. -Fixed GCHelper bugs.
  406. -Fixed model readers selection bug.
  407. -Fixed FBX PostRotation bug.
  408. -Now selecting materials on sample models depending on the rendering pipeline.
  409. -Implemented texture compression.
  410. -Implemented FBX ByPolygon geometry type.
  411. -Implemented texture CPU memory deallocation.
  412. -Not preventing the creation of colliders on animated meshes anymore.
  413. -TriLib now tries to guess the downloaded model extension by the URL.
  414. -Fixed misc bugs.
  415. 2.0.12b
  416. Changelog:
  417. -FBX reader refactoring.
  418. -Fixed Avatar orientation issues.
  419. -Fixed UniversalRP/HDRP Material Mappers automatic assignment.
  420. -Fixed ByNameHumanoidAvatarMapper.
  421. -Fixed progress handling.
  422. -Added Thread names option.
  423. -Added deprecation warnings on the compilation.
  424. -Added Version Notes area.
  425. -Added Material Mapper settings to Project Settings/TriLib area.
  426. -Added TriLibSettings ScriptableObject used to save settings per project.
  427. -Added the ForceGCCollectionWhileLoading option to release memory promptly while loading the model.
  428. -Deprecated ResampleCurves loader option.
  429. -Renamed the SFB namespace to TriLibCore.SFB (*See notes).
  430. -Fixed AssetDownloader sample error.
  431. Version Notes:
  432. Since TriLib 2.0.12, the 'SFB' namespace has been replaced by the 'TriLibCore.SFB' namespace to avoid conflicts with the vanilla StandaloneFileBrowser.
  433. To fix errors related to the 'SFB' namespace, replace the 'SFB' namespace from your code with the 'TriLibCore.SFB' namespace.
  434. If you need any guidance, send a message to 'contato@ricardoreis.net'.
  435. 2.0.11
  436. Fixed FBX animations with empty component keys issue.
  437. Fixed FBX material indices issue.
  438. Added FileShare.Read when reading file streams.
  439. Small refactoring.
  440. API Docs update.
  441. Moved Universal and HD pipeline scripts to their namespaces. (User code may need to be updated)
  442. 2.0.10
  443. Fixed negative matrix scale values bug.
  444. Fixed OBJ MTL space in filenames bug.
  445. Fixed GLTF animation baking issues.
  446. 2.0.9
  447. Fixed AssetLoaderZip options reference issue.
  448. Added conditional OnLoad and OnMaterialsLoad calls.
  449. Material indices fixing/refactoring.
  450. Fixed Standard Materials alpha.
  451. FBX Mesh creation refactoring.
  452. Added "EnsureQuaternionContinuity" loader option.
  453. Added "UseMaterialKeywords" loader option.
  454. Disabled the "SampleBindPose" loader option by default to improve avatars' compatibility.
  455. Disabled compiler warnings (false positives).
  456. 2.0.8
  457. UniversalRP Material fixes.
  458. AssetDownloader FileExtension parameter requirement message.
  459. Added code to suppress GLTF validation.
  460. Fixed AssetLoaderZip infinite error callback.
  461. Fixed Texture creation bugs.
  462. Fixed HumanoidRetargeter bug.
  463. Remove Animation Mappers from default Asset Loader Options.
  464. 2.0.7
  465. Fixed FBX Mesh bones issue.
  466. Improved T-Pose enforcement.
  467. Improved Humanoid Avatar creation.
  468. Added GLTF Draco Decoder native libraries.
  469. Added Humanoid Animations importing Sample.
  470. Fixed GLTF Draco Decoder inclusion issue.
  471. Fixed Shader Variants inclusion issue.
  472. Fixed Material float Property value multipliers.
  473. Deprecated Roughness Material mode.
  474. 2.0.6
  475. Fixed FBX Mesh normals importing issue.
  476. Fixed Normal Maps creation issue.
  477. 2.0.5
  478. Fixed ScriptableObject creation on the editor (TriLib was always replacing the existing Mapper assets).
  479. Fixed ImportColors, ImportMeshes, ImportMaterials, and ImportTextures option not working on some file-formats.
  480. Fixed Mesh normals calculation.
  481. Fixed Mesh tangents calculation.
  482. Added OBJ vertex-color support.
  483. Unrestricted bones-per-vertex option disabled for tweaking. Will be re-enabled on the next update.
  484. 2.0.4
  485. Added AssetLoaderOptions editing to TriLibScriptedImporter.
  486. Fixed DestroyImmediate bug on AssetLoader.cs.
  487. 2.0.3
  488. Added initial 3MF support.
  489. Fixed in-editor Mesh instancing memory leak.
  490. Fixed in-editor Material naming warnings.
  491. Moved pre-allocations inside AssetLoaderOptions.
  492. Fixed missing Scripts in demo scenes.
  493. 2.0.2
  494. Added GLTF 2 Sparse Accessors support.
  495. 2.0.1
  496. Material Mapper refactoring.
  497. Added experimental UniversalRP and HDRP support.
  498. 2.0
  499. Initial TriLib 2 Asset Store release.
  500. 1.9.0
  501. Fixed missing animation components assignment
  502. Fixed aiMaterial_GetShininessStrength and aiMaterial_GetShininess values reading
  503. Added options to: Disable Automatic Models loading on Editor, Disable Native Plugins checking, Disable Deprecated Versions checking on Project Settings.
  504. Added button to configure Native Plugins metadata on Project Settings.
  505. Moved TriLib menu items to Project Settings.
  506. Removed hard-coded references to TriLib install path on samples, allowing users to run the samples when TriLib is installed on a different folder.
  507. Deprecated AssetLoaderOptions.ForceAnimationComponents field
  508. 1.8.9b
  509. WebGL native libraries reference fix
  510. 1.8.9a
  511. Replaced WebGL libraries
  512. 1.8.9
  513. STEP reader fixes
  514. 3DS progress handler fix
  515. FBX reader fixes
  516. GLTF2 reader fixes
  517. GLTF reader fixes
  518. MD4 reader fixes
  519. MMD reader fixes
  520. OBJ reader fixes
  521. DAE reader fixes
  522. SMD reader fixes
  523. Removed invalid data checking which was preventing some models from loading
  524. Removed iOS internal ZLIB dependency (using TriLib own ZLIB)
  525. Fixed WebGL issues*
  526. Fixed a bug where older Android devices couldn't accept 32-bits indexed meshes
  527. Fixed a bug where unnamed embedded textures couldn't be loaded correctly
  528. Fixed a bug where temporary textures weren't disposed
  529. Fixed memory leaks
  530. Fixed material transparency issues
  531. Fixed FBX base-64 textures reading bug
  532. Fixed async errors catching
  533. Fixed bug where textures with empty names would cause errors
  534. Fixed samples issues
  535. Fixed misc. issues
  536. Added Hololens 2 experimental support
  537. Added UTF-8 texture path support
  538. Added WebGL template which is used on TriLib demo
  539. Added WebGL utility class JsHelper which contains methods to read file data from Javascript
  540. Added AssetLoaderOptions.UseOriginalPositionRotationAndScale to allow maintaining original model coordinates
  541. Added AssetLoaderOptions.MaterialShadingMode to allow material shading mode selection (Standard, Roughness or Specular)
  542. Added AssetLoaderOptions.MaterialTransparencyMode to allow material transparency mode selection
  543. Added AssetLoaderOptions.LoadRawMaterialProperties to allow custom material data loading. Custom properties will be available on AssetLoaderBase.MaterialData Properties field
  544. Added TIFF images support
  545. Added AssetLoaderOptions fields: ApplyGlossinessScale, ApplyGlossiness, ApplyNormalScale, ApplyMetallicTexture, ApplyOcclusionTexture, ApplyDisplacementTexture, ApplyNormalTexture, ApplySpecularTexture, ApplyEmissionTexture, ApplyDiffuseTexture, ApplySpecularColor, ApplyEmissionColor, ApplyDiffuseColor, ApplyColorAlpha to allow selectively components loading
  546. Added AssetLoaderOptions.DontAddMetadataCollection, when enabled, TriLib will add an AssimpMetadataCollection component to every GameObject child, containing a collection of metadata found while loading the model
  547. Added AssetLoaderOptions.ForceAnimationComponents to enforce Animation/Animator components creation even when there are no animated objects on the model
  548. *Note: WebGL module isn't working on Unity 2019 yet, we are working on a fix for this issue