Wireframe Model
#1
I current add my model to the viewport using code.

XAML is
Code:
<!--Landscape Model-->
<ModelVisual3D>
    <ModelVisual3D.Content>
        <Model3DGroup x:Name="LandScapeModelGroup">
            <AmbientLight Color="DarkGray"/>
        </Model3DGroup>
    </ModelVisual3D.Content>
</ModelVisual3D>

C#
Code:
// add model to landscape group
LandScapeModelGroup.Children.Add(mGeometry);

What is the best setup if I want to show a Wireframe version of the model?

I already tried this

XAML

Code:
<visuals:WireframeVisual3D WireframeType="WireframeWithOriginalSolidModel" >
    <GeometryModel3D x:Name="WireframeModel">
    </GeometryModel3D>
</visuals:WireframeVisual3D>

C#

Code:
WireframeModel = mGeometry;

But the above did not showing anything.

Please help ;)
  


Messages In This Thread
Wireframe Model - by ZENUAV - 05-18-2015, 09:04 PM
RE: Wireframe Model - by abenedik - 05-18-2015, 10:07 PM
RE: Wireframe Model - by ZENUAV - 05-18-2015, 10:26 PM
RE: Wireframe Model - by abenedik - 05-19-2015, 03:47 PM
RE: Wireframe Model - by ZENUAV - 05-20-2015, 11:21 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)