|
From: James W. W. <os...@jw...> - 2007-10-12 04:43:50
|
On Oct 11, 2007, at 11:31 AM, Sauro Agostini wrote: >> >> >> DecomposeGeometries, like Q3Geometry_GetDecomposed, must be called in >> a submitting loop. When I tried it, I did it like this: >> > > > After this modification I have the same results as you, but with a > collateral effect if there are some textures. > > The little textured 3DMF file shows the problem: > > http://wwww.interstudio.net/quesa/3wallTexture.zip > > Textures and shaders are applied to groups and it seems that > DecomposeGeometries (or LowerAttributesToGeometries?) misses the > textures, so after the optimization the model shows without textures. > It wasn't the textures that were missing, it was the UV coordinates. Your model had shading UVs, and I was looking for surface UVs. I have changed the merge functions to treat surface UVs and shading UVs as interchangeable. |