Converti USD in X tramite C#
Esporta file USD e altri 3D utilizzando .NET Framework, .NET Core e Mono
Esporta USD scena come X con C#
- Carica il file USD utilizzando un costruttore di Scena classe2. Chiama Scene.Salva metodo
- Passare il nome del file di output con estensione .x come primo parametro
- Specificare il valore del campo “XBinary” da Formato del file classe
3D Conversione formato API for .NET
Installa dalla riga di comando come nuget install Aspose.3d
o tramite Package Manager Console di Visual Studio con Install-Package Aspose.3D
.
In alternativa, ottieni il programma di installazione MSI offline o le DLL in un file ZIP da download .
C# Codice per la conversione da USD a X
// carica USD in un oggetto di Scene
var scene = new Aspose.ThreeD.Scene("template.usd");
// salva USD come una X
scene.Save("output.x", Aspose.ThreeD.FileFormat.XBinary);
Other Conversion Options
USD What is USD File Format?
A file with .usd extension is a Universal Scene Description file format that encodes data for the purpose of data interchanging and augmenting between digital content creation applications. Developed by Pixar, USD provides the ability to interchange elemental assets (such as models) or animation.
Read MoreX What is X File Format?
A file with .x extension refers to DirectX 3D Graphics legacy file format that was introduced with Microsoft DirectX 2.0. It was used for 3D graphics rendering in games and specifies the structures for meshes, textures, animations, and user-defined objects. It has been deprecated since 2014 as the Autodesk FBX file format serves better as a more modern format. X is template-driven and is free of any usage knowledge. You can open DirectX X files using Microsoft DirectX and common text editors.
Read More