Created attachment 106102 [details]
BarHistory is recorded data updating each time, bar corresponding to the value.
four values of BarHistory on top right corner are the same.
I trace the source code, and found that the same nId and nVal will be repeatedly update 3 or 5 times from following code:
BarInformation(glm::vec3(nXPos, nYPos, float(nVal/nMaxVal)),
nVal, nIndex, nSeriesIndex)));
This will cause the chart doesn't change after 3 or 5 times refreshing.
The source code is in create3dshapes function of gl3dbarchart class.
Comment on attachment 106102 [details]
Fixing mime type.
Created attachment 106716 [details]
(In reply to comment #2)
> Created attachment 106716 [details]
Thanks for the output. But I did ask for your *code change*, not an output.
About the output, where do I need to see in this output in order to see the problem with the BarHistory?
I've merged all your changes to master and looking through the latest version of your code. I still don't see any traces of History_0, History_1, History_2 and History_3 in the code.
Never mind, I think I got what you mean.
in conjunction with the change in the macro code as I suggested privately should fix this problem.