Re: [Plib-users] SSG for 3ds and ASE
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-08-10 03:09:40
|
> Dave McClurg wrote: > The problem turned out to be null color and normal arrays in a ssgVtxArray. GL_TEXTURE_2D was disabled, as it should be. Ah - that'll do it! > I already explained how to get proper vertex colors. To get proper vertex normals, things get tougher. The ASE format has vertex normals but they are wrong. :( You'll either have to compute them yourself or fix the ASE exporter and use that. The ASE exporter source comes with 3DSMAX in the MAXSDK cdrom folder. Blake Senftner has a *fixed* ASE exporter here: http://www.pond.net/~davem/asciiexp/. I have not had time to look at this. If the format is still compatible with the *old* ase format and the vertex normals are correct, I can fix the ASE loader in SSG to read them. Please let me know if you can help investigate. Can you detect when you get an old-style file and generate normals like ssgLoadAC does? (AC3D files *never* contain normals). -- 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 |