wayneg Posted September 21, 2011 Share Posted September 21, 2011 I'd like to play around with a concept, where one would place a tree on the terrain. The tree would spawn a new smaller tree away from the first, after considering some rules. Kinda like Conway's version of life but using Leadwerks and trees, or other models. Be interesting to see the trees to grow, live and die. I'd also want to cap the population so it doesnt get out of control. What ideas can you suggest to do this experiment ? Quote Link to comment Share on other sites More sharing options...
Pixel Perfect Posted September 22, 2011 Share Posted September 22, 2011 The logic should be quite simple but making your trees look like they are growing realistically is the tricky part. If you could procedurally generate your tree trunks, branches and foliage then that would produce the best approximation, using maybe a fractal type algorithm. Conversely you could substitute in a series of pre sized models over time or simply scale a small model over time (wouldn't look very realistic). A different approach would be forget the models all together and use a billboard with a video of a tree growing and eventually dying (if you can find or make such a thing), these could be spawned easily and simply run through their life cycle. Not really sure how detailed and realistic you want this to be. Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Rick Posted September 22, 2011 Share Posted September 22, 2011 You could use animated trees and just animate them very very slowly. Quote Link to comment Share on other sites More sharing options...
wayneg Posted September 22, 2011 Author Share Posted September 22, 2011 I guess the first part of my question is do I just use loadmodel in LUA script to load a new instance, and will that instance run the lua attached to it ? Quote Link to comment Share on other sites More sharing options...
Rick Posted September 22, 2011 Share Posted September 22, 2011 Yes. At least that's what I do and the scripts attached do run. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.