oops, it seems half of my answer get lost.

i've tried to type the bmat with all the type i could think Material,
BitmapMaterial, Bitmap, Bitmap data
always have the "implicit coercion" message

if i don't put type as in your example i've got this message
Error #1034: Type Coercion failed: cannot convert
away3d.materials::bitmapmater...@31c411c9 to flash.display.BitmapData.

and for the bmat:IMaterial i have also a coecion message

i don't understand, all the test i've done with standard material
applied on ie Cube or Torus works.
but with this dot3bitmapmaterial nothing i try seems to work

theses are the library il load
import away3d.containers.*;
import away3d.core.base.*;
import away3d.primitives.*;
import away3d.cameras.HoverCamera3D;
import away3d.containers.ObjectContainer3D;
import away3d.containers.Scene3D;
import away3d.containers.View3D;
import away3d.core.render.Renderer;
import away3d.core.utils.Cast;
import away3d.lights.DirectionalLight3D;
import away3d.materials.*;
import away3d.materials.Dot3BitmapMaterial;
import away3d.materials.EnviroBitmapMaterial;
import away3d.primitives.Plane;
import away3d.primitives.Sphere;
import away3d.loaders.Collada;
import away3d.loaders.Object3DLoader;
import away3d.materials.utils.NormalMapGenerator;
import away3d.materials.BitmapMaterial;
import away3d.materials.BitmapFileMaterial;
import away3d.core.utils.*;

import flash.display.Bitmap;
  import flash.display.BitmapData;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.utils.*;
import flash.display.*;

is there someting wrong here ? i'm totally lost.

Reply via email to