<div dir="ltr">Let me announce x3dom support for efficient support of large CoordinateInterpolator (and other) nodes by adopting gltf inspired binary storage of field values.<div><br></div><div>Here is an example:</div><div><br></div><div>regular CoordinateInterpolator (ca. 12MB):</div><div><br></div><div><a href="https://61e75f82d2db93000729e6a7--x3dom.netlify.app/examples/cases/coordinateInterpolator/coordinateInterpolator.html">https://61e75f82d2db93000729e6a7--x3dom.netlify.app/examples/cases/coordinateInterpolator/coordinateInterpolator.html</a><br></div><div><br></div><div><div>binary CoordinateInterpolator (ca. 5MB):</div><div><a href="https://61e75f82d2db93000729e6a7--x3dom.netlify.app/examples/cases/coordinateinterpolator/coordinateinterpolatorbuffer">https://61e75f82d2db93000729e6a7--x3dom.netlify.app/examples/cases/coordinateinterpolator/coordinateinterpolatorbuffer</a><br></div><div><br></div><div>The binary version should load faster. There is no visual difference. There is also no performance difference after initial loading.</div><div><br></div><div>This is useful for large keyframe animations.</div><div><br></div><div>Background:</div><div><br></div><div>glTF stores all data in buffers, eg. binary storage which can often be used directly on the GPU. The details on how the data is stored is provided by 'views' into the buffer and 'accessors' of views.</div><div>x3dom implements glTF support not by translating these data structures into x3d field values but by implementing additional x3d nodes and fields. There is a 'BufferGeometry' node and additional fields such as BufferAccessor for Interpolators. This has the advantage that these additions can also be used outside of glTF.</div><div>glTF only has support for translation, scale and rotation interpolation. In x3dom, buffer storage can now also be used for other interpolators. Here is a fuller description:</div><div><br></div><div><a href="https://github.com/x3dom/x3dom/wiki/Buffer-interpolators">https://github.com/x3dom/x3dom/wiki/Buffer-interpolators</a><br></div><div><br></div><div>It is possible to convert regular Interpolators to buffer Interpolators. Here is a sample converter for CoordinateInterpolator:</div><div><br></div><div><a href="https://observablehq.com/@andreasplesch/x3dom-interpolator-buffer-converter">https://observablehq.com/@andreasplesch/x3dom-interpolator-buffer-converter</a><br></div><div><br></div><div>In x3dom, there is also a BinaryGeometry node which is a precursor to the BufferGeometry node used for glTF support. Though non-standard, the BinaryGeometry node is very popular since it allows for faster and more efficient loading of large IFS. There is a converter (aopt) which generates BinaryGeometry. It should be possible to write another converter to BufferGeometry. This binary format is quite different from x3db, the Fast Infoset based binary encoding of x3d which requires heavy processing. With glTF support in x3d, there may be now more interest in glTF type binary storage of heavy models, perhaps leading to standardization.</div><div><br></div><div>Any feedback or comment always welcome,</div><div><br></div><div>Andreas</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Andreas Plesch<br>Waltham, MA 02453</div></div></div></div></div>