Re: [Plib-devel] ssgLoadVRML and model loaders in general
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-02-15 07:58:26
|
Dave McClurg wrote: > is the vrml model loader working? No - 'fraid not. > var/func naming conventions for plib? i noticed a couple different > styles. what do you prefer steve? couldn't find it on the websites. > probably there somewhere. I *thought* I'd been pretty consistant, for public symbols in PLIB module 'XX' (where 'XX' is: SL, SSG, SG, PU, FNT): #define's, enum tags XX_ALL_CAPITALS functions/classes/structs/typedefs xxMixedCase For private symbols, I use all_lowercase unless they would pollute the name space - in which case I use a leading underscore _xxMixedCase You could probably find a few cases where I screwed up - often because a formerly private member had to become public - or vice-versa. > my current effort is ssgLoadASE. I'm thinking of writing a > ssgModelLoader class similar to ssgImageLoader so that you don't have to > call the specific load routine for the file. I beat you to it (sort of). PLIB 1.1.11 has 'ssgLoad' and 'ssgSave' that use the file extension to figure out which low level file format to use. > Also, that will let me > share some common code between the model loaders. hope that is ok. > anyone actively working on the loaders? I might do a little cleanup of > static arrays and error handling. I don't know of anyone working on the current loaders. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |