jrterven / Kin2

A Kinect 2 Toolbox for Matlab
38 stars 17 forks source link

Why is the Kinect Fusion demo missing colorMeshData? #6

Open dimitrijevic opened 5 years ago

dimitrijevic commented 5 years ago

Hi @jrterven, First off, this is an awesome work and I don't mean to criticize, but I'm asking since I tried to add the colorMeshData myself and for the past two weeks or more haven't been able to get it to work...the worst part is that the code that returns colors from (INuiFusionColorMesh*) mesh->getColors(&pColors) works fine outside of MATLAB and sets the color values but it doesn't work when used in a mexFunction setting the 0 values for bits encoding color (basically I get 1111111 00000000 00000000 00000000 repeated for all vertices)...so I was wondering did you have the same experience...and if so did you ever figure out why please? TIA