我从http://3dvrm.com/flar/下载了exmaples,设置了一个新的Flash Builder项目,进行了一些更改,最后我把我的牛放在了标记之上但只是线框,而不是纹理: - (
Actionscript-Code看起来像
private function setupDAE():void
{
//Load collada model
collada_model = new DAE();
collada_model.load("model/cow.dae");
//And setup it's initial parameters
collada_model.scale = 40;
collada_model.rotationX = 90;
}
DAE显示
<library_images>
<image id="texture0" name="texture0">
<init_from>./Cow.png</init_from>
</image>
</library_images>
<library_materials>
<material id="material0" name="material0">
<instance_effect url="#material0-fx" />
</material>
</library_materials>
有任何帮助吗?