Is there at least some way to get a picture of a .obj model without displaying the model ? I have a lot of .obj models and I need to convert them to .png images. I need only image without display anything
Asked
Active
Viewed 2,460 times
2 Answers
3
You don't really need libgdx for obj rendering. This can be done by either opengl, or some custom render libs.
Consider using this library written in c++ for obj rendering. Here's its description in russian

Dmitrii Z.
- 2,287
- 3
- 19
- 29
0
Do you need to do this in libgdx? I think you can also call blender via command line, let it render the scene and output to an image. Make a short bash script to do this for all .obj files in your folder.
If you do need to use libgdx, I think a good approach is to render to a framebuffer, then write its contents to a file.

Jos van Egmond
- 228
- 1
- 8