there is a way with GLScene to outline the faces of a Mesh ?
For outline I mean have a line the mark the borders of mesh ( outline attachment, sample from a cad/cam).
What I've got loading same stl file in glscene-mesh attachment.
Thank you in advance for any suggestion.
Best regards
Hi Shine i don't understand well what you want tou do exactly. It is to render the "contour" ? if yes you can take a look to silhouette's function (see Demos\specialsFX\shadowvolumes) for how to use it. and you can take a look at TGLHiddenLineShader and TGLOutlineShader
Best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
there is a way with GLScene to outline the faces of a Mesh ?
For outline I mean have a line the mark the borders of mesh ( outline attachment, sample from a cad/cam).
What I've got loading same stl file in glscene-mesh attachment.
Thank you in advance for any suggestion.
Best regards
Last edit: shine world 2019-06-12
Hi Shine i don't understand well what you want tou do exactly. It is to render the "contour" ? if yes you can take a look to silhouette's function (see Demos\specialsFX\shadowvolumes) for how to use it. and you can take a look at TGLHiddenLineShader and TGLOutlineShader
Best regards
Seem shader only get external borders.
I've found a git project for Unit which does what I mean:
https://github.com/NoteCAD/NoteCAD/blob/master/Assets/Code/Utils/FullMesh.cs#L432
I don't know C# so fine and overall how to manage it with GLScene classes/objects but I will try to implement same algorithm with Delphi.
Last edit: shine world 2019-07-26