ENH: improve gltf handling
- scene - write with fileName, additional getMesh accessor - addColourToMesh accepts an alpha field size 1 as a constant alpha value - sceneWriter wrapper ENH: improve gltf handling of colour and alpha specification - accept plain input directly. Eg, colour (1 0 1); vs colour uniform; colourValue (1 0 1); - use field magnitude for colouring of non-scalar fields. Eg, having three different colour maps for a vector field simply does not help much with visualisation.
Showing
- src/fileFormats/Make/files 1 addition, 0 deletionssrc/fileFormats/Make/files
- src/fileFormats/colours/colourTable.H 1 addition, 1 deletionsrc/fileFormats/colours/colourTable.H
- src/fileFormats/gltf/foamGltfFwd.H 54 additions, 0 deletionssrc/fileFormats/gltf/foamGltfFwd.H
- src/fileFormats/gltf/foamGltfObjectTemplates.C 9 additions, 16 deletionssrc/fileFormats/gltf/foamGltfObjectTemplates.C
- src/fileFormats/gltf/foamGltfScene.C 58 additions, 21 deletionssrc/fileFormats/gltf/foamGltfScene.C
- src/fileFormats/gltf/foamGltfScene.H 30 additions, 10 deletionssrc/fileFormats/gltf/foamGltfScene.H
- src/fileFormats/gltf/foamGltfSceneTemplates.C 6 additions, 12 deletionssrc/fileFormats/gltf/foamGltfSceneTemplates.C
- src/fileFormats/gltf/foamGltfSceneWriter.C 106 additions, 0 deletionssrc/fileFormats/gltf/foamGltfSceneWriter.C
- src/fileFormats/gltf/foamGltfSceneWriter.H 126 additions, 0 deletionssrc/fileFormats/gltf/foamGltfSceneWriter.H
- src/meshTools/coordSet/writers/gltf/gltfCoordSetWriter.C 223 additions, 141 deletionssrc/meshTools/coordSet/writers/gltf/gltfCoordSetWriter.C
- src/meshTools/coordSet/writers/gltf/gltfSetWriter.H 22 additions, 20 deletionssrc/meshTools/coordSet/writers/gltf/gltfSetWriter.H
Please register or sign in to comment