示例#1
0
        //private MitsubaSettings m_settings;

        public MitsubaExporter(string basePath, string filename)
        {
            //m_settings = settings;
            _basePath  = basePath;
            _filename  = filename;
            _meshStore = new MeshStore(basePath);
        }
示例#2
0
        /// <summary>
        ///   This list handles the different emitters of the scene and reuse any emitter if needed.
        /// </summary>
        //private List<MitsubaEmitter> _emittersUsed;

        #endregion

        /// <summary>
        ///   Main ctor.
        /// </summary>
        /// <param name="basePath">The path of the scene folder.</param>
        /// <param name="fileName">The path of the scene XML file.</param>
        public MitsubaScene(string basePath, string fileName)
        {
            BasePath    = basePath;
            FileName    = fileName;
            _meshStore  = new MeshStore(BasePath);
            _mitsubaXml = new MitsubaXml();
        }