Get visible meshes in HelixViewport3D

Nov 5, 2013 at 4:34 PM
I wonder if it is possible to get all visible content that is rendered in HelixViewport3D?
Does anybody have experience with that?


Nov 11, 2013 at 12:43 PM
Try the Visual3DHelper.Traverse method!/Packages/HelixToolkit/HelixToolkit.Wpf/Visual3DHelper/M/Traverse(T)

Select it in the source code and press Shift-F12 and you will find many examples of usage!
Nov 13, 2013 at 9:01 AM
Thank you for your answer.
As far as I could see it, it traverses over the model elements, even when they are not visible. But the question is, how do I find out, if a specific element is visible?
Nov 19, 2013 at 11:03 PM
If a model element is visible in the viewport depends on the camera, transforms, lights, material and geometry. If ligths are defined and you don't need to know if the element is within the viewport, you only need to check the material and geometry.
See also