Ferrite-FEM / FerriteViz.jl

Plot your Ferrite.jl data
https://ferrite-fem.github.io/FerriteViz.jl/
MIT License
29 stars 9 forks source link

Superquadrics for tensor-valued fields #54

Open termi-official opened 1 year ago

termi-official commented 1 year ago

We should be able to implement visualization of symmetric and non-symmetric matrix fields via superquadrics (e.g. [1,2]) with moderate effort. For this we might need some changes to Makie.jl, where we start from meshscatter and implement a new shader to render out the superquadrics. The matrix field should be evaluated either at quadrature points or nodes.

[1] Schultz, T., & Kindlmann, G. L. (2010). Superquadric glyphs for symmetric second-order tensors. IEEE transactions on visualization and computer graphics, 16(6), 1595-1604.

[2] Kratz, A., Auer, C., Stommel, M., & Hotz, I. (2013, February). Visualization and analysis of second‐order tensors: Moving beyond the symmetric positive‐definite case. In Computer Graphics Forum (Vol. 32, No. 1, pp. 49-74). Oxford, UK: Blackwell Publishing Ltd.

termi-official commented 1 year ago

It might make sense to explore the possibility to put everything into a single mesh and push it into the renderer, eliminating at least the draw call overhead.