I am working on a space dock in maya and I have not found information on how to format it for Unity. Do I build it as one giant piece and import it in or do I build it piecemeal? I’d appreciate any assistance you guys can offer.
If you export it as one giant piece, the entire object will be drawn each frame even if parts of it are not in the camera’s view frustum. So if you’re looking at the front wall, the back wall will still be drawn. The other thing to consider are pixel lights in that same vein of thought.
Go look at the performance optimization video from Unite 2007. It had good tips on this topic.
It actually won’t be, but the entire object will still be submitted to the graphics card, which does result in a bit of performance loss.
–Eric
Could be a good way to work with references in Maya:!:
… to export buildings of each type in a separate FBX…
… and to create a xml file from maya with all your building position (becauser you probably duplicate similar building a douzen of time in your scene…)
… and then to create xml loader in Unity for instancing your buildings!
This process is better for :
- updating your town if you modify one building in Maya.
- optimisation in your engine about camera frustum culling, occulision culling, LOD, etc…
- Use several time the same small data in your game (will reduce your game package if iphone or online game)
You can also read that, this is very interesting :
And I found that on Unity forum :
http://forum.unity3d.com//viewtopic.php?t=10870&highlight=fbx+loader
(but really lot of Unity user I’m working with will prefer to create everything manually in the engine than creating a boring loader script for Unity … :lol: )