Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Procedurally Paint Trees

Discussion in 'Editor & General Support' started by amherst, May 4, 2009.

  1. amherst


    Dec 9, 2008
    Is there any documentation on how to procedurally paint trees in Unity 2.1 or Unity 2.5? i.e. rather than using the terrain editor to manually place trees throughout the terrain, I want to populate the terrain with trees through scripts which base tree populations on other data.

    I've found one unanswered recent posting about this:

    A Sept 2008 reply to says that at that point it was possible to paint trees on a terrain using scripts but that it uses undocumented APIs. Does anyone know if these APIs have been documented yet?

    If it's not possible to procedurally populate a terrain with trees, can anyone suggest a work around for this? I'm trying to build a forest that is generated based on mathematical models of tree populations. I'd really like to use Unity for this project. I'd been using Multiverse but it has other issues that I'd like to avoid.