Sample Java merge OBJ file. Use this example code to merge OBJ file within any Web or Desktop Java based application....through the constructor of the Scene class Process usdz files and...generate usdz file Scenescene = new Scene(); int i = 0 ; for...
Aspose.3D for Node.js 通过 Java API 具有支持在 3D 空间中旋转对象的功能。有三种定义对象在 3D 空间中旋转的方式,欧拉角、四元数和自定义矩阵,它们都由 Transform 类支持。...初始化场景对象 var scene = new aspose . threed . Scene (); // 初始化圆柱体...// 创建 ChildNode var Node = scene . getRootNode (). createChildNode...
Aspose.3D for Java 提供了用于公开GenerateUV方法的PolygonModifier类,您可以使用该类手动生成UV并将其与网格关联。... getDataDir (); Scenescene = new Scene (); //since all primitive...); //put it to the scene Node node = scene . getRootNode (). createChildNode...
Aspose.3D for Python via .NET 提供了公开GenerateUV方法的PolygonModifier类,您可以使用该方法手动生成UV并将其与网格关联。下面的代码片段显示了生成和关联它的完整功能。...threed import FileFormat , Scene from aspose.threed.entities...com/aspose-3d/Aspose.3D-for-.NET scene = Scene () # since all primitive...
Aspose.3D for .NET 提供AmfSaveOptions类,允许您根据需要设置压缩的bool值。默认情况下,该值设置为true。...NET // Load a sceneScenescene = new Scene (); var box = new...new Box (); var tr = scene . RootNode . CreateChildNode ( box...
使用 .NET API 轉換 USD 和其他 3D 文件...// 在 Scene 對像中加載 USD var scene = new Aspose.ThreeD.Scene( "template..."template.usd" ); // 將 USD 保存為 ASE scene.Save( "output.ase" , Aspose...
Sample Java compression code for 3DS file. Use this example code to compress 3DS file within any Web or Desktop Java based application....file via the constructor of Scene class Define the output path...instance of SaveOptions Call the Scene.Save method with object System...
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 API,开发人员可以渲染 3D 场景的全景视图,并将该视图保存为支持的图像格式。...glb" ; //load the sceneScenescene = new Scene ( path ); //create...RotationMode . FixedDirection }; scene . RootNode . CreateChildNode...
Convert USD & other 3D files using .NET API...NET Core and Mono Export USD Scene as JT with C# Load USD file...using a constructor of Scene class Call Scene.Save method Pass output...