Information and Downloads
| Generator | JglTF from https://github.com/javagl/JglTF |
|---|---|
| Source | KhronosGroup/glTF-Sample-Assets |
| File size | 7.18 kB |
Extensions
Source glTF Source asset from
KhronosGroup/glTF-Sample-Assets
three r185 Converted with upstream three.js 0.185.0
Needle Converted with Needle Engine 5.1.2 USDZExporter
Blender 5.1 Converted with Blender 5.1.2
Adobe glTF Converted with OpenUSD 26.05 and Adobe glTF file-format plugin 2026.03
GUC Converted with GUC 0.5
Omniverse Converted with Omniverse Kit 105.0
Description
Simple Instancing
Tags
Extensions Used
- EXT_mesh_gpu_instancing
Summary
A simple example for the EXT_mesh_gpu_instancing extension.
Operations
- Display in SampleViewer
- Download GLB
- Model Directory
Screenshot

Data
The sample contains a single mesh, with a single mesh primitive of a unit cube. The node that contains this mesh defines the EXT_mesh_gpu_instancing extension object:
"extensions" : {
"EXT_mesh_gpu_instancing" : {
"attributes" : {
"TRANSLATION" : 3,
"ROTATION" : 4,
"SCALE" : 5
}
}
}
The object refers to three accessors: One for the TRANSLATION, one for the ROTATION, and one for the SCALE of the instances. The data from these accessors causes 125 instances to be rendered. These instances are arranged in a 5x5x5 cube.
- The translation ranges from 0.0 to 10.0 along each axis
- The rotation ranges from 0.0 to 90.0 degrees along each axis
- The scale ranges from 1.0 to 2.0 along each axis
This means that the first instance that is rendered is the unmodified unit cube, and the last instance is a cube at (10.,10.0,10.0) that is rotated around the axis (1.0,1.0,1.0) by 90.0 degrees, and scaled by (2.0, 2.0, 2.0).
Legal
© 2023, Public. CC0 1.0 Universal
- Marco Hutter (https://github.com/javagl/) for Everything