RE: [Plib-devel] PLIB developers needed.
Brought to you by:
sjbaker
From: Dave M. <Dav...@dy...> - 2000-08-09 22:44:09
|
Wolfram Kuss wrote: > BTW, it *MIGHT* be that I have to rewrite the > *.x loaders/writers in Mdi_edit in some time, then I would > probably write some for plib at the same time. > *.x is Micro$ofts Direct3D file format, mainly used for games. > Dave (or anybody else), if I want to see how a loader/writer works, > which should I look at? It should be farily easy to understand, > fairly complete and the format should be fairly straight-forward > (list of vertices/list of faces). > Its absolutely not clear I would do this, but if then I will probably > only implement the ASCII-*.x-format, not the binary one. i couldn't find examples of the ASCII-*-x format, only references in the documentation. Tons of binary .x format examples but that is yucky. ssgLoadAC.cxx contains the most stable, easy to understand, and complete loader in SSG. It is what I used to start writing new loaders/exporters. I'm trying to unify the loaders around ssgParser.cxx which keeps track of file/line information for error messages and tokenizes each line. ssgParser also can track brace/block levels. I'm using this for ASE and plan on using it for WRL. Eventually, I want to go back and fix OBJ,DXF and TRI to use this. So... you may also want to look at ssgLoadASE.cxx for a more complex example. -- Dave McClurg mailto:dav...@dy... http://www.dynamix.com mailto:da...@po... (home) http://www.pond.net/~davem |