For more details, please visit Convert DAE to OBJ File in Java
Last active
November 1, 2023 07:38
-
-
Save aspose-com-gists/f9b6ede3a1be9ad317674c345b8ce557 to your computer and use it in GitHub Desktop.
Convert DAE to OBJ 3D Object File in Java
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
// Load and open the input DAE file with the Scene class | |
Scene scene = new Scene(); | |
scene.open("Sample.dae"); | |
// Initialize an instance of ObjSaveOptions class | |
ObjSaveOptions options = new ObjSaveOptions(); | |
options.setEnableMaterials(true); | |
// Convert DAE to OBJ File | |
scene.save("Sample.obj", options); |
Updated!
Thanks - already saw that today and updated accordingly :-), but it does not work - see this issue ticket: https://github.com/aspose-free-consulting/projects/issues/355
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
new Scene() has been deprecated - can you update this simple but extremely useful example to the actual version (v23.10.0), please?