Jump to content

Procedural Generation of Terrain


Shadow132
 Share

Recommended Posts

everything is possible , but its a question of effort that you put into it.

I dont think the terrain can be edited inside the game itself via code, so you would need to create your own terrain from scratch (in lua or c++ scripts).

I would guess it can be done in the future when theres a newer update of leadwerks

Link to comment
Share on other sites

Actually if i think about that now, you could make some Island parts in a 3d program like blender, save them as a prefab.

Next thing you do is making a script that places those prefabs in a way that it looks like an island

also theres an option in eladwerks that you can make water on a map. use it

Link to comment
Share on other sites

You can manipulate terrain using Terrain:SetHeight(x,y,z,false) with perlin noise.

 

However computing perlin noise in lua is rather painly slow, lua doesn't do complex maths very fast compared C/C++ witch upto hundreds times faster or GLSL by thousands times faster. (yes I've tested) So I'd recommend using C/C++ or GLSL for the noise generation, rest could be done in lua just fine.

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...