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

learn more… | top users | synonyms

-1
votes
0answers
28 views

OpenGL - Camera movement have a latch when I move from a cell to another [on hold]

Hello everyone I'm developing a OpenGL game using c++ and GLFW + GLEW libraries. I've generated a terrain from a Heightmap and now I'm trying to move on it calculating the height of the camera (y ...
0
votes
3answers
73 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 ...
7
votes
3answers
236 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 ...
2
votes
1answer
562 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
30 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++){ ...
0
votes
1answer
146 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
1answer
92 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 ...
0
votes
0answers
46 views

3D Noise for Terrain in Chunks

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 ...
2
votes
1answer
263 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 ...
0
votes
0answers
44 views

Getting a part of terrain from a bigger one

So I have a terain of size 8192*8192. And I want to get a part of it as its own terrain. I have created a function that gets height needed for terrain, but it just minimizes the whole terrain. The ...
2
votes
2answers
2k 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 ...
0
votes
1answer
83 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 ...
2
votes
1answer
338 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
56 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 ...
3
votes
2answers
223 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. ...
2
votes
1answer
513 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 ...
5
votes
1answer
710 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 ...
-1
votes
1answer
116 views

How to create a minecraft style world that is based of a heightmap

for my game I am trying to create a minecraft style world that is based of a heightmap that I made In photoshop. I am trying to make the map like 7km and 1 cube is 1m. but i haven't found a way to do ...
3
votes
1answer
171 views

Removing seams between procedurally-generated spherical terrain tiles

I'm working on procedural planet generation project in Unity. To create a sphere, I use the following technique: Create six planes arranged as faces of a cube Normalize all vertices' positions to ...
5
votes
2answers
133 views

Diamond square algorithm

I'm working on generating terrain on already generated landmass. The landmass and ocean around it consist of hexagons. Hexagons aren't really a concern for me, because I can always interpolate the ...
5
votes
1answer
107 views

Adding terrain features to a perlin noise heightmap

I'm currently using Perlin Noise to generate heightmaps and model moisture levels as well as tree density to create terrain (in the form of 2D tilemaps - think dwarf fortress). How can I generate ...
3
votes
2answers
638 views

Working with chunks of terrain

Let's take for example that in our game, we divide our world (1000x1000 tiles) into chunks of 100x100 tiles. Each chunk contains its own npcs, traps, players, items, whatever. Now, there comes to my ...
3
votes
2answers
6k 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
1answer
24 views

Is there a terrain generation method where seed data is stored for each chunk instead of surface data?

I'm a web programmer but I do like the idea of working on games at some point. As an enthusiast, I'm curious: Is there an accepted terrain building practice in which developers create a generation ...
1
vote
1answer
194 views

Difference between terrain and plane

I'm going to make an environment with trees, walls, rocks, mountains and bushes in Unity 3D 5.1 . I don't know what game object suitable for the ground. I have used both terrain and plane in earlier ...
1
vote
2answers
2k views

Slope polygon collider 2D causing box collider 2D to 'bump' while sliding on it

I'm doing procedural terrain generation. So far I've created the mesh, and attached a 2D polygon collider to it. The terrain is made up of hills going up and down. After doing so, I put a 2D rigid ...
3
votes
1answer
93 views

LibGdx 2d Free-Form Terrain

I have a query about how to create a 2d landscape level using libgdx/ box2d (Or possibly with Unity) for Android and iOs. Let me describe the goal and then the specific points I need help with. What ...
1
vote
1answer
61 views

Generate a 2d mesh terain out of triangles (low details)

I'd like to learn a good algorithm to generate a 2d mesh made out only of triangles to be used as a terrain. Its not important to get a high detail terrain. It should just have a triangle looking ...
2
votes
2answers
1k 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 ...
2
votes
0answers
83 views

Ways to get around the limiting default terrain shaders in Unity

I am trying to use the Toon Rim Light shader for Unity however there are a few problems when trying to use any custom shaders for a terrain in Unity. The most well known is of course, that all ...
4
votes
2answers
232 views

Procedurally generate rivers for 2-d heightmap terrain

I created an algorithm to procedurally generate 2d worlds based on a heightmap grid. (I used a 2d simplex noise algorithm mapped on the inverse of the distance of each pixel from the center, to ...
67
votes
5answers
13k views

Implementing a 2D destructible landscape (like Worms)

What steps would be involved in constructing a destructible 2D landscape, like in Worms? Ideally, What are some ways that this process could be made efficient as possible?
14
votes
6answers
8k views

How is a 3d perlin noise function used to generate terrain?

I can wrap my head around using a 2d perlin noise function to generate the height value but I don't understand why a 3d perlin noise function would be used. In Notch's blog, ...
63
votes
6answers
17k views

How can I optimise a Minecraft-esque voxel world?

I found Minecraft's marvelous large worlds extremely slow to navigate, even with a quad core and meaty graphics card. I assume Minecraft's slowness comes from: Java, as spatial partitioning and ...
15
votes
4answers
21k views

How can I make huge terrains in Unity?

How can I make extremely huge terrains in Unity? It seems like I can set width and length to large values. But the Heightmap resolution only goes up to 4097 and the Detail resolution only goes up to ...
8
votes
2answers
5k views

Unity: how to apply programmatical changes to the Terrain SplatPrototype?

I have a script to which I add a Terrain object (I drag and drop the terrain in the public Terrain field). The Terrain is already setup in Unity to have 2 PaintTextures: 1 is a Square (set up with a ...
0
votes
1answer
980 views

Computing uv coordinates on a sphere approximated from an octahedron

Right now I'm texturing the octahedron with the formular from wikipedia(Finding UV on a sphere): UV Coordinates Wikipedia That unfortunately leads to heavy distortion right at the beginning, which of ...
7
votes
2answers
923 views

Hills in a topdown game

I'm making a top down rpg game and was wondering if it was possible to show hills on a map instead of having everything completely flat. I've thought about changing to an isometric view, but if it can ...
2
votes
1answer
152 views

How can I generate an infinite procedural road?

I'm currently trying to make a game where the player races others along an infinite, more-or-less straight, road. By "more-or-less straight", I mean that the road goes straight ahead (the player ...
3
votes
2answers
229 views

How do I pick tiles from an isometric map with slopes?

I'm looking for a way to convert mouse/screen coordinates to isometric map coordinates, with the addition that the world has slopes and cliffs, and I have to be able to tell which quadrant of the tile ...
1
vote
1answer
405 views

Unity3d change texture on terrain at specific vector3 at runtime

I need the terrain texture to change at certain positions depending on where trees etc. are randomly positioned at runtime. I'm struggling to find any solid information about how to take a particular ...
2
votes
1answer
2k views

Unity3d wheelcollider falling through terrain

I have created simple project with 3D car and terrain. I have added 4 Wheel Colliders on model wheels. But when I run project wheels falling through terrain. Before run: After run: I am sure that ...
1
vote
1answer
166 views

Isometric Terrain Editor

I am trying to make an isometric terrain editor. My problem is not to do with making isometric graphics or rendering them, rather it is to do with indexing of tiles. Let's say I'm making a hill at ...
2
votes
1answer
283 views

TopDown Island Generation

I am trying to generate an island using Simplex Noise. To actually make a island shape i used Amitp's answers to the following questions: 1.Fast, simple procedural 2d island generation 2.Generating ...
2
votes
0answers
104 views

Real world terrain import into UE4

I am trying to create a basic game in Unreal Engine 4.8.1 and I wish to have it set in the Dubai, UAE but i cannot find a way that will successfully use terrain data i have obtained (NASA Shuttle ...
3
votes
3answers
199 views

Getting one-point-collision object to conform to uneven terrain while keeping constant distance covered

This is probably best described by image: I have a character. For floor collision, it uses a single point (the red X). When the character moves, it conforms to the terrain; note how the blue line ...
2
votes
2answers
410 views

OpenGL generate hills looking vertices

I want to generate a terrain which looks like hills. Some sort of sine waves. Should be as simple as possible. But I can not figure out how. I get very scary results, which are nothing worth. I need ...
0
votes
2answers
481 views

How to procedurally generate Mountains that Looks more natural

My Terrain was looking a bit plain so to freshen it up a bit I decided to add mountains to the terrain generation. Unfortunately the Mountains don't look very natural with the surrounding terrain. ...
1
vote
1answer
209 views

Mining cubes out of marching cubes

I originally built the start of my game world with a fully minecraft style structure: chunks, only visible faces rendered, noise, etc. Too blocky. I implement marching cubes. Looks great, horrible to ...
0
votes
1answer
277 views

Ground contact point for animated character sprites in an isometric game?

I'm working on an isometric game. I have the 3D pre-rendered sprites for directions per state (walking/running, etc.) per frame. Now I need to know where a particular character stands on the ground to ...