Getting and installing PerspectiveGetting and installing Perspective
Download :
License informations
Creating a WPF project using Perspective in Visual Studio 2008 :
- Create a new Windows Application (WPF) .NET Framework 3.5 project.
- Add a reference on each Perspective assembly (Perspective.Core, Perspective.Wpf, Perspective.Wpf3D).
Since the 0.5 version, the XAML namespace of the Perspective classes is http://www.codeplex.com/perspective.
Example for version 0.9 or later :
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:p="http://www.codeplex.com/perspective"
Title="Window1" WindowState="Maximized">
...
<Workshop3D Name="vMain">
...
<p:XyzAxis3D />
</Workshop3D>
...Example for version 0.5 :
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:p="http://www.codeplex.com/perspective"
Title="Window1" WindowState="Maximized">
...
<Viewport3D Name="vMain">
...
<p:XyzAxis3D />
</Viewport3D>
...