RE: [Plib-devel] User defined texture formats
Brought to you by:
sjbaker
From: Dave M. <Dav...@dy...> - 2000-05-10 01:23:45
|
Trent Gamblin wrote: > I think SSG needs to have some hooks to allow user defined image > formats... I did a cvs commit which adds a leaf creation hook to ssgLoadAC.cxx This should allow you to load the image formats you need. This hook should allow you to do other things like: - load compressed or volumized textures - strip off full paths from texture filenames i use that for ASE files because the modeler stores full paths whereas Steve likes a path that starts with '/' to be left alone. - cull unwanted geometry or texture info - recompute normals Which format did you need? I plan to get to the OBJ and ASE loaders soon. Look at the ssgIO.cxx module for how the default ssgCreateFunc hook is written. --Dave |