title: Place an Image into ViewPort3D in wpf
body: <p>I am having problem in displaying th Image in viewport3d of wpf.</p>
  
  <pre><code>    &lt;Grid&gt;
      &lt;Image Source="G:\Demo\virtualization\virtualization\2.jpg"/&gt;
      &lt;Viewport3D Name="mainViewport" ClipToBounds="True" HorizontalAlignment="Stretch" Height="300"&gt;
          &lt;Viewport3D.Camera&gt;
              &lt;PerspectiveCamera 
                LookDirection="0,0,-20"
                UpDirection="0,1,0"
                Position="-40,40,40" 
                /&gt;
          &lt;/Viewport3D.Camera&gt;
          &lt;Viewport2DVisual3D&gt;
              &lt;Image Source="G:\Demo\virtualization\virtualization\img3.bmp"/&gt;
          &lt;/Viewport2DVisual3D&gt;
      &lt;/Viewport3D&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>Above is the code I am using. The first image that is behind the viewport3d is displayed but the image which is inside the viewport3d is not displayed.</p>
  
  <p>Where I am doing wrong?</p>
  
  <p>Please help!</p>
  
  <p>Thanks</p>