Hi, I’m using opennurbs to read .3dm files. Right now I’m adding support for subD objects and use the v7_rhino_logo_subd.3dm file for testing.
I can get a subdivided mesh using GlobalSubdivide and then GetControlNetMesh(NULL, ON_SubDGetControlNetMeshPriority::TextureCoordinates).
Unfortunately I’m not able to get any useful UV coordinates from the model. Maybe I’m looking the wrong place, but the ON_Mesh::m_T consist of NANs, the same goes for ON_Mesh::m_S.
When calling ON_SubD::TextureCoordinateType() on the subD object I get ON_SubDTextureCoordinateType::Packed, but how do I use this?
I hope my issue makes sense and someone is able to help me