إنشاء مشهد بأشكال بدائية 3D
Contents
[
Hide
]
Using Aspose.3D for .NET, developers can define a scene with primitive 3D shapes. All parameterized primitives will be converted to mesh automatically while saving in any supported output file format.
بناء مشهد من أشكال بدائية 3D
Modeling is the process of pure creation and Aspose.3D API supports creating a scene with primitive 3D shapes.
Pروغرامينغ ple وافرة
هذا المثال البرمجي يُنشئ مشهد بأشكال 3D بدائية ويُحفظ في ملف FBX.
// For complete examples and data files, please go to https://github.com/aspose-3d/Aspose.3D-for-.NET
// Initialize a Scene object
Scene scene = new Scene();
// Create a Box model
scene.RootNode.CreateChildNode("box", new Box());
// Create a Cylinder model
scene.RootNode.CreateChildNode("cylinder", new Cylinder());
// Save drawing in the FBX format
scene.Save("test.fbx");