Travailler avec VRML Format
Contents
[
Hide
]
Ouvrir le format de fichier VRML
Aspose.3D for Java permet de travailler avec VRML version 1.0. Le format de fichier VRML
a été ajouté à la classe FileFormat
. Aspose.3D peut détecter automatiquement le format VRML
, donc FileFormat
est généralement ignoré dans la méthode Open. L’extrait de code suivant montre comment ouvrir le format de fichier VRML.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-3d/Aspose.3D-for-Java | |
// The path to the documents directory. | |
String MyDir = RunExamples.getDataDir(); | |
// initialize a scene | |
Scene scene = new Scene(); | |
// open Virtual Reality Modeling Language (VRML) file format | |
scene.open( MyDir + "test.wrl"); | |
// work with VRML file format... |