You have chosen to sponsor your bid up to a maximum amount of .
i cant seem to change a Texture-material on my model Dynamically:
Firstly i load a 3D model into flash with its embedded texture with no problems..
During run-time i would like to change this texture to a new one that i have created like below:
var bitmapData:BitmapData = new BitmapData(256, 256, false,0xFF0000);
var texture:BitmapTexture = new BitmapTexture(bitmapData);
MY_3d_MODEL.material = new TextureMaterial(Cast.bitmapTexture(texture));
no errors are in the output, my model is not changing to its new texture:
Im using an away3d gold engine
Additional Project Description:
11/30/2012 at 23:32 EST
Attached is all the source files, like im needing is about 2-5 lines of code to get this to work
I will not consider high bids as this is a personal project:
I created this sample to a basic form so all you would need to do is edit where i have documented in the files
Breifly, on mouse event myMesh. material = a different bitmap