تحويل USD إلى X عبر C#
تصدير USD وملفات 3D أخرى باستخدام .NET Framework و .NET Core و Mono
تصدير USD Scene as X with C#
- تحميل ملف USD باستخدام مُنشئ لـ مشهد صف دراسي2. الاتصال المشهد طريقة
- قم بتمرير اسم ملف الإخراج بامتداد .x كمعامل أول
- حدد قيمة الحقل “XBinary” من تنسيق الملف صف دراسي
3D تنسيق التحويل API for .NET
قم بالتثبيت من سطر الأوامر كـ nuget install Aspose.3d '' أو عبر Package Manager Console في Visual Studio مع
Install-Package 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