I am really sorry , but I have no possibility to help you more right now ( at work now) . But if you look through the trunk examples you will find everything there .Also browse this group history.There are tons of threads concerning your issue. Cheers, Michael
On Mon, Aug 16, 2010 at 1:10 PM, le_unam <[email protected]> wrote: > i created the obj file without mtl so that i can add the texture by > away3d. > What did u say? I export the obj file with mtl and with texture? and > then i create a texture in away3d for example: var > tex:WhiteShadingBitmapMaterial = new > WhiteShadingBitmapMaterial(Cast.bitmap("nameoftextureinmtl"); right? > Is this the way you would do it? > > On 16 Aug., 12:04, Michael Iv <[email protected]> wrote: > > you should target the material by its name a swas assigned in 3d package > > > > > > > > On Mon, Aug 16, 2010 at 1:03 PM, le_unam <[email protected]> wrote: > > > hmm thank you, but i tried it and it doesnt work ... i`ve loaded the > > > object and added the material but the object appears in random color > > > like away3d objects added without texture. > > > > > tresen = Obj.load("tresen.obj"); > > > tresen.material = mholz; > > > myScene.addChild(tresen); > > > > > any idea? > > > > > On 16 Aug., 11:52, Michael Iv <[email protected]> wrote: > > > > You don't need to convert it. When you import it is already cast to > > > Object3d > > > > or ObjectContainer3D. > > > > Then you can apply to it any material you want from Away3D materials > bank > > > > with your default texture as the source input or any other. > > > > > > On Mon, Aug 16, 2010 at 12:47 PM, le_unam <[email protected]> > wrote: > > > > > so i can convert my loaded obj into object3d and add a material? i > > > > > dont know if i did understand it. > > > > > > > On 16 Aug., 11:17, Michael Iv <[email protected]> wrote: > > > > > > The materials you apply to your objects in 3d package have > nothing to > > > do > > > > > > with Away3D .Away3D imports besides the mesh only UV mapping data > and > > > > > > texture path as in case with .OBJ mtl file that holds those > > > references. > > > > > But > > > > > > the appropriate material you should create already inside away3d. > If > > > you > > > > > > want the lights to affect your material you should use shaded > > > materials . > > > > > > > > On Mon, Aug 16, 2010 at 11:54 AM, le_unam <[email protected]> > > > wrote: > > > > > > > Or is it possible to create the materials for the obj file in > away? > > > > > > > So that i create my models in c4d and load them into away. then > i > > > give > > > > > > > them the materials? > > > > > > > > > On 13 Aug., 08:57, le_unam <[email protected]> wrote: > > > > > > > > hey i have loaded an obj file, created in cinema with > texture, > > > and i > > > > > > > > added some lights, but the lights seem that they dont react > to my > > > > > > > > textures. maybe the problem is that cinema just exports > > > > > bitmapmaterial > > > > > > > > and the bitmapmaterial dont react of lights right? Is there a > > > chance > > > > > > > > to convert the texture of the loaded object? > > > > > > > > -- > > > > > > Michael Ivanov ,Programmer > > > > > > Neurotech Solutions Ltd. > > > > > > Flex|Air > > > > > > |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp:// > > > > >www.meetup.com/GO3D-Games-Opensource-3D/ > > > > > > Tel:054-4962254 > > > > > > [email protected] > > > > > > [email protected] > > > > > > -- > > > > Michael Ivanov ,Programmer > > > > Neurotech Solutions Ltd. > > > > Flex|Air > > > |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp:// > > >www.meetup.com/GO3D-Games-Opensource-3D/ > > > > Tel:054-4962254 > > > > [email protected] > > > > [email protected] > > > > -- > > Michael Ivanov ,Programmer > > Neurotech Solutions Ltd. > > Flex|Air > |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp:// > www.meetup.com/GO3D-Games-Opensource-3D/ > > Tel:054-4962254 > > [email protected] > > [email protected] -- Michael Ivanov ,Programmer Neurotech Solutions Ltd. Flex|Air |3D|Unity| www.neurotechresearch.com http://blog.alladvanced.net http://www.meetup.com/GO3D-Games-Opensource-3D/ Tel:054-4962254 [email protected] [email protected]
