
Wed, 11/06/2019 - 22:55
Forums:
Hello,
I was wondering if someone might have a clue on how to achieve the kind of shading found in the attached pictures using Open Cascade.
I could easily do mesh facet base shading and mesh node base shading, but this is something else.
Best regards,
François.
Attachments:
Wed, 11/06/2019 - 23:24
As color interpolation on screenshot doesn't match per-vertex shading, it is either stored within the texture or computed in run-time via shading program.
Both approaches are possible with OCCT, although this will require development of specific algorithm (considering that you actually know what you would like to see).
Wed, 11/06/2019 - 23:29
So it is either a shader or a pre-computed texture that is applied to obtain such result if I understand correctly...
Thanks for the fast reply Kirill.
François.
Fri, 07/31/2020 - 11:11
Hello,
I Obtained the result you described using as reference the following paper
Volume Contouring of Generic Unstructured Meshes - LUIZ FERNANDO MARTHA, MARCELO T´ILIO MONTEIRO DE CARVALHO, ROBERTO DE BEAUCLAIR SEIXAS
Actually strips could be built using also the marching quads/tets algo. I attach a figure, in which the FEM mesh and the isocontouring mesh are both shown.
Regards
Giovanni