So I have to embed images and the 3D file into Flash? Could I just use the Loader class and to pull in the image then once loaded apply it the same way? I'm trying to figure out a way where I don't have to embed everything. My question is once I add the textures will the engine know how to apply the UV stuff?
On Jul 16, 12:38 pm, desgraci <[email protected]> wrote: > i use blender myself, collada 1.4 > > for making a dae: > > [Embed(source="urURLtoimage.jpg")] > private var chuckImage : Class; > > [Embed(source="ur.dae",mimeType="application/octet-stream")] > private var Ag:Class; > > private var material:BitmapMaterial; > > private var model2:ObjectContainer3D; > > material = new BitmapMaterial(Cast.bitmap(Charmap)); > > model2 = Collada.parse(Ag,{materials:{whatever name they have in > libray:material,example:if u need more}}); > scene.addChild(model2); > > for 3ds is almost the same stuff > > private var modelinloader:Object3DLoader; > > modelinloader = new Object3DLoader(Max3DS.load > ("model.3ds",{ material:material})); > scene.addChild(modelinloader); > > the .obj dont remember, but is almos the same, anyway theres a lot of > post whit this info and examples, u wont get lost.
