Jump to content

Libx (graphics library)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 70.105.46.92 (talk) at 18:02, 13 June 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
LibX
Developer(s)Christian Oberholzer and Basil Fierz
Stable release
1.0 / March 16, 2008
Operating systemCross-platform
TypeGraphics library
LicenseLGPL
Websitehttps://sourceforge.net/projects/libx/

LibX is a platform-independent C++ software library used to provide handling of DirectX .X files.

It's mainly built of two statically linked libraries and one executable demonstrating the capability to load models and render them using OpenGL. The two libraries are:

libx_core

This one parses the actual file and generates an in-memory-representation of the file content (similar to a .xml DOM tree.)

libx_model

This library is able to convert the gnerated file representation into a representation that is easy to use for rendering. i.e.

  • convert indices to 16bit representation if possible
  • reorder streams of normals, positions, etc. so that they are indexable with one index for each vertex
  • convert quad-faces to triangles
  • etc.