Starting from Eyeshot 2023, it is possible to detect and draw silhouettes by leveraging the computational power of the GPU.
To enable this feature you should set the relative property:
DisplayModeSettings.SilhouettesDrawingMode = silhouettesDrawingType.ImageBased;
Benefits
- Fast
- Independent from the polygon count
Limitations
- Silhouettes are detected only for opaque geometry
- Silhouettes can't be thinner than 2px
- Entity-color silhouettes are not supported
- Edge quality could decrease
- Some silhouettes could be missed, especially on small details compared to the scale of the scene
Advanced graphics
This feature requires advanced graphics capabilities. Ensure you meet the minimum requirements listed below:
- Shaders must be available and enabled.
- OpenGL render context version should be at least 3.0
- Direct3D render context feature level should be at least 11_0
Comments
Can you speed up HiddenLinesView with this approach?
Is there a reason for the 2px limitation instead of being able to go to 1px?
Please sign in to leave a comment.