Esempio n. 1
0
        public SculptMesh(Bitmap sculptBitmap, SculptType sculptType, int lod, bool mirror, bool invert)
        {
            if (mirror)
                invert = !invert;

            SculptMap smap = new SculptMap(sculptBitmap, lod);

            List<List<Coord>> rows = smap.ToRows(mirror);

            _SculptMesh(rows, sculptType, invert);
        }
Esempio n. 2
0
        public SculptMesh(Bitmap sculptBitmap, SculptType sculptType, int lod, bool mirror, bool invert)
        {
            if (mirror)
            {
                invert = !invert;
            }

            SculptMap smap = new SculptMap(sculptBitmap, lod);

            List <List <Coord> > rows = smap.ToRows(mirror);

            _SculptMesh(rows, sculptType, invert);
        }