Today i discovered that material properties like a diffuse color factor is not properly parsed by the vsgXchange assimp parser.
Reason is, that the get function for template objects needs the material property one wants to get the data from to be aiPTI_Buffer. However for standard colors this is aiPTI_Float.
I have implemented a workaround such that the get function for a float array is used in commit 683340c5833ccec579d22790a30c3fedd0ea59a8.
We should however first get #17 merged, as otherwise we would have to fix this bug twice.
Today i discovered that material properties like a diffuse color factor is not properly parsed by the vsgXchange assimp parser. Reason is, that the get function for template objects needs the material property one wants to get the data from to be
aiPTI_Buffer
. However for standard colors this isaiPTI_Float
. I have implemented a workaround such that the get function for a float array is used in commit 683340c5833ccec579d22790a30c3fedd0ea59a8. We should however first get #17 merged, as otherwise we would have to fix this bug twice.