使用 Aspose.3D for Python via .NET,开发人员可以定义具有原始 3D 形状的场景。所有参数化图元将自动转换为网格,同时以任何支持的输出文件格式保存。...threed import FileFormat , Scene from aspose.threed.entities...directory. # Initialize a Scene object scene = Scene () # Create a Box...
Each 3D Scene can comprise of any number of viewports. Using Aspose.3D for Java API, developers can capture one or more viewports in a single screenshot. They may render it in the GUI based Java application or an image....in-memory representation of a 3D scene. It provides developers with...content and formatting of a 3D scene programmatically. In this section...
开发人员只能缩放 3D 节点或 3D 场景的所有节点的几何图形。为了实现这一点,开发人员可以调用PolygonModifier类实例的多个Scale成员。...huge-scene.obj by 0.01 and save it to another file: Scene scene...scene = new Scene ( "huge-scene.obj" ); // create a Box instance...
Learn how to create Box with material...we will create a box in a 3D scene and apply materials to it. Materials...materials to it can make the scene visually more attractive. We’ll...
Each 3D Scene can comprise of any number of viewports. Using Aspose.3D for Python via .NET API, developers can capture one or more viewports in a single screenshot. They may render it in the GUI based application or an image....in-memory representation of a 3D scene. It provides developers with...content and formatting of a 3D scene programmatically. In this section...
Sample Java viewer code for DAE file. Use this example code to view DAE 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 GLB file. Use this example code to view GLB 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 allows decoding a mesh from a Draco file directly without building a Scene using the Decode method of DracoFormat class....directly without building a scene using the Decode method of DracoFormat...directly without building a scene using the Encode method of DracoFormat...
Aspose.3D for Java allows working with VRML version 1.0. VRML file format has been added to the FileFormat class. Aspose.3D can auto detect VRML format, so the FileFormat is usually ignored in Open method....// initialize a sceneScenescene = new Scene (); // open Virtual...Language (VRML) file format scene . open ( MyDir + "test.wrl"...