Closed sendreams closed 4 months ago
The current functionality of JglTF does not include a proper renderer. There is the jgtlf-viewer
project, but the functionality has never been updated from glTF 1.0 to glTF 2.0 to include a proper, full-fledged PBR renderer with IBL and such. While it would be cool to have such a functionality in pure Java (and if it existed, then creating such a thumbnail would be trivial), the effort for implementing a proper PBR renderer is too high for me to do this, for free, just so, in my spare time. Pull requests welcome.
The functionality that you are looking for can be achieved with Blender, by running it in "headless" mode. I do have a few lines of Blender (Python) code that actually do generate screenshots/thumbnails, but there are many degrees of freedom for that.It's probably also possible to implement something like this with Three.js or BabylonJS, But I'm not aware of any existing tool for this.
Thank you for your response. There are still too few tools for 3D rendering in the Java world. Unfortunately, we are a Chinese company and cannot afford to spend US dollars.
I'm not a company, but someone who did all this in his spare time. (And... as freelancer, I wouldn't mind being paid in ¥, but that's probably not the issue here)
i want to develop a function, user can upload gltf file, after uploading, the app take a thumbnail by gltf file.