Importing *.dae file with texture to papervision 3D

127 Views Asked by At

I downloaded the exmaples from http://3dvrm.com/flar/, set up a new Flash Builder Project, made some changes and finally I got my cow on top of the marker BUT just the wireframe, not the texture :-(

The Actionscript-Code looks like

  private function setupDAE():void
  {
   //Load collada model
   collada_model = new DAE();
   collada_model.load("model/cow.dae");
   //And setup it's initial parameters
   collada_model.scale = 40;   
   collada_model.rotationX = 90;  
  }

The DAE shows

<library_images>
 <image id="texture0" name="texture0">
  <init_from>./Cow.png</init_from>
 </image>
</library_images>
<library_materials>
 <material id="material0" name="material0">
  <instance_effect url="#material0-fx" />
 </material>
</library_materials>

Any help?

0

There are 0 best solutions below