Re: [Plib-devel] Importers/Exporters
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-03-22 04:37:33
|
Wolfram Kuss wrote: > > Per Liedman <li...@ho...> wrote: > > >On Mon, 20 Mar 2000, Wolfram Kuss wrote: > > > >> *.3ds writer: Polytrans says about the object: > >> not 3ds file or version not recognized. > > > >Hmmm...AFAIK there is no plib 3ds-writer, and that's one plausible reason for > >this error :-) Not really. > :-) > So PolyTrans is absolutely right. Well, it shows again that there > should be a warning: When you tell PPE to write test.3ds, it does. > So, you think, it is a *.3ds-file :-). No - the writer function returns TRUE if it saved the file sucessfully, FALSE otherwise. If there is no writer for a particular format, it won't create the output file. Applications MUST check the error return from both ssgLoad and ssgSave. The only problem (at present) is that when something goes wrong with the file load/save process, you know that it went wrong - but there is no way to tell WHY it went wrong. SSG really needs a comprehensive ssgGetError() system. So much work - so few hours :-( -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |