Android IDE (AIDE) Support Forum

Simple 3D .glb model load with LibGDX

Hello everyone.
I need to verify my Mobile-Based pipeline, so I need a very simple LibGDX App which loads a .glb file (GLTF) and displays it.
Nothing more.

Can someone, please, write such App for me?
I regret to ask, but I’m in a hurry, I have to make sure everything works.

Thanks in advance for anything.

Edit: I made it to load a .obj file, now I just need to “convert” it to load .glb
Here is the full project:
https://drive.google.com/file/d/18ANVmqe4XrTJ5bc1QqOl-KqPFnp6_Qsq/view?usp=drivesdk

Thanks if you help.

I made a new file, including the .glb mesh and the required library

Here it is:
https://drive.google.com/file/d/19kOmGNZGa-CbQoZ9vvrorHlpCTJsRodr/view?usp=drivesdk

Thanks in advance for any help.

Courtesy of a friend of mine, all is needed to do is making it work.
Here: https://drive.google.com/file/d/1AAAfU0XCjN4z193-Jft-gxSXYJm3UcA9/view?usp=drivesdk

Nevermind, I (almost) made it. The code was correct, but I were missing some dependencies.
Here, for the records, is the needed libs list:

  • gdx
  • gdx-backend-android
  • gdx-backend-lwjgl
  • gdx-gltf
  • gdx-platform
  • junit

Now the App builds and runs fine, except for the model not being shown, but I guess it’s due to the camera position/setup.

Cheers =)