Your First Aspose.3D Application
Contents
[
Hide
]
This tutorial explains how to create your first application using Aspose.3D’s simple API. This simple application creates a 3d file in a specified 3D scene.
How to Create the Application
The steps below creates the application using the Aspose.3D API:
- Create an instance of the Scene class.
- If you have a license, then apply it. If you are using the evaluation version, skip the license related code lines.
- Create a new 3D file, or open an existing 3D file.
- Access the scene contents in the 3D file.
- Generate the modified 3D file.
The implementation of the above steps is demonstrated in the examples below.
How to Create a New Scene Document
The following example creates a new 3D scene file from scratch. First, create a 3D scene and then save the file in FBX format.
How to Open an Existing File
The following example opens an existing 3D template file named “document.fbx” and then saves the 3D scene or document to a stream in various supported 3D formats.