Esempio n. 1
0
 private void saveModel(string fileName)
 {
     if (m == null)
     {
         return;
     }
     m.saveObjModel(fileName);
 }
        private void exportObjFile(string fileName)
        {
            if (md5model == null)
            {
                return;
            }
            WavefrontOBJ obj = new WavefrontOBJ();

            md5model.addToSimpleStaticMeshBuilder(obj);
            obj.saveObjModel(fileName);
        }
Esempio n. 3
0
        private void exportObjFile(string fileName)
        {
            if (map == null)
            {
                return;
            }
            WavefrontOBJ obj = new WavefrontOBJ();
            ConvexVolumeArrayToWaveFrontObjIterator converter = new ConvexVolumeArrayToWaveFrontObjIterator(obj);

            map.iterateBrushes(converter);
            obj.saveObjModel(fileName);
        }