Used to describe the physical geography of a location. This can include elevation, slope and orientation of features.

learn more… | top users | synonyms

2
votes
1answer
626 views

Using PhysX, how can I predict where I will need to generate procedural terrain collision shapes?

In this situation, I have terrain height values I generate procedurally. For rendering, I use the camera's position to generate an appropriate sized height map. For collision, however, I need to have ...
2
votes
1answer
49 views

Terrain Collision problem

I'm trying to implement terrain collision for my height map terrain, and I'm following this. The tutorial is for java but I'm using C++, though the principles are the same so it shouldn't be a problem....
2
votes
2answers
79 views

Is there an existing algorithm to find suitable locations to place a town on a heightmap?

I've been experimenting with random generation of a "map" with the intention of building a basic sort of procedural map generator. Generating a reasonable heightmap using libnoise hasn't been that ...
3
votes
1answer
404 views

Proper updating of GeoClipMaps

I have been working on an implementation of gpu-based geo clip maps, but there is a section of the GPU Gems 2 article that I just can't seem to understand, specifically this paragraph, and more ...
1
vote
1answer
125 views

Making Cave system in Unity 5

I know there are many threads about this but none of them seems to work for me and I spent like 2 days already on that problem. Things that I've checked: http://wiki.unity3d.com/index.php/...
0
votes
0answers
17 views

terrainData.SetAlphamaps slows unity game

iam using terrainData.SetAlphamaps() function for changing texture of specific part of terrain in update which is like my player moves and i get its transformation and map the texture at corresponding ...
2
votes
1answer
741 views

Voxel (Marching Cubes) Terrain Creation / Terrain Editing

im working on a voxel based game in unity. the terrain(sphere-->planet) should be out of voxels and at first i built a minecraft like voxel plugin for unity. this means that i had a sphere out of ...
0
votes
0answers
15 views

Hi! How do I do optimized raytracing on a ds_grid heightfield terrain?

I want to do optimized ray tracing, the terrain is a grid, each gridcell has 2 triangles with vartiable z. What's the most optimum way for raytracing collisions? This site has the answer but it won't ...
0
votes
0answers
20 views

Passing heightmap data to btHeightfieldTerrainShape constructor

I was searching for a couple of hours, but I didn't find final solution, after trying many ways. I'm trying to get heightmap heights data, and pass it to btHeightfieldTerrainShape. Let's say my ...
0
votes
1answer
29 views

Mesh Chunk Combining and Extruding

So I'm working on a proceduraly generated level, that is composed of multiple chunks, so you don't go over the maximum amount of verts allowed in Unity Meshes. Another function is the ability to ...
0
votes
1answer
58 views

Unity - Exporting and Importing Terrains

To provide modding support via Unity editor, I need to export terrains in editor and load the exported terrain in runtime. Is this possible by any manner?
5
votes
1answer
191 views

How do I perform interpolation between noise values sampled at a lower resolution?

I'm doing some experimentation with terrain generating using a method similar to that described in this blog post by Markus Persson, where I use 3D simplex noise as a "density" value. Like him, ...
1
vote
1answer
62 views

Terrain rendering using Geometry Shader

my idea is render an entire terrain based on heightmap using geometry shader, i am parsing only one point per quad of terrain with the heights of the corners, however for some reason i am not being ...
1
vote
0answers
47 views

Regional Variation with Perlin Noise

I used Game Maker to construct a 3D terrain using Perlin Noise. Since I wanted to create an island, I set the noise function to return a value between 0 and 128. Then I checked each point and ...
1
vote
1answer
38 views

Modify texture of sepcific area of Terrain in unity

