TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft Expression

Notices

Reply
 
Thread Tools Display Modes
Old 01-05-2008, 01:01 AM   #1
Paul
Guest
 
Posts: n/a
Crash of expression Blend march preview

Hi all

If I past the following code into expression blend and view the model in the
designer and hover with the mouse over the model (is very small), Expression
Blend just crashes. Visual Studio handels the code.

<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="WpfApplication1.Window1"
x:Name="Window"
Title="Window1"
Width="640" Height="480">
<Window.Resources>
<ModelVisual3D x:Key="Justierring">
<ModelVisual3D.Transform>
<MatrixTransform3D Matrix="1.000000 0.000000
0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 0.000000
1.000000 0.000000 0.000000 0.000000 0.000000 1.000000 "/>
</ModelVisual3D.Transform>
<ModelVisual3D.Children>
<ModelVisual3D>
<ModelVisual3D.Transform>
<MatrixTransform3D Matrix="-0.000000
0.226766 -0.973949 0.000000 0.000000 -0.973949 -0.226766 0.000000 -1.000000
-0.000000 0.000000 0.000000 0.026000 0.006000 0.022000 1.000000 "/>
</ModelVisual3D.Transform>

<ModelVisual3D.Children/>
</ModelVisual3D>
<ModelVisual3D>
<ModelVisual3D.Transform>
<MatrixTransform3D Matrix="-0.873884
-0.000000 0.486134 0.000000 -0.486134 -0.000000 -0.873884 0.000000 0.000000
-1.000000 -0.000000 0.000000 -0.021900 0.013300 -0.000000 1.000000 "/>
</ModelVisual3D.Transform>
<ModelVisual3D.Content>
<Model3DGroup>
<Model3DGroup.Children>


<GeometryModel3D>
<GeometryModel3D.Material>
<MaterialGroup>
<DiffuseMaterial>

<DiffuseMaterial.Brush>
<SolidColorBrush
Color="#999999" Opacity="1.000000"/>

</DiffuseMaterial.Brush>
</DiffuseMaterial>
<SpecularMaterial
SpecularPower="0.600000">

<SpecularMaterial.Brush>
<SolidColorBrush
Color="#606060" Opacity="1.000000"/>

</SpecularMaterial.Brush>
</SpecularMaterial>
</MaterialGroup>
</GeometryModel3D.Material>
<GeometryModel3D.Geometry>
<MeshGeometry3D
Positions="0.000400,0.002544,-0.002000 0.000400,-0.002544,-0.002000
0.000400,0.002619,-0.001150 0.000400,-0.002619,-0.001150 "
Normals="-1.000000,0.000000,0.000000 -1.000000,0.000000,0.000000
-1.000000,0.000000,0.000000 -1.000000,0.000000,0.000000 "
TriangleIndices="0,1,2 3,2,1 "/>
</GeometryModel3D.Geometry>
</GeometryModel3D>
<GeometryModel3D>
<GeometryModel3D.Material>
<MaterialGroup>
<DiffuseMaterial>

<DiffuseMaterial.Brush>
<SolidColorBrush
Color="#999999" Opacity="1.000000"/>

</DiffuseMaterial.Brush>
</DiffuseMaterial>
<SpecularMaterial
SpecularPower="0.600000">

<SpecularMaterial.Brush>
<SolidColorBrush
Color="#606060" Opacity="1.000000"/>

</SpecularMaterial.Brush>
</SpecularMaterial>
</MaterialGroup>
</GeometryModel3D.Material>
<GeometryModel3D.Geometry>
<MeshGeometry3D
Positions="-0.000400,0.002544,-0.002000 -0.000400,-0.002544,-0.002000
-0.000573,-0.002510,-0.002000 -0.000400,0.002544,-0.002000
-0.000573,-0.002510,-0.002000 -0.000573,0.002510,-0.002000
-0.001288,-0.002230,-0.002000 -0.001288,0.002230,-0.002000
-0.001888,-0.001751,-0.002000 -0.001888,0.001751,-0.002000
-0.002320,-0.001117,-0.002000 -0.002320,0.001117,-0.002000
-0.002546,-0.000384,-0.002000 -0.002546,0.000384,-0.002000 "
Normals="0.000000,0.000000,-1.000000 0.000000,0.000000,-1.000000
0.000000,0.000000,-1.000000 0.000000,0.000000,-1.000000
0.000000,0.000000,-1.000000 0.000000,0.000000,-1.000000
0.000000,0.000000,-1.000000 0.000000,0.000000,-1.000000
0.000000,0.000000,-1.000000 0.000000,0.000000,-1.000000
0.000000,0.000000,-1.000000 0.000000,0.000000,-1.000000
0.000000,0.000000,-1.000000 0.000000,0.000000,-1.000000 "
TriangleIndices="0,1,2 3,4,5 6,5,4 5,6,7 8,7,6 7,8,9 10,9,8 9,10,11 12,11,10
11,12,13 "/>
</GeometryModel3D.Geometry>
</GeometryModel3D>
</Model3DGroup.Children>
</Model3DGroup>
</ModelVisual3D.Content>
<ModelVisual3D.Children/>
</ModelVisual3D>


</ModelVisual3D.Children>
</ModelVisual3D>

</Window.Resources>
<Grid x:Name="LayoutRoot">
<Viewport3D
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Viewport3D.Camera>
<OrthographicCamera Position="0.155699,0.187004,0.101166"
LookDirection="-0.577382,-0.577288,-0.577382"
UpDirection="-0.408204,0.816541,-0.408204" NearPlaneDistance="0.137768"
FarPlaneDistance="0.413304" Width="0.275536"/>
</Viewport3D.Camera>
<Viewport3D.Children>
<ModelVisual3D>
<ModelVisual3D.Children>
<ModelVisual3D>
<ModelVisual3D.Content>
<Model3DGroup>
<Model3DGroup.Children>
<AmbientLight Color="#303030"/>
<DirectionalLight Color="#FF555555"
Direction="0.250000,-0.250000,-0.750000"/>
</Model3DGroup.Children>
</Model3DGroup>
</ModelVisual3D.Content>
</ModelVisual3D>
<StaticResource ResourceKey="Justierring"/>
</ModelVisual3D.Children>
</ModelVisual3D>
</Viewport3D.Children>
</Viewport3D>
</Grid>
</Window>

--
Cheers
Paul
  Reply With Quote
Old 05-06-2008, 11:58 PM   #2
Gaspari Luca
Guest
 
Posts: n/a
Re: Crash of expression Blend march preview

Hi there, just tried it on my laptop, it worked fine even on hover..
I've got the same version of you, Blend 2.5 March 2008.

Cheers

  Reply With Quote
Reply

Thread Tools
Display Modes


Google
 


All times are GMT +5.5. The time now is 11:26 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2008, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional