n4gix
Resource contributor
- Messages
- 11,674
- Country

I thought I'd seen everything, but this has got me puzzled for sure and certain.
I have four drums animated for my baro pressure display which work as designed for inHG display. The are animated in Max from frame 0 to frame 10, and the drums rotate as expected, "snapping" from digit to digit...
...until I switch to millibar (hectopascal) display...
...at which point the silly drums rotate smoothly between digits, which frankly shocks the hell out of me?
Someone please explain to me how the drum can display a position between frames? As you can see from the image below, the millibar display is not lined up on the numbers, but some are showing partial rotation between frame 0 and frame 1, despite all drums using linear rotation controllers.
Just for completeness of information, here are the animation scripts:
I have four drums animated for my baro pressure display which work as designed for inHG display. The are animated in Max from frame 0 to frame 10, and the drums rotate as expected, "snapping" from digit to digit...
...until I switch to millibar (hectopascal) display...
...at which point the silly drums rotate smoothly between digits, which frankly shocks the hell out of me?
Someone please explain to me how the drum can display a position between frames? As you can see from the image below, the millibar display is not lined up on the numbers, but some are showing partial rotation between frame 0 and frame 1, despite all drums using linear rotation controllers.
Just for completeness of information, here are the animation scripts:
Code:
<PartInfo>
<Name>KA300_baro_hundths</Name>
<AnimLength>10</AnimLength>
<Animation>
<Parameter>
<Code>
(L:Altimeter1_inHg_MB,bool) !
if{ (A:KOHLSMAN SETTING HG, inHg) abs 99 min 0 max 0.1 % 0.01 / near }
els{ (A:KOHLSMAN SETTING MB, mbars) abs 10 % }
</Code>
</Parameter>
</Animation>
</PartInfo>
<PartInfo>
<Name>KA300_baro_tenths</Name>
<AnimLength>10</AnimLength>
<Animation>
<Parameter>
<Code>
(L:Altimeter1_inHg_MB,bool) !
if{ (A:KOHLSMAN SETTING HG, inHg) abs 99 min 0 max 1 % 0.1 / flr }
els{ (A:KOHLSMAN SETTING MB, mbars) abs 100 % 10 / }
</Code>
</Parameter>
</Animation>
</PartInfo>
<PartInfo>
<Name>KA300_baro_1</Name>
<AnimLength>10</AnimLength>
<Animation>
<Parameter>
<Code>
(L:Altimeter1_inHg_MB,bool) !
if{ (A:KOHLSMAN SETTING HG, inHg) abs 99 min 0 max 10 % 1 / flr }
els{ (A:KOHLSMAN SETTING MB, mbars) abs 1000 % 100 / }
</Code>
</Parameter>
</Animation>
</PartInfo>
<PartInfo>
<Name>KA300_baro_10</Name>
<AnimLength>10</AnimLength>
<Animation>
<Parameter>
<Code>
(L:Altimeter1_inHg_MB,bool) !
if{ (A:KOHLSMAN SETTING HG, inHg) abs 99 min 0 max 100 % 10 / flr }
els{ (A:KOHLSMAN SETTING MB, mbars) abs 10000 % 1000 / }
</Code>
</Parameter>
</Animation>
</PartInfo>
Last edited:



