- July 25, 2010
- 4,024
- 1,420
- Home Country
- Germany
AW: Skinning contest: One month to go
One more question: Is also Viewport3D available? Because I tried a simple example in MP2 and it works fine in WPF but not in MPF...
I already looked at the difference between MPF and WPF in the documentation and there was the color mentioned, so I changed it... but it is still not working and in WPF it is still.
I'm sorry that I have questions over questions, but the error message "2010-10-31 15:48:51.438957 [Info.][InputManager dispatch thread]: WorkflowManager: Error showing screen 'hello_world'" doesn't help me in any way. I know that it is a really hard work to write such a mediacenter and I really appreciate your effort, but it would really nice to have a more detail error message. For example: "Attribute xyz doesn't exist" oder "Element xyz isn't supported by MPF". Without a detailed error message I just have no clue what's going wrong oO
Hopefully you can help me and thumbs up fo MP2
One more question: Is also Viewport3D available? Because I tried a simple example in MP2 and it works fine in WPF but not in MPF...
Code:
<DockPanel
xmlns="www.team-mediaportal.com/2008/mpf/directx"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Context="{Model Id=5726DA5A-70D5-458f-AF67-611293D97912}" LastChildFill="False">
<Grid>
<DockPanel
Width="Auto"
VerticalAlignment="Stretch"
Height="Auto"
HorizontalAlignment="Stretch"
Grid.ColumnSpan="1"
Grid.Column="0"
Grid.Row="0"
Margin="0,0,0,0"
Grid.RowSpan="1">
<StackPanel>
<StackPanel.Background>
<LinearGradientBrush>
<GradientStop Color="#FFFFFFFF" Offset="0"/>
<GradientStop Color="#00000000" Offset=".3"/>
<GradientStop Color="#00000000" Offset=".7"/>
<GradientStop Color="#FFFFFFFF" Offset="1"/>
</LinearGradientBrush>
</StackPanel.Background>
<StackPanel Margin="10">
</StackPanel>
</StackPanel>
<Viewport3D Name="mainViewport" ClipToBounds="True">
<Viewport3D.Camera>
<PerspectiveCamera
FarPlaneDistance="100"
LookDirection="-11,-10,-9"
UpDirection="0,1,0"
NearPlaneDistance="1"
Position="11,10,9"
FieldOfView="70" />
</Viewport3D.Camera>
<ModelVisual3D>
<ModelVisual3D.Content>
<DirectionalLight Color="#FFFFFFFF" Direction="-2,-3,-1" />
</ModelVisual3D.Content>
</ModelVisual3D>
</Viewport3D>
</DockPanel>
</Grid>
</DockPanel>
I already looked at the difference between MPF and WPF in the documentation and there was the color mentioned, so I changed it... but it is still not working and in WPF it is still.
I'm sorry that I have questions over questions, but the error message "2010-10-31 15:48:51.438957 [Info.][InputManager dispatch thread]: WorkflowManager: Error showing screen 'hello_world'" doesn't help me in any way. I know that it is a really hard work to write such a mediacenter and I really appreciate your effort, but it would really nice to have a more detail error message. For example: "Attribute xyz doesn't exist" oder "Element xyz isn't supported by MPF". Without a detailed error message I just have no clue what's going wrong oO
Hopefully you can help me and thumbs up fo MP2