Hey Pete, it works really good, but .... always is a but... i have a problem with the zfading, between the md2 models
I've 3 parts the head.md2 the body.md2 and the legs.md2 the neck is on body... and it has a problem with the head... its like a culling problem between them. On Feb 25, 5:44 pm, Peter Kapelyan <[email protected]> wrote: > Yes That will work. Another possible solution is to have the different heads > UV mapped separately (in different parts of the UV map) and then use > transparency in the material to switch the heads. It's not nearly as good > as using FaceLink, but I guess you can do that if all else fails. > > -Pete > > > > > > On Thu, Feb 25, 2010 at 3:23 PM, Akiles Bailoyo <[email protected]> wrote: > > Thanks again peter, i have 2 kinds of heads in one model and sometimes > > a i need to show one an sometimes i need to show the other head... > > and that with another parts ... and is more easy for me to load a big > > model with lots of parts and remove or add one part when i need it. > > any way i found this > >http://code.google.com/p/away3d/issues/detail?id=61 > > > maybe this is the solution > > > On Feb 25, 4:40 pm, Peter Kapelyan <[email protected]> wrote: > > > I don't think that's possible at all, the MD2 specs shouldn't contain any > > > children, so any parser made for MD2's should be looking for children, > > > sorry... > > > > Why are you trying to access children? So you can apply a different > > texture > > > to just a certain part? > > > > -Pete > > > > On Thu, Feb 25, 2010 at 2:16 PM, Akiles Bailoyo <[email protected]> > > wrote: > > > > thanks Peter > > > > > no, i want to access to a part of a md2 model to add or remove a part > > > > of it. > > > > > I put a name to a part of the 3d model in 3dmax, and i need to access > > > > it from actionscript to manipulate it. > > > > > with collada i do > > > > var head:Object3D = model.getChildByName("head-node") as Object3D; > > > > > but how can i do this with a md2 model? > > > > > On Feb 25, 3:57 pm, Peter Kapelyan <[email protected]> wrote: > > > > > There should be no children in the md2 format, maybe you are thinking > > of > > > > > md3? > > > > > > On Thu, Feb 25, 2010 at 1:52 PM, Akiles Bailoyo <[email protected]> > > > > wrote: > > > > > > with a collada model i do something like this: > > > > > > > var head:Object3D = model.getChildByName("head-node") as Object3D; > > > > > > > model is the Collada model > > > > > > > but how can i do to do the same with MD2 model?? > > > > > > > thanks! > > > > > > -- > > > > > ___________________ > > > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > > > HTTP://AWAY3D.COM > > > > -- > > > ___________________ > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > HTTP://AWAY3D.COM > > -- > ___________________ > > Actionscript 3.0 Flash 3D Graphics Engine > > HTTP://AWAY3D.COM
