Quantization issue in CMultiFrameBitmap

Hi,

It seems there is an inconsistency in the way values are quantized using a CMultiFrameBitmap versus a CBitmap in CMovieBitmap and related controls.

Let’s consider a concrete example that allows to reproduce the behavior:

Imagine a CBitmap with 5 states stacked vertically that is used to draw a CAnimKnob. Now lets put the frames inside a 2x3 array (2 rows, 3 columns) and use a CMultiFrameBitmap .

The quantized control values 0.0, 0.25, 0.5, 0.75, 1.0 yield different visual results, even when CMovieBitmap::useLecacyFrameCalculation is set to true.

I haven’t investigate any deeper so far, but this is clearly a bug (VSTGUI 4.12). Is this a known issue or has this been addressed since?

Thanks.

Best,
Ray

Sorry for the late reply, it’s holiday time here.

Can you provide a strip down example project showing the issue?