I am having a import and export system to Sketchup and I discovered a bug which occurs when I
- import a group to sketchup from my system and
- adding texures to it then it does not provide the expected UV coordinates when I export it to my system.
but if I create the group in sketchup, then it works with the UV coordinates. Hence I start to wonder that my import of grouping to sketchup is missing something. I looked into the tutorials and it seems sound from my perspective. Is there anything I am missing.
What I do at the import is as following:
SUGroupRef suSpatialType = SU_INVALID; SU_CALL(SUGroupCreate(&suSpatialType)); SU_CALL(SUGroupSetName(suSpatialType, spatialTypeTag.c_str())); SU_CALL(SUEntitiesAddGroup(entities, suSpatialType));
There is no transformation matrix involved hence, I do not set it since it is identity.
TexturingUponNovapointExportedGroup.skp (151.2 KB)