C# के माध्यम से USD को X में बदलें
.NET फ्रेमवर्क, .NET कोर और Mono का उपयोग करके USD और अन्य 3D फ़ाइलें निर्यात करें
C# के साथ USD दृश्य को X के रूप में निर्यात करें
- के कंस्ट्रक्टर का उपयोग करके USD फ़ाइल लोड करें दृश्य कक्षा2. कॉल दृश्य। सहेजें तरीका
- पहले पैरामीटर के रूप में .x एक्सटेंशन के साथ आउटपुट फ़ाइल नाम पास करें
- से
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 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