Libx (graphics library)
{{Infobox Software
| name = LibX
| developer = Christian Oberholzer and Basil Fierz
| latest_release_version = 1.0
| latest_release_date = March 16, 2008
| operating_system = Cross-platform
| genre = Graphics library
| license = LGPL
| website = https://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 can convert the generated file-representation into a format suitable for rendering, specifically:
- converting indices to 16bit representation if possible
- reordering streams of normals, positions, etc. so that they are indexable with one index for each vertex
- convert quad-faces to triangles
- etc.{{cn|date=March 2014}}
External links
- [https://sourceforge.net/projects/libx/ Sourceforge's project page]
- [http://www.gamedev.net/community/forums/topic.asp?topic_id=487071 Project announcement]{{dead link|date=December 2017 |bot=InternetArchiveBot |fix-attempted=yes }}