Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active November 1, 2023 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspose-com-gists/f9b6ede3a1be9ad317674c345b8ce557 to your computer and use it in GitHub Desktop.
Save aspose-com-gists/f9b6ede3a1be9ad317674c345b8ce557 to your computer and use it in GitHub Desktop.
Convert DAE to OBJ 3D Object File in Java
// 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);
@fafayqa
Copy link

fafayqa commented Oct 31, 2023

new Scene() has been deprecated - can you update this simple but extremely useful example to the actual version (v23.10.0), please?

@aspose-com-gists
Copy link
Author

Updated!

@fafayqa
Copy link

fafayqa commented Nov 1, 2023

Thanks - already saw that today and updated accordingly :-), but it does not work - see this issue ticket: aspose-free-consulting/projects#355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment