2010-05-10 7 views
0

im très nouveau à Papervision3D, je sais que pour afficher un modèle .dae i utilise cetteComment charger un modèle VRML sur PaperVision3d?

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

Mais comment puis-je faire pour utiliser des modèles VRML (.WRL). Merci.

Répondre

0

La papervision prend-elle même en charge les modèles VRML? Dernière fois que j'ai vérifié, il a seulement soutenu Collada (DAE).

Questions connexes