Domanda

im molto nuovo a Papervision3D, so per visualizzare un modello .dae io uso questo

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');

Ma come posso fare per utilizzare modelli VRML (.wrl). Grazie.

È stato utile?

Soluzione

non Papervision anche sostenere modelli VRML? Ultimo ho controllato, è supportato solo Collada (DAE).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top