Get vertex colors from fbx (OpenGL, FBX SDK)
Posted
by
instancedName
on Game Development
See other posts from Game Development
or by instancedName
Published on 2014-06-08T23:40:57Z
Indexed on
2014/06/09
3:44 UTC
Read the original article
Hit count: 654
I'm kinda stuck with this one. I managed to get vertex positions, indices, normals, but I don't quite understand how te get vertex colors. I need them to fill my buffer. I tried funcion mesh->GetElementVertexColorCount() and then to iterate trough all of them, but it returns zero. I alse tried to get layer, and then use layer->GetVertexColors(), but it returns NULL pointer. Can anyone help me with this one?
© Game Development or respective owner