Aspose.3D för Node.js via Java API har stöd för primitiva 3D-former. Alla parameterstyrda primitiva former kommer att konverteras till nät automatiskt vid sparande i alla stödda utdatafilformat.... Scene (); // Skapa en Box-modell scene . getRootNode ()...createChildNode ( "box" , new aspose . threed . Box ()); // Skapa...
The Scene class of the Aspose.3D API represents a 3D scene. Developers can already build a 3D scene by adding various entities. GLTF 2.0 only supports PBR (Physically Based Rendering) materials, Aspose.3D API internally converts non-PBR materials into PBR materials before exporting into GLTF 2.0.... Scene () box = a3d . Box () mat = a3d . shading...create_child_node ( "box1" , box ) . material = mat opt = a3d...
Aspose.3D for Node.js via Java offre la classe AmfSaveOptions qui vous permet de définir une valeur booléenne pour la compression selon vos besoins....Scene (); var box = new aspose . threed . Box (); var node =...getRootNode (). createChildNode ( box ); node . getTransform (). setScale...