0
IM在Papervision3D的非常新,我知道爲了顯示.DAE模型我用這個如何在PaperVision3d上加載VRML模型?
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)做的。謝謝。