protected void ReadModelInfo(XmlNode model_info)
        {
            this.model_info = new model_info();

            this.model_info.pos_scale        = int.Parse(model_info.Attributes["pos_scale"].Value);
            this.model_info.scaling_rule     = model_info.Attributes["scaling_rule"].Value;
            this.model_info.vertex_style     = model_info.Attributes["vertex_style"].Value;
            this.model_info.magnify          = float.Parse(model_info.Attributes["magnify"].Value);
            this.model_info.tool_start_frame = int.Parse(model_info.Attributes["tool_start_frame"].Value);
            this.model_info.tex_matrix_mode  = model_info.Attributes["tex_matrix_mode"].Value;
            this.model_info.compress_node    = model_info.Attributes["compress_node"].Value;
            this.model_info.node_size        = Array.ConvertAll(
                model_info.Attributes["node_size"].Value.Split(new string[] { " ", "\n", "\r\n", "\t" }, StringSplitOptions.RemoveEmptyEntries),
                Convert.ToInt32);
            this.model_info.compress_material = model_info.Attributes["compress_material"].Value.Equals("on");
            this.model_info.material_size     = Array.ConvertAll(
                model_info.Attributes["material_size"].Value.Split(new string[] { " ", "\n", "\r\n", "\t" },
                                                                   StringSplitOptions.RemoveEmptyEntries),
                Convert.ToInt32);
            this.model_info.output_texture      = model_info.Attributes["output_texture"].Value;
            this.model_info.force_full_weight   = model_info.Attributes["force_full_weight"].Value.Equals("on");
            this.model_info.use_primitive_strip = model_info.Attributes["use_primitive_strip"].Value.Equals("on");
        }
        protected void ReadModelInfo(XmlNode model_info)
        {
            this.model_info = new model_info();

            this.model_info.pos_scale = int.Parse(model_info.Attributes["pos_scale"].Value);
            this.model_info.scaling_rule = model_info.Attributes["scaling_rule"].Value;
            this.model_info.vertex_style = model_info.Attributes["vertex_style"].Value;
            this.model_info.magnify = float.Parse(model_info.Attributes["magnify"].Value);
            this.model_info.tool_start_frame = int.Parse(model_info.Attributes["tool_start_frame"].Value);
            this.model_info.tex_matrix_mode = model_info.Attributes["tex_matrix_mode"].Value;
            this.model_info.compress_node = model_info.Attributes["compress_node"].Value;
            this.model_info.node_size = Array.ConvertAll(
                model_info.Attributes["node_size"].Value.Split(new string[] { " ", "\n", "\r\n", "\t" }, StringSplitOptions.RemoveEmptyEntries),
                Convert.ToInt32);
            this.model_info.compress_material = model_info.Attributes["compress_material"].Value.Equals("on");
            this.model_info.material_size = Array.ConvertAll(
                model_info.Attributes["material_size"].Value.Split(new string[] { " ", "\n", "\r\n", "\t" },
                StringSplitOptions.RemoveEmptyEntries),
                Convert.ToInt32);
            this.model_info.output_texture = model_info.Attributes["output_texture"].Value;
            this.model_info.force_full_weight = model_info.Attributes["force_full_weight"].Value.Equals("on");
            this.model_info.use_primitive_strip = model_info.Attributes["use_primitive_strip"].Value.Equals("on");
        }