Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 2.42 KB

README.md

File metadata and controls

62 lines (41 loc) · 2.42 KB

TinyUSD.NET

This repository contains a thin low-level autogenerated C# binding for tinyusdz used by Evergine. tinyusdz is a lightweight, single-header C++ library for handling USD (Universal Scene Description) files

Build Status

CI CD Nuget

How it works

This automated binding is generated based on the tinyusdz C++ project. For more details, see the original project:

The binding allows developers to interact with USD files in C# using the tinyusdz functionality, including:

  • USD file parsing
  • Scene graph manipulation
  • Exporting and importing assets

How to compile tinyusdz native libraries

Requirements:

Locations of the necessary resources:

  • c-tinyusd.h: tinyusd (root folder) / src
  • tinyusdz.sln x64: tinyusd (root folder) / build
  • tinyusdz.sln Win32: tinyusd (root folder) / build_win32

Steps:

1️⃣ Step: clone the tinyusdz GitHub repository.

2️⃣ Step: Run cmake with the following options enabled.

CMake project configuration

3️⃣ Step: In the generated C++ solution, compile the ctinyusd project to generate the dll file.

By default, the x64 solution will be generated in the “build” folder specified in cmake.

To generate the Win32 solution we must execute the file vc-setup-32bit.bat. It will generate the Win32 solution in the build_win32 folder.

Test

Check the TinyUSDExample console project to run the example shown in the image.

Output

Platforms

We are working to add support to all this plaforms:

  • Windows x86, x64
  • Linux x64
  • MacOS
  • iOS
  • Android
  • WebAssembly