Hello,
I'm importing .abc data to my programme with this example:
For now I can distinguish the data by using iProp.getName() as line 87.
For example, when I want to get the point array in my alembic data, I can do :
if(iProp.getName() == "P") {
//by the way, this is the exact data that I use.
float* tempFloat = (float*)(samp->getData());
nbPoints = totalValues;
for (index_t x = 0; x < totalValues; x++) {
std::cout<<tempFloat[m] <<std::endl;
}
}
I want to know if in Alembic, the name of points array is always "P" (I've tried 2 .abc files and I can correctly read the points array with the name "p"). Am I using the right way to read array property data? If not, what is the right way to distinguish them. thanks.