public void MakeWireframe(IList<Point3D> points)
        {
            this.Points.Clear();

            if ((points != null) && (points.Count > 0))
            {
                Matrix3DStack transform = new Matrix3DStack();
                transform.Push(Matrix3D.Identity);

                WireframeHelper(points, null);
            }
        }
        public void MakeWireframe(Model3D model)
        {
            this.Points.Clear();

            if (model == null)
            {
                return;
            }

            Matrix3DStack transform = new Matrix3DStack();
            transform.Push(Matrix3D.Identity);

            WireframeHelper(model, transform);
        }
Esempio n. 3
0
        public void MakeNormals(Model3D model)
        {
            Points.Clear();
            Thickness = 1;
            Color = Colors.SlateBlue;

            if (model == null)
            {
                return;
            }

            Matrix3DStack transform = new Matrix3DStack();
            transform.Push(Matrix3D.Identity);

            NormalsHelper(model, transform);
        }