แปลง USDZ เป็น X ผ่าน C#

ส่งออก USDZ และไฟล์ 3D อื่นๆ โดยใช้ .NET Framework, .NET Core และ Mono

ส่งออก USDZ ฉากเป็น X ด้วย C#

  1. โหลดไฟล์ USDZ โดยใช้ตัวสร้างของ ฉาก ระดับ2. โทร ฉาก.บันทึก กระบวนการ
  2. ส่งชื่อไฟล์เอาต์พุตที่มีนามสกุล .x เป็นพารามิเตอร์แรก
  3. ระบุค่าฟิลด์ XBinary จาก รูปแบบไฟล์ ระดับ

3D การแปลงรูปแบบ API for .NET

ติดตั้งจากบรรทัดคำสั่งเป็น nuget ติดตั้ง Aspose.3d หรือผ่าน Package Manager Console ของ Visual Studio ด้วย Install-Package Aspose.3D

หรือรับตัวติดตั้ง MSI แบบออฟไลน์หรือ DLL ในไฟล์ ZIP จาก ดาวน์โหลด .

C# รหัสสำหรับการแปลง USDZ เป็น X

// โหลด USDZ ในวัตถุของ Scene 
var scene = new Aspose.ThreeD.Scene("template.usdz");
// บันทึก USDZ เป็น X 
scene.Save("output.x", Aspose.ThreeD.FileFormat.XBinary);

Other Conversion Options

USDZ TO HTML (Hyper Text Markup Language)
USDZ TO FBX (Autodesk FBX Interchange File)
USDZ TO STL (Stereolithography File)
USDZ TO DRC (Google Draco File Format)
USDZ TO RVM (AVEVA RVM)
USDZ TO DAE (Digital Asset Exchange File)
USDZ TO 3MF (3D Manufacturing File)
USDZ TO ASE (Adobe Swatch Exchange File)

USDZ What is USDZ File Format?

A file with .usdz is an uncompressed and unencrypetd ZIP archive for the USD (Universal Scene Description) file format that contains and proxies for files of other formats (such as textures, and animations) embedded within the archive and runs them directly with the USD run-time without any need of unpacking. USDZ files are packages whose design is based on the new Ar-level abstraction of a package. Usdz was registered with IANA and has media type name of model and a subtype name of vnd.usd+zip and its details can be found as on IANA registration page.

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