RVIz bad visualization of CUBE_LIST
Something strange happens when i try to display CUBE_LIST in RVIz. As shown in figure: https://dl.dropboxusercontent.com/u/1...
First of all you can see that cubes are a little bit transparent since world grid is visible under them, despite alpha setted to one per cubes:
voxels_marker.colors[i].r = voxels[i].data->r;
voxels_marker.colors[i].g = voxels[i].data->g;
voxels_marker.colors[i].b = voxels[i].data->b;
voxels_marker.colors[i].a = 1;
And you can see that right part of cube list seems to be (almost) correct, but left part has some problem with z-buffer because furthest cubes are drawn before nearest.
How can i figure out ?
I've given you some karma so you can attach the image to this question. That is preferable over using dropbox, as if you ever remove the file from there, no one will be able to see the image any more.