How to Load a VRML model on PaperVision3d?

Posted by DomingoSL on Stack Overflow See other posts from Stack Overflow or by DomingoSL
Published on 2010-05-10T01:03:31Z Indexed on 2010/05/10 1:08 UTC
Read the original article Hit count: 498

Hello, im very new at papervision3d, i know in order to display a .DAE model i use this

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

But how can i do in order to use VRML models (.WRL). Thanks.

© Stack Overflow or respective owner

Related posts about vrml

Related posts about papervision3d