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 Node.js via Java 允许更改场景的方向。为了改变方向,在Plane类中引入了getUp() 和setUp() 方法。...Initialize Scene var scene = new aspose . threed . Scene (); // Initialize...threed . Vector3 ( 1 , 1 , 3 )); scene . getRootNode (). createChildNode...
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...
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...
使用 Aspose.3D for .NET API,开发人员可以渲染 3D 场景的全景视图,并将该视图保存为支持的图像格式。...glb" ; //load the sceneScenescene = new Scene ( path ); //create...RotationMode . FixedDirection }; scene . RootNode . CreateChildNode...
Aspose.3D for .NET allows working with VRML version 1.0. VRML file format has been added to the FileFormat class. Aspose.3D can auto detect the format, so the FileFormat is usually ignored in Open method. The following code snippet shows how open VRML file format....NET // Create a SceneScenescene = new Scene (); // Open Virtual...Language (VRML) file format scene . Open ( "test.wrl" ); // Work...
Aspose.3D for Node.js via Java allows changing orientation of a Scene. In order to change the orientation, getUp() and setUp() methods are introduced in Plane Class....allows changing orientation of a scene. In order to change the orientation...Initialize Scene var scene = new aspose . threed . Scene (); // Initialize...
开发人员只能缩放 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...
使用 Aspose.3D for .NET API,开发人员可以为任何受支持的 3D 文件中的所有网格构建切线和二项式数据。...一个方法将 Scene 类对象作为参数,另一个方法将 Mesh 类对象作为参数,如下代码示例所示:...an existing 3D file Scenescene = new Scene ( RunExamples . GetDataFilePath...