C# के माध्यम से USD को X में बदलें

.NET फ्रेमवर्क, .NET कोर और Mono का उपयोग करके USD और अन्य 3D फ़ाइलें निर्यात करें

C# के साथ USD दृश्य को X के रूप में निर्यात करें

  1. के कंस्ट्रक्टर का उपयोग करके USD फ़ाइल लोड करें दृश्य कक्षा2. कॉल दृश्य। सहेजें तरीका
  2. पहले पैरामीटर के रूप में .x एक्सटेंशन के साथ आउटपुट फ़ाइल नाम पास करें
  3. से XBinary फ़ील्ड मान निर्दिष्ट करें फाइल प्रारूप कक्षा

3D रूपांतरण प्रारूपित करें API for .NET

कमांड लाइन से ``nuget install Aspose.3dके रूप में याइंस्टॉल-पैकेज Aspose.3D``` के साथ विजुअल स्टूडियो के पैकेज मैनेजर कंसोल के माध्यम से इंस्टॉल करें।

वैकल्पिक रूप से, ऑफ़लाइन MSI इंस्टॉलर या DLL को ZIP फ़ाइल से प्राप्त करें डाउनलोड .

C# USD से X रूपांतरण के लिए कोड

// सीन के ऑब्जेक्ट में USD लोड करें 
var scene = new Aspose.ThreeD.Scene("template.usd");
// USD को X . के रूप में सहेजें 
scene.Save("output.x", Aspose.ThreeD.FileFormat.XBinary);

Other Conversion Options

USD TO PLY (Polygon File Format)
USD TO FBX (Autodesk FBX Interchange File)
USD TO AMF (Additive Manufacturing File)
USD TO ASE (Adobe Swatch Exchange File)
USD TO 3DS (3D Studio Scene)
USD TO JT (JT Open CAD File)
USD TO HTML (Hyper Text Markup Language)
USD TO STL (Stereolithography File)

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

X 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