Преобразование USD в DAE через C#
Экспорт USD и других файлов 3D с помощью .NET Framework, .NET Core и Mono
Экспорт сцены USD как DAE с помощью C#
- Загрузите файл USD с помощью конструктора Сцена класс2. Звонок Сцена.Сохранить метод
- Передайте имя выходного файла с расширением .dae в качестве первого параметра.
- Укажите значение поля
Collada
из Формат файла класс
3D Преобразование формата API for .NET
Установите из командной строки как nuget install Aspose.3d
или через консоль диспетчера пакетов Visual Studio с Install-Package Aspose.3D
.
Кроме того, можно получить автономный установщик MSI или библиотеки DLL в файле ZIP из загрузки .
Код C# для преобразования USD в DAE
// загрузить USD в объект сцены
var scene = new Aspose.ThreeD.Scene("template.usd");
// сохранить USD как DAE
scene.Save("output.dae", Aspose.ThreeD.FileFormat.Collada);
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 MoreDAE What is DAE File Format?
A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. This file format is based on the COLLADA (COLLAborative Design Activity) XML schema which is an open standard XML schema for the exchange of digital assets among graphics software applications. It has been adopted by ISO as a publicly available specification, ISO/pAS 17506. DAE files can be opened in applications such as Adobe Photoshop, AutoDesk Maya, AutoDesk AutoCAD, and APIs such as Aspose.CAD.
Read More