Skip to content
  • Andrew Heather's avatar
    ENH: Added new glTF sammpled set writer · 85b40520
    Andrew Heather authored and Mark OLESEN's avatar Mark OLESEN committed
    Description
        Writes point data in glTF v2 format
    
        Two files are generated:
        - filename.bin  : a binary file containing all scene entities
        - filename.gltf : a JSON file that ties fields to the binary data
    
        The output can contain both geometry and fields, with additional support
        for colours using a user-supplied colour map, and animation of particle
        tracks.
    
        Controls are provided via the optional formatOptions dictionary.
    
        For non-particle track data:
    
        \verbatim
        formatOptions
        {
            // Apply colours flag (yes | no ) [optional]
            colours     yes;
    
            // List of options per field
            fieldInfo
            {
                p
                {
                    // Colour map [optional]
                    colourMap       <colourMap>;
    
                    // Colour map minimum and maximum limits [optional]
                    // Uses field min and max if not specified
                    min             0;
                    max             ...
    85b40520