I am developing a farming simulator 3D game in unity. I have a crop field on terrain which is actually a texture paint in square to show a crop area, and i have to perform sowing (prepare field for ...
6
votes
3answers
5k views

Map tile terrain transitions with 3-4 different types

Making transitions between two different tiles is a fairly well understood problem. The easiest way is to look at the 0.5, 0.5 and use the resulting 4 corner points to select a transition tile, as ...
0
votes
0answers
24 views

Hills / Rounded Terrain Generation in libGDX

I'm trying to make a game that has rounded 2D terrain like hills, etc. Im familiar with creating and rendering 2D Rectangles using the ShapeRenderer, but i need some "Get Started"-Help on how to ...
69
votes
5answers
19k views

Huge procedurally generated 'wilderness' worlds

I'm sure you all know of games like Dwarf Fortress - massive, procedural generated wilderness and land. Something like this, taken from this very useful article. However, I was wondering how I could ...
4
votes
2answers
2k views

Unity3D: Efficiently loading chunks in an infinite voxel engine

I'm developing a voxel engine in C# using Unity and I'm currently trying to implement infinite terrain, so I took a look at other Unity voxel engines that have infinite terrain. I've seen three ...
0
votes
1answer
40 views

How to remove terrain in 3d? [duplicate]

After the release of Minecraft I saw more and more rip offs of the game but some actually began to change it up a bit making the game have a organic look instead of the iconic blocky one that ...
0
votes
0answers
29 views

Access Terrain data more efficiently

I'm developing an editor tool for terrains. I want to do some calculation every time the terrain is modified by user. Currently I get heightmap with these: TerrainData tData = SketchTerrain....
0
votes
1answer
35 views

Calculating a matrix to have the model follow terrain

So I've been messing around with 3D graphics in Java (using lwjgl), and I've hit a bit of a roadblock. I have a heightmap and a cube, and I want to find a way to have the cube rotate to follow the ...
2
votes
1answer
47 views

Normals showing unexpected results

I am making a game in c++ with opengl and glm and was working on my terrain when this happend : as it appears it is renderering just the way i planned it, but my question was, how do i make it ...
0
votes
1answer
45 views

Terrain not rendering like it should be

i was following this tutorial here: https://www.youtube.com/watch?v=yNYwZMmgTJk, in which i was translating from Java to C++ to generate a terrain, and stumbled across this issue: As it appears, it ...
5
votes
0answers
117 views

Diamond-Square algorithm output is random and noisy

I have implemented a rough interpretation of the Diamond-Square algorithm in C++ to create some semi-realistic fractal terrain, but the output just seems like a random y value at each point rather ...
0
votes
1answer
200 views

How can I generate 3D noise in chunks for terrain?

I'm trying to create a voxel engine that uses marching cubes to create smoothed terrain. I have most of it implemented, but I'm struggling with how I should create a noise function in three dimensions....
15
votes
4answers
9k views

Which data structure should be used to represent voxel terrain?

According to the Wikipedia page about voxels, "[...] the position of a voxel is inferred based upon its position relative to other voxels (i.e., its position in the data structure that makes up a ...
-2
votes
1answer
88 views

Terrain making in unity [closed]

I'm making a minecraft-like game, I'm trying to make a terrain made of cubes, but copying and pasting the same cube takes too much time and uses too much of my pc's RAM. So, any suggestions?
2
votes
0answers
42 views

How to smooth low-res sampling of noise for voxel terrain

I am attempting to create a new terrain generator as part of a minecraft mod, which works very well if it samples at the full terrain resolution (16x256x16 voxels per terrain chunk). This is extremely ...
1
vote
1answer
73 views

Implementing black map in a 3d game

I am struggling with designing black map and fog of war in a 3d game. Black map is the area that player hasn't explored (completely unknown), while fog of war is the area that player has explored and ...
1
vote
2answers
120 views

Terrain for MMORPG

Im new in game development. I read some papers about LOD and they were always using heightmaps. I got the basic idea what is LOD and what it solves, but yet i am still not sure i understand what i ...
16
votes
1answer
188 views

Flowing GPU compute water

I have a civil engineering background and perform hydraulic and hydrologic analysis' regularly. They sell degrees for that sort of thing, but it's really not rocket science. I recently got it in my ...
0
votes
1answer
103 views

Would Raycast suffice for a game clock based on sun position?

I need help with some logic in my script. I created a dynamic day/night cycle that works fine in itself, but I want to add a game clock that works off the initial position of the sun (Directional ...
4
votes
2answers
752 views

How to place grass on custom terrain mesh

I made a custom terrain mesh and textured it, now I want to place grass on it, but I don't know how. I only find info about grass with the unity terrain. I am not even sure what exactly to look for. ...
4
votes
1answer
208 views

How do I generate random mountains in a sidescroller?

So I'm trying to make a simplified Terraria style world using Perlin noise. I got that working and the terrain is randomized. However the terrain always looks like like a weird cosines curve. Hills ...
0
votes
3answers
115 views

How To generate spiky terrain in 2D?

I am learning game design, and wanted to know how one can automatically generate spiky terrain (something like this: Cavernaut, notice, the terrain at the sides?). I have heard about midpoint ...
4
votes
2answers
240 views

How does one generate mountains out of a Fourier transform?

I am watching this IGN video of No Man's Sky in which the founder/programmer of this game talks about how different is his game from other games. Here he talks about how mathematical equations instead ...
0
votes
0answers
70 views

Unity 5.3.1: Black spots on terrain after applying normal map

When applying a normal to a terrain texture and elevate the area, I see blackness on the side the light is shining. Any idea what is going on here? Here you can see what i mean (added cube to show ...
0
votes
1answer
174 views

deformable terrain

I'm currently working on a 3d sandbox mmo and would like to know what would be the best way to store the terrain of the world. I was thinking about making some kind of mesh, like the kind you would ...
3
votes
2answers
7k views

2D and 3D Perlin Noise Terrain Generation

I'm using 2d perlin noise to generate a heightmap and then adding 3d perlin noise to the heightmap to create overhangs and ridges. But it's not turning out like I would like it to. There are too many ...
1
vote
0answers
48 views

Map generation, issues with midpoint displacement algorithm

I'm trying to generate an endless 2d terrain. So the terrain isn't random per say as the random function I'm using is a hash based on an X,Y coordinate. static public float rand (System.UInt32 x, ...
0
votes
1answer
128 views

Custom Terrain Shader Normal Map Issue?

I've been developing a custom terrain shader in Unity. And I've been having problems with my normal maps. Even after hours of fiddling I still haven't fixed it yet. There are 2 noticeable issues: 1. ...
0
votes
0answers
23 views

JAVA lwjgl 3D Quadmap engine help

I've been trying to make a custom generated level engine that creates a custom flat surface. With my current knowledge of vertices and indices i have successfully created a rectangular surface. My ...
7
votes
3answers
261 views

Why can't I patch my procedural terrain together?

I figured out how to implement a midpoint displacement algorithm to generate a map for my game. I wanted to create an infinitely large world, so I tried to patch two maps together, but they didn't ...
0
votes
0answers
63 views

Java lwjgl 3D custom terrain shape

I have a Terrain class that generates a terrain with 2 nested for loops, one for vertices, and one for indices. for(int i = 0;i < WIDTH;i++){ for(int j = 0;j < HEIGHT;j++){ ...
4
votes
1answer
197 views

How to achieve a layered terrain simlar to Godus

I'm currently playing around with a few examples and techniques for terrain generation and suddenly remembered the game Godus - seen below. Youtube clip of Godus Looking at the material above, it ...
2
votes
1answer
318 views

How can I more efficiently paint grass onto a large terrain object in Unity?

I'm trying to paint a grass onto a large terrain and I want it to cover the entire terrain. Since the brush size can't go past 100 it would seem that I'm stuck painting the entire thing with a small ...
3
votes
2answers
3k views

How to create a walkable 3D terrain

I want to make a terrain for a RPG game that I'm developing. I started modeling the surface and implementing it to my game, but now I realized that i might be doing everything wrong. So I would like ...
1
vote
1answer
108 views

Heightmap terrain picking

I've implemented an OpenGL based terrain unsing a tesselation-shader for dividing each 'terrain-cell' into the desired tiles. The heightmap is uploaded to the GPU and applied on the shader. When it ...
5
votes
1answer
786 views

How to march tiles together like in Terraria?

I've been trying to get tile marching to work like in Terraria, and I got something to work. I don't think it's actually very good way of doing this, so I'm wondering what would be really the main way ...