WPF - Render text in Viewport3D
- by eWolf
I want to present up to 300 strings (just a few words) in a Viewport3D - fast! I want to render them on different Z positions and zoom in and out fluently.
The ways I have found so far to render text in a Viewport3D:
Put a TextBlock in a Viewport2DVisual3D.
This guy's PlanarText class.
The same guy's SolidText class.
Create my own 2D panel and align TextBlocks on it. Call InvalidateArrange() every time I update the camera position.
All of these are extremely slow and far apart from zooming fluently even with 10 strings only.
Does anyone have a solution for this handy? It's got to be possible to render some text in a Viewport3D without waiting seconds!