Skip to content

Instantly share code, notes, and snippets.

@cjac
Created July 25, 2020 20:21
Show Gist options
  • Save cjac/84d026a7eface05b36408a534911a8e7 to your computer and use it in GitHub Desktop.
Save cjac/84d026a7eface05b36408a534911a8e7 to your computer and use it in GitHub Desktop.
cjac@cjac:~/src/github/cjac/jenkara/src/mdl/assimp$ assimp info player.mdl
Launching asset import ... OK
Validating postprocessing flags ... OK
Importing file ... OK
import took approx. 0.00163 seconds
Memory consumption: 275639 B
Nodes: 1
Maximum depth 1
Meshes: 2
Animations: 0
Textures (embed.): 1
Materials: 1
Cameras: 0
Lights: 0
Vertices: 493
Faces: 408
Bones: 0
Animation Channels: 0
Primitive Types: linestriangles
Average faces/mesh 204
Average verts/mesh 246
Minimum point (-26.553198 -21.959305 -12.858311)
Maximum point (24.329292 26.882381 15.022598)
Center point (-1.111953 2.461538 1.082144)
Meshes: (name) [vertices / bones / faces | primitive_types]
0 (): [6 / 0 / 4 | line]
1 (): [487 / 0 / 404 | triangle]
Texture Refs:
'*0'
Node hierarchy:
(mesh 0, 1)
cjac@cjac:~/src/github/cjac/jenkara/src/mdl/assimp$ bin/assimp export player.mdl player.gltf -fglTF
param = player.gltf
param = -fglTF
assimp export: select file format: 'gltf' (GL Transmission Format)
Launching asset import ... OK
Validating postprocessing flags ... OK
Importing file ... OK
import took approx. 0.00138 seconds
Launching asset export ... OK
Exporting file ... OK
export took approx. 0.00572 seconds
assimp export: wrote output file: player.gltf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment