ulf.schroeter Posted March 14, 2011 Share Posted March 14, 2011 Proposal Inclusion of COLLADA geometry material name into UNIGINE surface name. Without this different surfaces will get same COLLADA node name which makes it hard to assign proper material textures engine/framework/MeshFile.cpp void MeshFileDAE::parse_geometry(const Xml *xml,const String &n,const mat4 &transform) { .... if(name == "polygons" || name == "polylist" || name == "triangles") { Surface surface; if( x->isArg("material") ) surface.name = n + "-" + x->getArg("material"); else surface.name = n; surface.transform = transform; .... } Link to comment
frustum Posted March 16, 2011 Share Posted March 16, 2011 This feature will be presented in next SDK update. Link to comment
Recommended Posts