|
![](/i/fill.gif) |
A project to use XML to allow portable exchange of
OpenGL oriented graphical information.
-----------------
XGL File Format Specification
http://www.xglspec.org/
The XGL file format is designed to represent 3D information for the
purpose of visualization. It attempts to capture all of the 3D
information that can be rendered by SGI's OpenGL rendering
library. It uses XML 1.0 syntax, so it is easy to write and
can be parsed by standard, freely available code. These feature
make XGL the ideal format to use when data must be exchanged between
two graphics systems for the purposes of visualization.
The XGL format is intended to work well with systems that use
OpenGL. It should be possible to take a program that renders 3D
information using OpenGL and have that program export an XGL
file. Then, an XGL viewer should be able to create OpenGL
objects that are exactly the same as those rendered by the
exporting program.
Because the XGL format uses XML syntax, it is easy to write
applications that read and write XGL. To export XGL, an
application needs only write out a text file using the XML
syntax. XGL supports a variety of mechanisms for arranging
and referencing data within the file, so it should be easy
to find a method of exporting data that is easy to implement
for any graphics system. There are a number of free XML
parsers available, eliminating the need to implement a
complex parser when building an XGL reader.
--
Nigel Stewart (nig### [at] nigels com)
Research Student, Software Developer
Y2K is the new millenium for the mathematically challenged.
Post a reply to this message
|
![](/i/fill.gif) |