Converter USD em DRC via C#
Exporte USD e outros 3D arquivos usando .NET Framework, .NET Core e Mono
Exportar cena USD como DRC com C#
- Carregue o arquivo USD usando um construtor de Cena aula2. Ligue Cena.Salvar método
- Passe o nome do arquivo de saída com a extensão .drc como primeiro parâmetro
- Especifique o valor do campo
Draco
de Formato de arquivo aula
3D Conversão de formato API for .NET
Instale a partir da linha de comando como nuget install Aspose.3d
ou via Package Manager Console do Visual Studio com Install-Package Aspose.3D
.
Como alternativa, obtenha o instalador MSI offline ou as DLLs em um arquivo ZIP de Transferências .
C# Código para conversão de USD em DRC
// carregue o USD em um objeto de Scene
var scene = new Aspose.ThreeD.Scene("template.usd");
// salve USD como um DRC
scene.Save("output.drc", Aspose.ThreeD.FileFormat.Draco);
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 MoreDRC What is DRC File Format?
A file with .drc extension is a compressed 3D file format created with Google Draco library. Google offers Draco as open source library for compressing and decompressing 3D geometric meshes and point clouds, and improves storage and transmission of 3D graphics. It encodes the input data and saves it as .drc file. At the receiving end, the API reads .drc files and can output these as PLY or OBJ files. The compressed output file enables users to download apps faster and provide quick loading of 3D graphics in browsers.
Read More