Ubah USD menjadi DRC melalui C#

Ekspor USD & file 3D lainnya menggunakan .NET Framework, .NET Core, dan Mono

Ekspor USD Scene sebagai DRC dengan C#

  1. Muat file USD menggunakan konstruktor dari Tempat kejadian kelas2. Telepon Adegan.Simpan metode
  2. Berikan nama file keluaran dengan ekstensi .drc sebagai parameter pertama
  3. Tentukan nilai bidang Draco dari Format File kelas

3D Konversi Format API for .NET

Instal dari baris perintah sebagai nuget install Aspose.3d atau melalui Package Manager Console dari Visual Studio dengan Install-Package Aspose.3D.

Atau, dapatkan penginstal MSI offline atau DLL dalam file ZIP dari unduhan .

C# Kode untuk USD ke DRC Konversi

// memuat USD dalam objek Scene 
var scene = new Aspose.ThreeD.Scene("template.usd");
// simpan USD sebagai DRC 
scene.Save("output.drc", Aspose.ThreeD.FileFormat.Draco);

Other Conversion Options

USD TO PLY (Polygon File Format)
USD TO AMF (Additive Manufacturing File)
USD TO DRC (Google Draco File Format)
USD TO FBX (Autodesk FBX Interchange File)
USD TO RVM (AVEVA RVM)
USD TO OBJ (Wavefront 3D Object File)
USD TO STL (Stereolithography File)
USD TO 3DS (3D Studio Scene)

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 More

DRC 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