3d Max Texture burn? 2004-02-27 - By Doron Erblich
Back
Can someone please post a bit of code for doing the re-ordering? I am getting a little confused about which of the values need to be re-ordered. textureCoordinates?
Thanks __ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ Doron Erblich Stick & Stone - Interactive 3D www.StickandStone.com doron@(protected)
> -- --Original Message-- -- > From: dir3d-l-bounces@(protected) > [mailto:dir3d-l-bounces@(protected)] On Behalf Of Neto > Sent: Friday, February 27, 2004 2:41 AM > To: dir3d-l@(protected) > Subject: Re: [Dir3d-l] 3d Max Texture burn? > > > As Barry mentioned, there is a small problem with this > approach: export the model again and the > texturecoordinatelist/vertexlist will have a totally > different order, and sometimes even a different amount of > entries. That makes it impossible to play copy the UVs from > a model to another. > > You'll need to do some lingo work to re-order the > texturecoordinatelist from a model so it'll match the other > model. That can be done by checking which faces have their > vertices in the exact same position in both models, and > generate a new texture coordinate list in the proper order. > Such operation can take some time, so it's a good idea to > store the resulting coordlist somewhere (parent scripts, > field members, or in the .userData property of a 3D member), > so you can plain load it. > > You'll also need to "split" the UVs in the destination > model, to ensure there are enough entries in the list to > accomodate all the UVs from the source model. >
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|