title: WPF draw text in ModelVisual3D
body: <p>I'm creating WPF application in which I'm drawing a point cloud. Points are made as little cubes. I'd like to sign indexes with numbers near to each "cube-point" (eg. 1, 2, 3, ...) so I want to add text to my 3D View.</p>
  
  <p>This is my xaml part:</p>
  
  <pre><code>       &lt;ModelVisual3D x:Name="model"&gt;
              &lt;ModelVisual3D.Content&gt;
                  &lt;Model3DGroup x:Name="group"&gt;
                      &lt;AmbientLight Color="DarkGray" /&gt;
                      &lt;DirectionalLight Color="White" Direction="-5,-5,-7" /&gt;
                  &lt;/Model3DGroup&gt;
              &lt;/ModelVisual3D.Content&gt;
          &lt;/ModelVisual3D&gt;
  </code></pre>
  
  <p>In code-behind I'm adding GeometryModel3D (built with mesh cube-points) to Model3DGroup (named 'group').</p>
  
  <p>I tried to use this code: <a href="http://www.ericsink.com/wpf3d/4_Text.html" rel="nofollow">http://www.ericsink.com/wpf3d/4_Text.html</a>
  but this is very inefficient way and everything works slowly when I generate and display about 7000 (number of cube-points) such textBlocks.</p>
  
  <p>Do you have any idea how to add some text in a more efficient way?</p>