Wireframe Model
#3
I must be missing something here.

XML

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

C#

Code:
// create 3D model using mesh and material
mGeometry = new GeometryModel3D(Mesh, Material);

// set 3D model back material
mGeometry.BackMaterial = BackMaterial;

// add model to landscape group
//LandScapeModelGroup.Children.Add(mGeometry);

// create wire frame model using models mesh
WireframeModel = Ab3d.Models.WireframeFactory.CreateWireframe(Mesh, 1, Colors.Aquamarine, MainViewport);

// refresh wireframe visual
WireframeVisual.RecreateWireframeModel();

Still not displaying??

Can you give me XAML/Code example or correct mine please.

I'm very new to your API, will purchase, but need to get basics sorted first.

Thanks

Jason

Sorted!

Used the following :-

Code:
// create wire frame model using models mesh
LandScapeModelGroup.Children.Add(Ab3d.Models.WireframeFactory.CreateWireframe(Mesh, 1, Colors.Aquamarine, MainViewport));

Thanks

Jason
  


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)