OpenGEX
   HOME

TheInfoList



OR:

The Open Game Engine Exchange (OpenGEX) format is a text-based file format designed to facilitate the transfer of complex 3D scene data between applications such as modeling tools and game engines. The OpenGEX format is built upon the data structure concepts defined by the Open Data Description Language (OpenDDL), a generic language for the storage of arbitrary data in human-readable format. The OpenGEX file format is registered with the Internet Assigned Numbers Authority (IANA) as the model/vnd.opengex media type. The OpenGEX format is defined by the ''Open Game Engine Exchange Specification'', which is available on the official websit
opengex.org
Export plugins that write the OpenGEX format are available for
Autodesk Maya Autodesk Maya, commonly shortened to just Maya ( ), is a 3D computer graphics application that runs on Windows, macOS and Linux, originally developed by Alias and currently owned and developed by Autodesk. It is used to create assets for interact ...
and
3D Studio Max Autodesk 3ds Max, formerly 3D Studio and 3D Studio Max, is a professional 3D computer graphics program for making 3D animations, models, games and images. It is developed and produced by Autodesk Media and Entertainment. It has modeling capab ...
.


Format

At the most basic level, an OpenGEX file consists of a node hierarchy, a set of objects, a set of materials, and some additional information about global units and axis orientation. The various node, object, and material structures contain all of the details such as geometric data and animation tracks within a hierarchy of additional types of structures defined by OpenGEX. The following types of data can appear in an OpenGEX file: * Hierarchical scene organization (node trees). * Node and object transforms (4×4 matrices, translations, rotations, and scales). * Geometry objects, light objects, and camera objects. * Meshes composed of vertex attribute arrays and index arrays for multiple levels of detail. * Skinned meshes (skeleton, bind-pose transforms, bone influence weighting data). * Multiple morph targets for meshes and animated morph weights. * Keyframe animation with linear, Bézier, and TCB animation curves. * Material colors and textures (diffuse, specular, normal, emission, opacity, transparency).


Example

A very simple example of a complete OpenGEX file describing a green cube is shown in the listing below. It begins with a group of Metric structures that define the units of measurement and the global up direction. Those are followed by a single GeometryNode structure that provides the name and transform for the cube. The geometric data for the cube is stored in the GeometryObject structure that is referenced by the geometry node. The geometry object structure contains a single mesh of
triangle primitives Computer graphics deals with generating images with the aid of computers. Today, computer graphics is a core technology in digital photography, film, video games, cell phone and computer displays, and many specialized applications. A great deal ...
that includes per-vertex positions, normals, and texture coordinates. Finally, the Material structure at the end of the file contains the green diffuse reflection color.
Metric (key = "distance") 
Metric (key = "up") 

GeometryNode $node1


GeometryObject $geometry1        // Cube


Material $material1


History

The development of the OpenGEX format was funded by a crowd-sourcing campaign that ended on May 8, 2013. As the format was being designed, the Open Data Description Language was also created as a generic base language upon which OpenGEX was built. Support for the OpenGEX format was originally implemented in C4 Engine version 3.5.


See also

*
glTF glTF is a standard file format for three-dimensional scenes and models. A glTF file uses one of two possible file extensions: .gltf (JSON/ASCII) or .glb ( binary). Both .gltf and .glb files may reference external binary and texture resources. A ...
- a
Khronos Group The Khronos Group, Inc. is an open, non-profit, member-driven consortium of 170 organizations developing, publishing and maintaining royalty-free interoperability standards for 3D graphics, virtual reality, augmented reality, parallel computation ...
file format for 3D Scenes and models.


References


External links

* {{Vector graphics markup languages 3D graphics file formats 3D graphics software Graphics standards Open formats