some Script for ramdom generate objects(like trees)?

Hi, anyone has a script to:

  1. generate objects(like trees), with position ramdom
  2. on another object(like a terrain)

I can not place the objects manually if the world is big and much trees and for some reason make the 3d view slower( think is the alpha).

And i have a question:
imagine a big world, bge can support thousands polygons, but not for thousands of objects, with a generator or placing the objects manually, much objects individual, make the game slower, how many would be needed to lower the fps?

I have a tree of example(144 faces):


Sorry english! i speek spanish sorry.:smiley:

How to place objects randomly over a large terrain:

  • Use blenders inbuilt particle system to place them (disable gravity though), and then make all the instances real. (pro tip: Use vertex colors to define the density of places objects)

If you have lots of trees/placed objects, you may want to have some sort of LOD system

I use this lod: http://www.blenderartists.org/forum/showthread.php?279952-Multithreaded-Level-of-Detail-amp-Procedural-Loading-High-Performance

Nadie tiene nada que decir…