Aspose.3D for 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 SceneScenescene = new Scene (); // Initialize...
使用 Aspose.3D for Java API,开发人员可以为任何受支持的 3D 文档中的所有网格构建切线和副法线数据。...一个方法将 Scene 类对象作为参数,另一个方法将 Mesh 类对象作为参数,如下代码示例所示:...an existing 3D file Scenescene = new Scene ( MyDir + "document...
如何在 Aspose.3D 中的网格上创建法线或uv数据。...// Initialize scene object Scenescene = new Scene (); // Initialize...mesh ; // Add cube to the scenescene . RootNode . ChildNodes ...
Sample Java extract assets code for VRML file. Use this example code to extract assets from VRML file within any Web or Desktop Java based application....file via the constructor of Scene class Create zip file format...instance of SceneScenescene = new Scene(); scene.open(file,...
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...
OBJ have no default coordinate system, we can manually define axis system for it....defined by scene.AssetInfo.CoordinateSystem, scene.AssetInfo.UpVector...UpVector, scene.AssetInfo.FrontVector opt . FlipCoordinateSystem...
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...
有几个 Scene.open 方法重载或 Scene 类构造函数重载接受 LoadOptions 实例。...Hide ] 3D 文件加载选项 有几种 Scene.open 方法重载或 Scene 类构造函数重载接受 LoadOptions...// 初始化 Scene 类对象 var scene = new aspose . threed . Scene (); //...
使用 Aspose.3D for .NET API,开发人员可以将具有六个面的场景渲染到cubemap中,并将所有面保存为支持的图像格式。...glb" ; //load the sceneScenescene = new Scene ( path ); //create...RotationMode . FixedDirection }; scene . RootNode . CreateChildNode...