Trees LoDs

Hi everybody,

we are working on a Maya scene that became heavy in particular because we are using lots of trees and stuff like that.

  1. Is there a way to use instance in maya and get all that directly in Unity?
  2. Otherwise, is there a way to automatically compute LoDs for such objects?
  3. Otherwise, is there a way to automatically replace these maya instances in unity?

Please help as it is coming a big problem for us.

Regards.

You should use the terrain editor in Unity for things like that. There’s no real way to automatically convert that sort of scene to the terrain system, so it’s best to do it in Unity to start with.

–Eric

Maybe then it is possible to replace all maya instances with unity trees using a C# script? Do you know any that could do this?

Regards.

Anyone has an idea or an example of a script replacing all “tree transforms” from Maya by Unity trees?

Please help as we have big size issues…

Regards.
K.

I made a wizard a while back to replace game objects. It can’t paint on terrain, but it can replace tree001, tree002, tree003…etc with a prefab of choice.

http://forum.unity3d.com/viewtopic.php?t=28261#178580

Select the objects you want to replace, then go to Replace Selection from the GameObject menu to start the wizard, choose your prefab and any options then click go. If you’re not happy with the results then you can undo.

Thanks a lot!

Best regards.