<p>I tried finding a python script in google that will generate a random terrain when the game starts (or each time a the player advances to a new scene) but all the tools I found are for creating a terrain to render it, not for the game mode.</p>

<p>Any idea how/where to find one?</p>

<p>(I'm assuming that since Blender3D has game programming capabilities, it is OK for someone to ask in SO)</p>

[{'answer_id': 35119, 'author': 'Jared Updike', 'author_id': 2543, 'author_profile': 'https://Stackoverflow.com/users/2543', 'pm_score': 2, 'selected': False, 'text': '<p>Is this link related?</p>\n\n<p><a href="http://blenderartists.org/forum/showthread.php?t=77794" rel="nofollow noreferrer">http://blenderartists.org/forum/showthread.php?t=77794</a></p>\n\n<p>To generate terrain (height map) the algorithm is pretty simple (fractal plasma), something like this algorithm (Java):</p>\n\n<p><a href="http://www.sinc.stonybrook.edu/stu/jseyster/plasma/" rel="nofollow noreferrer">http://www.sinc.stonybrook.edu/stu/jseyster/plasma/</a></p>\n\n<p>If you Google search for "fractal plasma python" you might find some example code.</p>\n'}, {'answer_id': 69329, 'author': 'DJ Capelis', 'author_id': 10943, 'author_profile': 'https://Stackoverflow.com/users/10943', 'pm_score': 0, 'selected': False, 'text': '<p>You should be able to reprogram most of the python scripts available to generate terrain for rendering to generate terrain for your game... is there a specific thing you <em>need</em> from the script to make it suitable for realtime gameplay instead of a static render?</p>\n'}, {'answer_id': 175494, 'author': 'pypmannetjies', 'author_id': 25280, 'author_profile': 'https://Stackoverflow.com/users/25280', 'pm_score': 2, 'selected': False, 'text': "<p>I've not really worked much with the game engine, but how about generating a random cloud texture and using that to displace the model? Wouldn't that be easier?</p>\n"}, {'answer_id': 21053181, 'author': 'Aras Team', 'author_id': 2781749, 'author_profile': 'https://Stackoverflow.com/users/2781749', 'pm_score': 0, 'selected': False, 'text': "<p>Simplest way to achieve this is to cheat a little. Instead of actually generating random terrain make a random cloud texture (not sure how to do that with phyton) and then make the displace modifier use that texture and that's it! I'm not sure how easier it could be.</p>\n"}]
['https://Stackoverflow.com/questions/31834', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2644/']