This is a libGDX v1.12 demonstration of instanced 3D rendering using gdx-gltf.

 Using the demo:

  • WASD keys and click drag mouse to move/rotate camera.
  • SPACE to toggle rotation.
  • F1 to hide statistics.

The desktop version will render 1 million 3D cubes. 

GWT, teaVM and android version will render almost 25 thousand cubes.

Tested on desktop, teaVM, and GWT.  Android and iOS projects are included but not tested.

Performance will vary based on your hardware.

Java desktop available to download.

GitHub repo: https://github.com/antzGames/ModelInstancedRendering

More instancing demos for libGDX can be found here:

https://monstrous-software.itch.io/duck-field

https://monstrous-software.itch.io/corn-field

Download

Download
ModelInstancedRendering-1.0.0.jar 13 MB

Install instructions

Use HTML version here!

Java 11 needed for JAR executable.

Development log

Leave a comment

Log in with itch.io to leave a comment.