Difference between revisions of "GLTF"

From BRL-CAD
(Created page with "== GLTF == ---- The GLTF plugin converts glTF geometry to BRL-CAD geometry. This is a part of the geometry conversion library, and the accepted file types are .gltf and .glb....")
 
(To-Do)
Line 16: Line 16:
 
==== Texture/Materials ====
 
==== Texture/Materials ====
 
* The GLTF plugin currently does not get the materials and textures data applied to the meshes.  
 
* The GLTF plugin currently does not get the materials and textures data applied to the meshes.  
 +
 +
==== Animations ====
 +
* The plugin currently does not apply animations.
  
 
==== Interleaved Geometry ====
 
==== Interleaved Geometry ====

Revision as of 15:37, 8 May 2022

GLTF


The GLTF plugin converts glTF geometry to BRL-CAD geometry. This is a part of the geometry conversion library, and the accepted file types are .gltf and .glb.

Progress


Currently the plugin is capable of:

  • creating a hierarchy of the geometry scene
  • applying the mesh with its mesh name
  • getting object data, like location, shape, and size
  • applying translations for each mesh


To-Do


Texture/Materials

  • The GLTF plugin currently does not get the materials and textures data applied to the meshes.

Animations

  • The plugin currently does not apply animations.

Interleaved Geometry

  • The plugin does not check to see if the file has interleaved geometry. Therefore, this option would need to get integrated.

Missing Geometry

  • For complicated models, there are some meshes that do not appear due to not getting all of the meshes correct primitive data. A mesh can have multiple primitive data therefore being able to match the mesh with its corresponding primitive data would get the remaining meshes of the model.

Naming Issue

  • Some files contain mesh data that do not have a mesh name. Currently, it increments the shape number per mesh found. This is incorrect however since all mesh should correspond with their same naming scheme.