Re: [Plib-users] SSG for 3ds and ASE
Brought to you by:
sjbaker
From: Dan G. <dg...@hp...> - 2000-08-09 20:35:47
|
When I use ASE models, I get no colors no matter what. Dave seemed to imply that is expected. I discovered that with 3ds format, even if I have no textured objects in the scene I still have weird color problems. The first object in the scene is always white, but subsequent objects seem to have the proper colors. If there are any textured objects in the scene I get no colors. I also have weird behavior where sometimes objects don't show up in .3ds format, but they do appear when the scene is saved in .ase format. And also the problem of it crashing sometimes with .3ds models. Eliminating the ssgFlatten did solve my problems with loading .ase models. Thanks. To sum it all up, with .ase format everything loads, but colors never work. With .3ds format, things don't load very well, but colors kind of work. Dan Steve Baker wrote: > > Dan Gelb wrote: > > > > I'm trying to use SSG for loading up some models out of 3DSMax, and I'm > > having a few problems. Sorry if these are newbie issues, I just started > > trying to use Plib. I looked through the mailing list archive but didn't > > see these problems mentioned. > > > > 1. Objects with just plain color properties, no textures, show up as white > > instead of the correct color. Textured objects work properly. I've taken > > the tux_example and replaced the tux model with models from 3DSMax, but > > only textured objects show up properly. Is there something I need to enable? > > It sounds like texturing is enabled - but no texture is currently bound. > > OpenGL substitutes white texels when this happens. > > > 2. Some models work when exported into ASE format, but crash when tried > > in .3ds format. This happens in parse_mapname in ssgLoad3ds.cxx on line 272 > > when strcmp seems to be passed a bad mapname. > > > > 3. Some models load in 3ds format, but crash in ASE format. The crash > > seems to happen in ssgFlatten. > > ssgFlatten needs to be 'retired' - it was really only intended to clean up > AC3D models after they are loaded in order to get reasonable performance > from them. > > -- > Steve Baker HomeEmail: <sjb...@ai...> > WorkEmail: <sj...@li...> > HomePage : http://web2.airmail.net/sjbaker1 > Projects : http://plib.sourceforge.net > http://tuxaqfh.sourceforge.net > http://tuxkart.sourceforge.net > http://prettypoly.sourceforge.net > > _______________________________________________ > plib-users mailing list > pli...@li... > http://lists.sourceforge.net/mailman/listinfo/plib-users |