Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Reproducing trees on a terrain.

Author
Message
Reflux
15
Years of Service
User Offline
Joined: 25th Feb 2009
Location:
Posted: 24th Mar 2009 13:52
Hey guys.. I'm trying to make a "forrest of trees" on a terrain.. but im sick of cloning the object and replacing it.. Is there any way besides making a map to reproduce trees from one point in 3D space to another point in 3D space instead of cloning objects.. I've uploading a screenshot to help you out. Thanks alot.

Attachments

Login to view attachments
silenus
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 25th Mar 2009 12:06
Maybe you should program an map-editor. You place all your trees and other objects on the terrain and store the positions in a file.
When terrain gets loaded in your game you load the position file to an place them automatically
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 25th Mar 2009 12:42
I would try this one:

dark coder's foliage library

It comes with full code & examples. Awesome performance and cool visuals

Login to post a reply

Server time is: 2024-09-30 21:38:37
Your offset time is: 2024-09-30 21:38:37