Wpf 3d Three Dimensional Graphics With Wpf
sh.Positions = new Point3DCollection { new Point3D(0,0,0), new Point3D(1,0,0), new Point3D(1,1,0), new Point3D(0,1,0) }; mesh.TriangleIndices = new Int32Collection { 0, 1, 2, 2, 3, 0 }; ``` Step 3: Applying Materials