游戏开发论坛

 找回密码
 立即注册
搜索
查看: 3519|回复: 0

XNA FBX 导出导入插件

[复制链接]

1

主题

1

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2013-1-25 17:51:14 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-2-27 02:55

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表