Hi gurus.
I have an application (developed using Skechup SDK in C++) that can display SKP file without texture.
But that file has texture, i can get texture detail with these functions
SUMaterialGetTexture(material, &texture);
if (SUIsValid(texture))//if there is texture
{
SUStringRef file_name = SU_INVALID;
SUStringCreate(&file_name);
SUTextureGetFileName(texture, &file_name);
}
but i do not know how to get image data and associate image data with each vertex.
FYI, if the .skp model file comes from someone else, then the path pointed to by the texture filepath may not exist on the computer running your application.