Extra Content

Here are a few TriLib 2.0 extra content (The content requires the TriLib 2.0 package): SimpleCustomAssetLoader – Contains a helper class and a sample scene showing how to load models/resources from custom sources. In the sample, a simple model a texture, and an external resource is loaded from String data sources.

Accessing Files Metadata

TriLib allows accessing files native data (metadata) depending on a file-format basis. The following article contains some classes not available on the current This article won’t focus on every native class, it will introduce the methods to access the top-level native classes from some file formats. FBX To access the FBXDocument class containing the FBX […]

TriLib 2

TriLib is a cross-platform runtime 3D model importer for Unity FBX, OBJ, GLTF2, STL, PLY, 3MF, DAE*, and ZIP files supportCross-platform: Windows, Mac, Linux, UWP, Android, WebGL, and iOSImport models from file-system, web, or any custom sourceMesh importingPoint Cloud importingAnimation importingMaterial importingTexture importingCamera importingLight importingAvatar creationHighly customizableNo native-plugin dependencies (Written in C#)Commented source-codeVarious samplesA complete PBR model viewer includedBuilt-in file browser (*DAE support is experimental) Web DemosModel ViewerAvatar Loader Asset Store […]

License

TriLib is governed by the Asset Store EULA; however, the following components are governed by the licenses indicated below: TriLib uses: A. SafeStbImageSharpPublic DomainRoman Shapiro B. LibTessDotNetSGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)Rémi Gillig C. SharpZipLibMIT License (MIT)Copyright (c) 2000-2016 SharpZipLib Contributors D. StandaloneFileBrowserMIT License (MIT)Copyright (c) Gökhan Gökçe E. Open Sans […]

Mappers

Mappers are special classes TriLib uses to map and process many loading features that otherwise would need to be made manually model by model, which is inviable due to the nature of the runtime importing process. Mappers should be assigned to an Asset Loader Options instance that can be created via code or manually on […]

User Manual

TriLib is a Unity package used to load 3D models, textures, animations, and materials via scripts, allowing you to add runtime asset loading capabilities to your game/application. Basic UsageSpecial Reader FeaturesMappersKnown Issues/LimitationsFAQ

Global Outline – Unity (3D/UI/Sprites) full-screen masked outline shader

The repository contains scripts and shaders used to add a full-screen outline effect to visual Unity components (Graphic or Renderer). To use it, add the “OutlineManager.cs” script to the camera that will render the outline effect and call the “AddGameObject” method to add the effect to any GameObject that contains Graphics or Renderers. You can […]

TriLib – Asset Loader Options

TriLib accepts various options when loading your models. Here are the options list contained in AssetLoaderOptions class: General Post Process Steps: Please refer to this link. Meshes DontLoadMeshes: Turn on this field to disable mesh loading. CombineMeshes: Turn on this field to combine multiple meshes with the same material into a single instance. Scale: Use […]