3
\$\begingroup\$

I used this script to generate a few buildings that I was hoping to import into UDK. Each building is made of about 1000 separate objects. When I export a building as FBX and import the file into UDK it breaks it up into its individual objects again, so I was wondering how I would avoid this. Whether there was a tool to combine all of the objects into one mesh automatically before exporting or if I could prevent UDK from breaking them upon import.

\$\endgroup\$
1
\$\begingroup\$

One way would be to have one building in your scene visible (hide everything else)

Then convert one of the pieces into an editable poly - then click the box next to add, and pick all the pieces in the box. This will make one editable poly.

I would recommend removing the xform and placing the pivot to the base of the building to help with importing.

BUT this method will not remove the inner poly's of all the buildings, for that you would need to edit all the objects individually and stitch them together. I think it would be quicker to build them from scratch, but use the buildings you generated as reference.

The inner poly's will vastly increase the total polycount of each building and will generally be a waste of memory. So it would be better to optimize in the long run.

| improve this answer | |
\$\endgroup\$
1
\$\begingroup\$

Actually, UDK now has a "Combine Meshes" setting on the import settings, check that and you're probably ok.. I lose some materials once in a while, but then again, my UDK has shown some unheard-of problems, so it's probably just me. Another choice would be to combine them within the 3D editing program before exporting.

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.