Combining Materials in an .x file
I think Im being a tad dumb here. I want to combine meshes that use the same materials together to form a single mesh (thats in a frame heirachy in a .x file).
Now Im sure its easy enough to do if I manually parse the .x file. Find the meshes, load seperately, check for their materials etc. I was just wondering if there is a function or technique to either
a) run through the file and combine duplicates automatically
or
b) combine two meshes together (so I can parse through and let a function combine two meshes vertices, uvs, normals, faces together etc).
Or do I need to write my own stuff (not really a problem but Im working to a deadline and would idealy like to get done as quickly as possible :) ). It just seems something like that has probably already been done somewhere and Im just too dumb right now to find it :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement