Czml Orientation without interpolation

I’m currently using orientation to show the heading, pitch and roll for my model.

“orientation”:{
“interpolationAlgorithm”:“LINEAR”,
“interpolationDegree”:1,
“epoch”:“2017-03-24T13:57:46.136000000000422Z”,
“unitQuaternion”:[1.027,0.4957849472947881,-0.03939897186295069,-0.053622034605584235,0.8658924208334452,60.995,0.4607992882363619,0.38055537366133996,0.19063378231752734,0.7787813458074441,61.995,0.31299433092964846,0.7073368228463606,0.38821518046570597,0.5009971472049491,62.996,-0.08855806817842272,-0.8609377245946174,-0.49074759361374504,-0.10055099349418342,63.994,0.1575595745787793,-0.8037510171274582,-0.4731278548928907,0.3245139686509383,65.001,0.3651004910892436,-0.5497778037285653,-0.33967024091605014,0.6701269472046476,65.994,0.4832516615794029,-0.1611994426262698,-0.12305010068936502,0.8516696800979023,66.994,0.4830858946668235,0.26684658337594636,0.12369627567140172,0.8246939739682615,67.994,0.36464413046140615,0.6295596279604054,0.3401568210457225,0.595804221249287]

}

``

The interpolation algorithm is giving me some strange flips of the model. How can I get specify orientation data without using interpolation. I would like to just specify the orientation value for a specific time over the interval of the timeline.

Best Regards,

Chris

Use the CZML interval syntax, instead of the sampled syntax. Interval syntax essentially says “from T1 to T2 the value is X”, “from T2 to T3 the value is Y”, etc. With instantaneous change at the boundary of each interval.

https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/CZML-Structure#intervals