Information

Author:
    Xemrel
Rating:
    9.0 (3 votes)
Type:
    Example
Language:
    GM 6
Reviews:
    None
Submited:
    April 03, 2006
Dev - DB/form (refering to updated - check code)
Download:
    DOWNLOAD (745)
Dev - make AJAX
Screenshots (3)
Dev - Also, on form submission, use GD to resize the image as a new thumbnail file
Dev - In the submission form, you can now upload a banner image
3d Terrain Generator
3D Terrain Generation
TaleriaKNT@Veloren.Com
http://www.veloren.com






<b>Mouse Controls</b> - A red star (<font color="#FF0000">*</font>) preceeding an action indicates that is will cause the terrain to be regenerated.
<code>          +-----------------+--------------------+-------------------+
          |     Left Button |      Middle Button |      Right Button |
+---------+-----------------+--------------------+-------------------+
|  Normal |     Move camera |        Zoom camera |     Rotate camera |
+---------+-----------------+--------------------+-------------------+
|     Alt |      Move light |        <font color="#FF0000">*</font>Alter time | Move/Change water |
+---------+-----------------+--------------------+-------------------+
|   Shift | <font color="#FF0000">*</font>Move landscape | <font color="#FF0000">*</font>Stretch landscape |   <font color="#FF0000">*</font>Augment height |
+---------+-----------------+--------------------+-------------------+</code>

<b>Keyboard Controls</b> - A red star (<font color="#FF0000">*</font>) preceeding an action indicates that is will cause the terrain to be regenerated.
<i>[F1]</i> : Display this text.
<i>0-9</i> : <font color="#FF0000">*</font>Choose between various terrain types.
<i>I</i> : Display information about settings and time taken for renders.
<i>C</i> : Center the camera.
<i>E</i> : <font color="#FF0000">*</font>Toggle evolution.
<i>S</i> : <font color="#FF0000">*</font>Toggle smooth lighting.
<i>Up/Down</i> : <font color="#FF0000">*</font>Increase or decrease the number of octaves used during generation.
<i>Right/Left</i> : <font color="#FF0000">*</font>Increase or decrease the detail setting. (ie: How many times the land should be subdivided.)
<i>[esc]</i> : Quit the program.

<b>What the Options Mean</b>
<i>Terrain Type</i> : Many different effects can be created by combining various landscape generators. If you wish to experiment with creating your own, take a look at the generate_point script.
<i>Evolution</i> : If this is enabled, the terrain will automatically be regenerated with a slightly higher z value for each frame. This can be used to simulate the passage of time. A change in z coordinate greater than 1 will result in completely different landscape. Only very small increments would normally be used.
<i>Smooth Lighting</i> : If this is enabled, then the mesh will use per-vertex shading rather than per-face. This is disabled by default, since it approximately doubles the time needed to generate the landscape.
<i>Octaves</i> : This has to do with the Perlin Noise that's used to actually generate the landscape. The higher the number, the more detail there will be in the noise (though if there are not enough polygons, this detail will not be seen fully). Typically, a value around 7 is sufficient, though interesting effects can sometimes be created by lowering the value. Normally (ie: in most languages), this would be one of the biggest factors involved in the speed, but because GML is so slow, this actually makes little difference compared to detail (see below).
<i>Detail</i> : This is the number times the polygons will be subdivided during creation of the landscape. The higher the number, the more polygons will be used to create the landscape. Bear in mind that this can get out of hand very easily. Each time the detail is increased by one, there are approximately four times as many polygons, and it can take around ten times longer to complete the generation phase. It is suggested that you spend most of your time at low detail levels. Then once you find an interesting looking spot, turn the detail up.


Target platforms:



Dev - Warning
Dev - After editing rating, make rating display change
Dev - When editing, update "edited" column
Dev - Restore deleted comments
Dev - Display deleted comments if mod (hidden, then with dropdown)
Dev - After deletion or during edit, make rating dropdown appear again
Dev - Stricter rating rules. Prevent user from rating again
Dev - Pages
Dev - Reporting
Wow, that was really good!
Posted by melee-master April 03, 2006 18:24 - 7.2 years ago
| [#01]

ZOMG WTF BBQ!!!
Needless to say, but I'm gonna say it anyway... Damn cool man!
Posted by membrain April 03, 2006 18:58 - 7.2 years ago
| [#02]

cool
Posted by DSG April 03, 2006 20:41 - 7.2 years ago
| [#03]

Wow, really fun to watch the evolution. =P
Posted by firestormx April 04, 2006 19:54 - 7.2 years ago
| [#04]

I had no clue GM could make terrain that looked this good.
Posted by drspazz April 06, 2006 4:50 - 7.2 years ago
| [#05]

Thanks, all, for the nice comments. ^_^
@drspazz: It did have some help from my DLL for that. Technically, it <i>could</i> be done without a DLL, but it would take forever to calculate it even at the lowest quality settings.
Posted by Xemrel April 06, 2006 19:31 - 7.2 years ago
| [#06]

OK I gave it a -/10 I'm not even going to rate this! This was like the blue screen of death with a 3D Peice of Land! It slowly crashed my PC! And dont say my PC is bad! 1 year old and just wiped!
Posted by KraZKat July 14, 2006 2:31 - 6.9 years ago
| [#07]

Good, but it's a pity it uses a DLL.
Posted by Jesper September 02, 2006 16:13 - 6.8 years ago
| [#08]

200th dl! YAY
Posted by Az September 22, 2006 2:46 - 6.7 years ago
| [#09]

not bad
Posted by DevonX September 29, 2006 21:31 - 6.7 years ago
| [#10]

Very nice.

-Flea
Posted by Flea1991 December 08, 2006 11:21 - 6.5 years ago
| [#11]

Code
+-----------------+--------------------+-------------------+
          |     Left Button |      Middle Button |      Right Button |
+---------+-----------------+--------------------+-------------------+
|  Normal |     Move camera |        Zoom camera |     Rotate camera |
+---------+-----------------+--------------------+-------------------+
|     Alt |      Move light |        *Alter time | Move/Change water |
+---------+-----------------+--------------------+-------------------+
|   Shift | *Move landscape | *Stretch landscape |   *Augment height |
+---------+-----------------+--------------------+-------------------+
Posted by noshenim July 18, 2007 22:30 - 5.9 years ago
| [#12]

too slow...
Posted by Melancor July 30, 2007 5:24 - 5.9 years ago
| [#13]

Recent Activity
 
Active Users (0)