[cad-linux] Re: data parsed by library of functions

> The following was supposedly scribed by
> Jeffrey McGrew
> on Friday 12 September 2003 06:45 pm:

>One very bright (no pun intended) idea from the
>Materials and Geometry Format developed for rendering
>materials by Greg Ward is that it is a 'parsed' format.

The fact that it is a parsed format is not as brilliant as the fact that it 
gets parsed for you.  Essentially, the format is not parsed by your program, 
but by the library.  You just have to stitch the library functions into your 
program, deciding how to render the data as you load it.  If something new 
gets added, you can still read the file without changing your code (maybe 
need a recompile with the new library?)

While this is a really good way to go about it, how do you create the 
formatted file?  With a more complex model, wouldn't it be best to handle 
both the read and write operations via such a library?

--Eric

-- 
"There are three terrible ages of childhood -- 1 to 10, 10 to 20, 
and 20 to 30."
                                        --Cleveland Amory


Other related posts: