petrbroz / forge-unity-poc

Prototype application used to preview Autodesk Forge models in Unity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forge-unity-poc

Prototype application allowing you to load and preview your Autodesk Forge models in Unity.

Screenshot

The sample code consists of two projects:

  • Simple Node.js server used to list 3D models in a pre-configured Forge bucket, and convert the models into the glb format with meshopt compression. To enable picking, the conversion process also embeds 32-bit object IDs in the color channel of the output geometry.

  • Unity application that communicates with the Node.js server, and uses glTFast to load and preview the generated glb files. It includes a "pointer" game object that can identify whatever object it is pointing at by parsing the object ID from the color channel.

About

Prototype application used to preview Autodesk Forge models in Unity.


Languages

Language:ShaderLab 70.7%Language:HLSL 12.3%Language:JavaScript 9.1%Language:C# 7.8%