Aspose.3D for Java 提供 ** HtmlSaveOptions ** 类,用于将 3D 场景另存为 HTML。...// Initialize a sceneScenescene = new Scene (); // Initialize...Initialize a node Node node = scene . getRootNode (). createChildNode...
Learn how to create a 3D Scene with a Cylinder object and has material definition....materials to them can make your scene more visually appealing. We’ll...We’ll start by creating a new scene using the Aspose.3D library...
开发人员可以添加、检索和删除 3D 对象的自定义属性。3D 对象的RemoveProperty、GetProperty、SetProperty成员是一组用于操作对象的自定义属性的常用方法。...initialize a scene from aspose.threed import Scene from aspose...FileFormat scene = Scene () # create a Box instance box = scene . root_node...
Sample Java viewer code for AMF file. Use this example code to view AMF file within any Web or Desktop Java based application....file via the constructor of Scene class Create an instance of...advanced formatting Call the Scene.Save method with object of Html5SaveOptions...
Sample Java viewer code for STL file. Use this example code to view STL file within any Web or Desktop Java based application....file via the constructor of Scene class Create an instance of...advanced formatting Call the Scene.Save method with object of Html5SaveOptions...
使用 Aspose.3D for .NET API,开发人员可以将具有六个面的场景渲染到cubemap中,并将所有面保存为支持的图像格式。...glb" ; //load the sceneScenescene = new Scene ( path ); //create...RotationMode . FixedDirection }; scene . RootNode . CreateChildNode...
使用 Aspose.3D for Python via .NET API,开发人员可以渲染 3D 场景的全景视图,并将该视图保存为支持的图像格式。...threed as a3d #load the scenescene = Scene . from_file ( "vc.glb"...RotationMode . FIXED_DIRECTION scene . root_node . create_child_node...
使用 Aspose.3D for .NET,开发人员可以渲染图像以查看 3D 模型的逼真图像,具有或不具有增强的背景、纹理、阴影,还可以调整图像大小。... 从相机拍摄 3D 模型的照片 Scene 类公开的 Render 方法可用于从活动相机拍摄照片。...NET // Load scene from file Scenescene = Scene . FromFile (...
C# source code to load, render and add extract assets from ASE documents on .NET Framework, .NET Core, Mono....file via the constructor of Scene class Create zip file format...= "template.ase" ; Scenescene = new Scene(file); //The output...
C# source code to load, render and add extract assets from X documents on .NET Framework, .NET Core, Mono....file via the constructor of Scene class Create zip file format...file = "template.x" ; Scenescene = new Scene(file); //The output...