<Window x:Class="AvengersUtd.Test.TestWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="WPF Coverflow" Height="320" Width="512" KeyDown="Window_KeyDown">
  <Grid>
    <Grid.Background>
      <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
          <GradientStop Color="White" Offset="0"/>
          <GradientStop Color="#696988" Offset="1"/>
        </LinearGradientBrush.GradientStops>
      </LinearGradientBrush>
    </Grid.Background>
    <Viewport3D x:Name="viewPort" Grid.Column="0" Grid.Row="0" ClipToBounds="False">
      <Viewport3D.Camera>
        <PerspectiveCamera x:Name="camera" Position="0,0,3" 
          UpDirection="0,1,0" LookDirection="0,0,-1" 
          FieldOfView="100" NearPlaneDistance="0.125"/>
      </Viewport3D.Camera>
      <Viewport3D.Children>
        <ModelVisual3D>
          <ModelVisual3D.Content>
            <DirectionalLight Color="White" Direction="1,0,-3" />
          </ModelVisual3D.Content>
        </ModelVisual3D>
        <ModelVisual3D>
          <ModelVisual3D.Content>
            <DirectionalLight Color="White" Direction="-1,0,-3" />
          </ModelVisual3D.Content>
        </ModelVisual3D>
        <ModelVisual3D x:Name="visualModel">
        </ModelVisual3D>
      </Viewport3D.Children>
    </Viewport3D>
  </Grid>
</Window>
