質問

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)を使用するためにどうすればよいですか。ありがとう。

役に立ちましたか?

解決

PaperVisionはVRMLモデルをサポートしていますか?最後に確認しましたが、それはCollada(Dae)のみをサポートしました。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top