All Projects → Siccity → Gltfutility

Siccity / Gltfutility

Licence: mit
Simple GLTF importer for Unity

Labels

Projects that are alternatives of or similar to Gltfutility

Gltfast
glTF runtime loading library for Unity
Stars: ✭ 156 (-48.85%)
Mutual labels:  unity, gltf
Knight
Knight is a game framework based on Unity3D engine. It includes a complete assetbundle manager, a c# hotfix module based on ILRuntime, and a UI module based on MVVM, and other basic functions support.
Stars: ✭ 302 (-0.98%)
Mutual labels:  unity
Unity Destruction
💥 An open-source script to destroy objects realistically in Unity3D.
Stars: ✭ 291 (-4.59%)
Mutual labels:  unity
Depthinverseprojection
An example showing how to inverse-project depth samples into the view/world space in Unity.
Stars: ✭ 296 (-2.95%)
Mutual labels:  unity
Open Project 1
Unity Open Project #1: Chop Chop
Stars: ✭ 4,235 (+1288.52%)
Mutual labels:  unity
Screenmanager
Flexible way to manage screens with transitions for Unity
Stars: ✭ 300 (-1.64%)
Mutual labels:  unity
Zcode Assetbundlepacker
Unity的AssetBundle模块扩展插件,主要目的用于简化AssetBundle打包,提供AssetBundle管理,支持热更新、支持资源包下载、支持版本控制。
Stars: ✭ 291 (-4.59%)
Mutual labels:  unity
Configurableshaders
Showing off the power of shader properties in Unity
Stars: ✭ 304 (-0.33%)
Mutual labels:  unity
Unity Serializabledictionary
Serializable dictionary class for Unity
Stars: ✭ 302 (-0.98%)
Mutual labels:  unity
Gdk For Unity
SpatialOS GDK for Unity
Stars: ✭ 296 (-2.95%)
Mutual labels:  unity
Kcp
KCP C#版。线程安全,运行时无alloc,对gc无压力。
Stars: ✭ 294 (-3.61%)
Mutual labels:  unity
Ilruntime hotgames
基于ILRuntime的热更新能力实现的可以直接使用的框架,友情赠送C# WebService + WebSocketServer服务器端。
Stars: ✭ 293 (-3.93%)
Mutual labels:  unity
Nativerenderingplugin
C++ Rendering Plugin example for Unity
Stars: ✭ 299 (-1.97%)
Mutual labels:  unity
Project Skylines
procedural retro 3d game, winner of the GitHub Gameoff 2017
Stars: ✭ 293 (-3.93%)
Mutual labels:  unity
Liquidsimulator
Cellular Automaton 2D Liquid Simulator for Unity
Stars: ✭ 302 (-0.98%)
Mutual labels:  unity
Gromit Mpx
Gromit-MPX is an on-screen annotation tool that works with any Unix desktop environment under X11 as well as Wayland.
Stars: ✭ 287 (-5.9%)
Mutual labels:  unity
Marching Cubes Terrain
Marching Cubes terrain implementation in Unity using the Job System and the Burst compiler
Stars: ✭ 292 (-4.26%)
Mutual labels:  unity
Proceduralmotiontrack
Simple procedural motion with Unity Timeline.
Stars: ✭ 300 (-1.64%)
Mutual labels:  unity
Exporters
Exporters for Babylon.js and gltf file formats
Stars: ✭ 302 (-0.98%)
Mutual labels:  gltf
Standardgeometryshader
An example of a geometry shader with Unity's standard lighting model support.
Stars: ✭ 303 (-0.66%)
Mutual labels:  unity

Discord GitHub issues GitHub license

GLTFUtility

Allows you to import and export glTF files during runtime and in editor. glTF is a new opensource 3d model transmission format which supports everything you'll ever need from a format in Unity. Read more about glTF here

2019-04-01_00-46-27 image image

What makes GLTFUtility different?

Focusing on simplicity and ease of use, GLTFUtility aims to be an import-and-forget solution, keeping consistency with built-in functionality.

Installation

Using Unity Package Manager (Help)
  1. "com.siccity.gltfutility": "https://github.com/siccity/gltfutility.git"
Using git
  1. Get Newtonsoft.JSON from one of these sources
  2. Clone GLTFUtility by itself or as a submodule
    • Clone into your assets folder git clone [email protected]:Siccity/GLTFUtility.git
    • Add repo as submodule git submodule add [email protected]:Siccity/GLTFUtility.git Assets/Submodules/GLTFUtility
Manual download
  1. Get Newtonsoft.JSON from the asset store
  2. Download GLTFUtility-master.zip and extract to your project assets

Features

System

  • [x] Editor import
  • [ ] Editor export
  • [x] Runtime import API
  • [ ] Runtime export API
  • [x] GLTF format
  • [x] GLB format
  • [x] Multithreading
  • [x] URP #75
  • [ ] HDRP #73
  • [ ] LWRP

Spec

  • [x] Static mesh (with submeshes)
  • [x] UVs (up to 8 channels)
  • [x] Normals
  • [x] Tangents
  • [x] Vertex colors
  • [x] Materials (metallic/specular, opaque/mask/blend)
  • [x] Textures (embedded/external)
  • [x] Remote textures (during async only)
  • [x] Rig
  • [ ] Avatar/Mask #70
  • [x] Animations (multiple)
  • [x] Morph targets (with experimental names)
  • [x] Cameras

Extensions

  • [x] KHR_texture_transform (partial support)
  • [x] KHR_materials_pbrSpecularGlossiness
  • [ ] KHR_lights_punctual #25
  • [x] KHR_draco_mesh_compression #27

Known issues

  • ArgumentNullException: Value cannot be null in build but not in editor.
    • This is most likely due to shaders being stripped from the build. To fix this, add the GLTFUtility shaders to the Always Included Shaders list in Graphic Settings.

Runtime import API

// Single thread
using Siccity.GLTFUtility;

void ImportGLTF(string filepath) {
   GameObject result = Importer.LoadFromFile(filepath);
}
// Multithreaded
using Siccity.GLTFUtility;

void ImportGLTFAsync(string filepath) {
   Importer.ImportGLTFAsync(filepath, new ImportSettings(), OnFinishAsync);
}

void OnFinishAsync(GameObject result) {
   Debug.Log("Finished importing " + result.name);
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].