For Dummies : Your own terrain with blender

for those who, like me, want to have a simple terrain code working for tests purposes, I propose the following steps after some tries with codes, editors and days to understand, with the help of people here.

1/ Download the chicken exporter for blender :

http://chicken-export.sourceforge.net/

2/ extract the zip file into :

C:\Program Files\Blender Foundation\Blender.blender\scripts

3/ open blender, in the[color=darkblue] “FILE/EXPORT” menu you should now see the egg format.

4/ Now time to edit the terrain :
Select top view, in menu or F7 is quicker

go here to get maps of the shortcuts

http://wiki.blender.org/index.php/Reference/Hotkey_Map

5/ in the top view, scale (press “S”) with left button and “CTRL” to get uniform modifications.
An example could be x=y=z=10.0.

Tip : if your view is not far enough use the mouse wheel to zoom out

6/ now go in [color=darkblue]“OBJECT MODE” (F7), look at the “Object & links” pannels to change the name[color=green] “Cube” into [color=green]“terrain” (case sensitive)

7/ F6 for Texture mode : choose the “Texture type” for Image in the list

8/ at the right end, you can load your image, it’s better to choose the image that will be in the same directory that your egg file.

9/ Save the Blender file, and export the egg file

A good thing could be to choose the “models” directory used for roaming ralph

10/ Now the code part, get it from that post

https://discourse.panda3d.org/viewtopic.php?p=9817&sid=e8d0b7f9f48e82ce18726709ee602d89

11/ you have now to open the exported egg and follow these instructions, knowing that you will change the

self.environ = loader.loadModel("models/terrain1.egg")

by the name of your exported file.

I can’t insert my files here to have an idea of what it can do, as I don’t know how, but it should be easy to reproduce this.

Maybe that will help.