1 <Viewport3D x:Name="reflectionViewPort3D" Opacity="0.8" IsHitTestVisible="False"
2 RenderOptions.EdgeMode="Aliased" ClipToBounds="False"
3 HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
4 <Viewport3D.Camera>
5 <PerspectiveCamera Position="-0.3,-0.5,9" />
6 </Viewport3D.Camera>
7 <Viewport3D.OpacityMask>
8 <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
9 <GradientStop Color="#00000000" Offset="0.55"/>
10 <GradientStop Color="#FFFFFFFF" Offset="0.01"/>
11 </LinearGradientBrush>
12 </Viewport3D.OpacityMask>
13 <ModelVisual3D>
14 <ModelVisual3D.Content>
15 <AmbientLight Color="White"/>
16 </ModelVisual3D.Content>
17 </ModelVisual3D>
18 <ModelVisual3D >
19 <ModelVisual3D.Content>
20 <Model3DGroup x:Name="reflctionRoom">
21 <Model3DGroup.Children>
22 <GeometryModel3D x:Name="reflctionChild0"
23 Geometry="{StaticResource geometry1}" >
24 <GeometryModel3D.Material>
25 <DiffuseMaterial>
26 <DiffuseMaterial.Brush>
27 <VisualBrush Visual="{Binding ElementName=viewport2DVisual3D0, Path=Visual}"/>
28 </DiffuseMaterial.Brush>
29 </DiffuseMaterial>
30 </GeometryModel3D.Material>
31 <GeometryModel3D.Transform>
32 <Transform3DGroup>
33 <RotateTransform3D>
34 <RotateTransform3D.Rotation>
35 <AxisAngleRotation3D Axis="0,1.,0" Angle="-45"/>
36 </RotateTransform3D.Rotation>
37 </RotateTransform3D>
38 <TranslateTransform3D OffsetX="-2.12" OffsetY="2" OffsetZ="0" />
39 <ScaleTransform3D ScaleY="-1"/>
40 </Transform3DGroup>
41 </GeometryModel3D.Transform>
42 </GeometryModel3D>
43 <GeometryModel3D x:Name="reflctionChild1" Geometry="{StaticResource geometry1}" >
44 <GeometryModel3D.Material>
45 <DiffuseMaterial>
46 <DiffuseMaterial.Brush>
47 <VisualBrush Visual="{Binding ElementName=viewport2DVisual3D1, Path=Visual}"/>
48 </DiffuseMaterial.Brush>
49 </DiffuseMaterial>
50 </GeometryModel3D.Material>
51 <GeometryModel3D.Transform>
52 <Transform3DGroup>
53 <RotateTransform3D>
54 <RotateTransform3D.Rotation>
55 <AxisAngleRotation3D Axis="0,1.,0" Angle="45"/>
56 </RotateTransform3D.Rotation>
57 </RotateTransform3D>
58 <TranslateTransform3D OffsetX="0.71" OffsetY="2" OffsetZ="0" />
59 <ScaleTransform3D ScaleY="-1"/>
60 </Transform3DGroup>
61 </GeometryModel3D.Transform>
62 </GeometryModel3D>
63 <GeometryModel3D x:Name="reflctionChild2" Geometry="{StaticResource geometry1}" >
64 <GeometryModel3D.Material>
65 <DiffuseMaterial>
66 <DiffuseMaterial.Brush>
67 <VisualBrush Visual="{Binding ElementName=viewport2DVisual3D2, Path=Visual}"/>
68 </DiffuseMaterial.Brush>
69 </DiffuseMaterial>
70 </GeometryModel3D.Material>
71 <GeometryModel3D.Transform>
72 <Transform3DGroup>
73 <RotateTransform3D>
74 <RotateTransform3D.Rotation>
75 <AxisAngleRotation3D Axis="0,1.,0" Angle="-45"/>
76 </RotateTransform3D.Rotation>
77 </RotateTransform3D>
78 <TranslateTransform3D OffsetX="0.71" OffsetY="2" OffsetZ="0" />
79 <ScaleTransform3D ScaleY="-1"/>
80 </Transform3DGroup>
81 </GeometryModel3D.Transform>
82 </GeometryModel3D>
83 <GeometryModel3D x:Name="reflctionChild3" Geometry="{StaticResource geometry1}" >
84 <GeometryModel3D.Material>
85 <DiffuseMaterial>
86 <DiffuseMaterial.Brush>
87 <VisualBrush Visual="{Binding ElementName=viewport2DVisual3D3, Path=Visual}"/>
88 </DiffuseMaterial.Brush>
89 </DiffuseMaterial>
90 </GeometryModel3D.Material>
91 <GeometryModel3D.Transform>
92 <Transform3DGroup>
93 <RotateTransform3D>
94 <RotateTransform3D.Rotation>
95 <AxisAngleRotation3D Axis="0,1.,0" Angle="45"/>
96 </RotateTransform3D.Rotation>
97 </RotateTransform3D>
98 <TranslateTransform3D OffsetX="3.54" OffsetY="2" OffsetZ="0" />
99 <ScaleTransform3D ScaleY="-1"/>
100 </Transform3DGroup>
101 </GeometryModel3D.Transform>
102 </GeometryModel3D>
103 <GeometryModel3D x:Name="reflctionChild4" Geometry="{StaticResource geometry1}" >
104 <GeometryModel3D.Material>
105 <DiffuseMaterial>
106 <DiffuseMaterial.Brush>
107 <VisualBrush Visual="{Binding ElementName=viewport2DVisual3D4, Path=Visual}"/>
108 </DiffuseMaterial.Brush>
109 </DiffuseMaterial>
110 </GeometryModel3D.Material>
111 <GeometryModel3D.Transform>
112 <Transform3DGroup>
113 <RotateTransform3D>
114 <RotateTransform3D.Rotation>
115 <AxisAngleRotation3D Axis="0,1,0" Angle="45"/>
116 </RotateTransform3D.Rotation>
117 </RotateTransform3D>
118 <TranslateTransform3D OffsetX="-2.12" OffsetY="2" OffsetZ="-0" />
119 <ScaleTransform3D ScaleY="-1"/>
120 </Transform3DGroup>
121 </GeometryModel3D.Transform>
122 </GeometryModel3D>
123 </Model3DGroup.Children>
124 </Model3DGroup>
125 </ModelVisual3D.Content>
126 </ModelVisual3D>
127 </Viewport3D>