|
openFileDialog1.Filter = "fbx文件|*.fbx";
openFileDialog1.InitialDirectory = Application.StartupPath;
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
NodeContent nc = null;
try
{
nc = this.fbximporter.Import(openFileDialog1.FileName,this._cic);
this.myscene = new FBXScene(nc,this._cic);
TreeNode tnode = new TreeNode();
this.myscene.FillTree(tnode);
this.treeFBX.Nodes.Clear();
this.treeFBX.Nodes.Add(tnode);
tnode.ExpandAll();
}
catch (Exception ex)
{
this.listBox1.Items.Add("打开fbx文件出错");
}
}
请教大家给1个导出的插件,万分感谢,希望大家多多交流 如果有的朋友请发邮箱给我一点dome chenyunNet@163.co
|
|