我是非常新的papervision3d,我知道为了显示.DAE模型我用这个
import flash.events.Event;
import org.papervision3d.objects.parsers.DAE;
[SWF(width=640, height=480, backgroundColor=0x808080, frameRate=30)]
public class Earth extends PV3DARApp {
private var _earth:DAE;
public function Earth() {
addEventListener(Event.INIT, _onInit);
init('Data/camera_para.dat', 'Data/flarlogo.pat');
}
private function _onInit(e:Event):void {
_earth = new DAE();
_earth.load('model/amorfo.dae');
但是我怎么做才能使用VRML模型(.WRL)。感谢。
答案 0 :(得分:0)
papervision甚至支持VRML模型吗?最后我查了一下,它只支持Collada(DAE)。