[Plib-devel] How to make a loader for ssg
Brought to you by:
sjbaker
From: François S. <le....@wa...> - 2005-05-19 12:01:53
|
I have define my own scene description format (MSDF) for scenes which looks like that for a triangle: tri{ 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 } I have a parser for my scene description format which loads datas in a C structure like struct tri{ Vert x ; Vert y ; Vert z ; } My question is what do I have to do to load it with ssg What need my function LoadMSDF to implement to load a simple triangle Thanks |