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
54 views

How to store an array into a texture and sampler the texture in vertex shader correctly?

I'm a new learner about OpenGL and GLSL. I'm coding a program in which i wanna store a group of datas in a texture and get the data by sampling the texture in vertex shader. Then i want to set the ...
1
vote
0answers
85 views

How do I load real-world map terrain? [duplicate]

I'm new to game development and want know how to make or load a terrain from OpenStreetMap or Google Maps in your current city. (I'm using Unity3D.) My idea is just load or generate a map of the ...
0
votes
0answers
36 views

Tips for density terrain function (using Marching cube) [duplicate]

I've just implemented the marching cube algorithm and tried it out with some different functions for the density, and I think it's working! Ex) density = -v.y + sin(-v.x) + sin(-v.z) But I can't ...
1
vote
0answers
128 views

Infinite terrain techiniques

I am currently making a procedural (Noise based) terrain. So, i have tried multiples approches : 1: Generate one big plane, and update vertices when player move to the plane edges 2: A terrain ...
0
votes
0answers
42 views

How to properly paint terrain - Cryengine

I'm making a game in Cryengine ( just for learning purposes ) and i'm trying to paint a terrain, i've downloaded a free seamles texture then i added it as a layer texture and asigned the mud ...
7
votes
3answers
195 views

Terrain & Multi-Texturing

I'm using OpenGL (Version 4.4) (and C++ if that matters). I've created a terrain renderer, the terrain is stored as a 3D scalar field (isosurface/voxels). It uses a slightly modified version of ...
2
votes
0answers
72 views

What's the state of the art in biome generation? [closed]

That is, given a terrain + seas, what are the most advanced approaches available, for game dev, for generating the climate and hence biomes for various areas of the terrain? Are there tools that, ...
6
votes
1answer
233 views

How can I generate random maps that feel like Age of Empires II random maps?

I like the way Age of Empires II generate random maps turned out (good variety, decent biome transitions, maps felt random without feeling chaotic), but am struggling to replicate the style. I've ...
0
votes
2answers
113 views

Rendering terrain only with GPU

This is not about generating plane geometry and then applying a shader on it. Instead, I want a big single flat plane, then apply a shader on it. The vertex shader has a uniform vec3 ...
0
votes
0answers
32 views

How best to apply Quad-tree based LOD to terrains loaded in a paged fashion?

I am working on a game that has a fairly large outdoor terrain. Since I need to load parts of the terrain into memory based on view distance, I have split the terrain into a grid where each cell is a ...
6
votes
1answer
177 views

Square Grid Polygonal Terrain Query algorithm?

I have a square, fixed-grid terrain with one terrain type per grid unit in my game, and I want to do an arbitrary polygonal terrain query which returns all of the grid units enclosed/intersected by ...
1
vote
1answer
97 views

Unity seperation of prefabs with two dimensional terrain generation

I have the following function: public void Spawn () { GameObject g = ((GameObject)Instantiate (hills [Random.Range (0, hills.Length)], new Vector3 (0.0f, ...
0
votes
0answers
48 views

JMonkey Engine. Using 2 Alpha Maps for Texture Splatting

I am trying to apply more than 3 Diffuse textures to my terrain, but ive been running into issues: A lot of the Texture loading etc is The same code over and over, so its not much to read. Ill ...
0
votes
1answer
146 views

2D to 3D perlin noise, I'm not sure I get it

I've been using 2d perlin noise to generate height maps for a little isometric terrain experiment. The noise value is directly related to the z-layer a tile will appear in: Math.floor(noise * 10). ...
4
votes
1answer
166 views

What is the role of tessellation in terrain?

I'm relatively new to graphically programming and I've been looking into ways to render larger heightened terrain. I keep seeing comments directing me to disregard things such as geometry clipmaps, in ...
0
votes
1answer
74 views

How do I change the size and specific height values of Unity generated terrain?

I'm having problems with terrain scripting while trying to do a infinite-world with Unity's terrain generation. How do I change the terrain height at specific points? And how do I set the amount of ...
0
votes
0answers
236 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 ...
1
vote
0answers
296 views

How can I make caves with Unity's terrain creator?

With Unity's terrain creator, I can't simply make a "hole" on the mesh. I don't know how I would make cave-like structures other than using "rock" meshes for the roof (wich will indeed look weird) ...
1
vote
1answer
414 views

How to crop or mask a sprite to a specific shape in Unity (2D)?

I'm trying to do a procedural 2D terrain generation. I've managed to make the function to generate the points, and I've been testing/debugging by creating the terrain using a 2D polygon collider on an ...
4
votes
1answer
136 views

How to vectorize a raster image edges into SVG paths?

I'm having a lot of trouble figuring out how to convert a 2D list of points into an SVG Path representing a political map border. I have completed all parts of a 2D terrain generator, including ...
0
votes
0answers
32 views

Wrapping 3D noise functions like simplex and perlin in c# [duplicate]

I'm experimenting with loop-able worlds that have a height-map for terrain data. While I can easily create loop-able .BMP textures for this in Photoshop and just load the terrain from them, but that ...
2
votes
1answer
214 views

Procedurally Generated Structures over large quantitys of chunks in 3D Terrain Generator

I am creating large scale worlds using 16*16*16 voxel chunks which are stacked up to 32*32*32 in dimensions and I have hit a bit of a Bump in the road so to speak. I want to create large structures ...
0
votes
1answer
122 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 ...
3
votes
1answer
158 views

Planet sized quadtree terrain precision

I've been working on a planet sized and shaped terrain lib for a while (In webgl and Unity) and have a couple of working implementations [Quadtree cubesphere and circular clipmaps]. But both of them ...
1
vote
1answer
215 views

How can I calculate a terrain's normals?

Im trying to implement basic lighting in Opengl 3+ (a sun) with this tutorial : http://www.mbsoftworks.sk/index.php?page=tutorials&series=1&tutorial=11 Im building a basic terrain and its ...
0
votes
1answer
51 views

Height map renders upside down and/or backwards

After following the tutorial found here:http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/VertexBuffer_and_IndexBuffer.php The code at the bottom of this page is what I am using. (I have ...
1
vote
2answers
167 views

Perlin Noise Help

Okay so I have been trying to make perlin noise, fractal noise to be specific, with mixed success. What I do is I fill 5 arrays with white noise, basically just floating point values. Each array is ...
0
votes
1answer
107 views

Help with concrete examples of Perlin Noise variables for terrain generation

I believe this question can help beginner game developers. I've looked through a dozen or so answers on perlin noise here and on Stackoverflow, and found only 1 concrete implementation of perlin noise ...
5
votes
2answers
223 views

Do I need multiple perlin noise generators for different features in terrain generation?

I have a simple perlin noise algorithm in my 2d game, I feed it x and y location of a tile and get some value between 0 and 1. I then use a bunch of if-else statements to break these numbers into ...
0
votes
1answer
103 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 ...
1
vote
2answers
121 views

Perlin Noise Variations

Currently I'm making a voxel survival game. About a month ago I embarked on procedurally generating terrain using Perlin noise. I understand how to use and apply it for the most part. However I do not ...
3
votes
4answers
228 views

Dynamic Terrain Triangulation

Is there someone who know/have an algorithm which can perform terrain triangulation like on the example image right under (there is a secondary image as well). The reason I say "Dynamic" is because I ...
0
votes
1answer
124 views

fragment shader directional light positioning with camera

Im trying to set up directional lighting in the fragment shader. So the direction of my light moves with the camera position. #version 150 core uniform sampler2D diffuseTex; ...
2
votes
1answer
336 views

Finding Z given X & Y coordinates on terrain?

I need to know the most efficient way of finding Z given X & Y coordinates on terrain. My terrain is set up as a grid, each grid block consisting of two triangles which may be flipped in any ...
8
votes
2answers
365 views

What are some ways to texture map a terrain?

I'm working with XNA on a 3D Game, and I'm trying to have a proper and nice environnement. I actually followed a tutorial to create a terrain from a heightmap. To texture it, I just apply a grass ...
1
vote
1answer
214 views

Infinite terrain shadows

I'm creating an infinite terrain engine, which generates the terrain either with fractals or noise. How can I make dynamic shadows for the sun on this terrain, if I don't know in advance what will be ...
1
vote
2answers
500 views

In GLSL is it possible to offset vertices based on height map colour?

I am attempting to generate some terrain based upon a heightmap. I have generated a 32 x 32 grid and a corresponding height map -> In my vertex shader I am trying to offset the position of the Y ...
2
votes
0answers
57 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 ...
2
votes
1answer
311 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 ...
2
votes
2answers
159 views

What is “terrain mesh generation” exactly?

I'm new to computer graphics and need to know and understand what the "terrain mesh generation" is? I read about "terrain", "mesh", "terrain generation" but can't find an article named "terrain mesh ...
2
votes
1answer
278 views

How can I clean up and smooth out procedurally generated terrain?

I am experimenting with procedural content generation, and starting with generating terrain from fractional brownian noise. The terrain produced looks fairly realistic, but has many artifacts and ...
1
vote
1answer
515 views

Marching Cubes Terrain [closed]

For the past week I've been researching the Marching Cubes algorithm. I hope to use this for Terrain as it would allow the creation of destruction of terrain. After looking at source code and reading ...
4
votes
4answers
355 views

Wall penetration

I have a terrain with geometry that is fairly ridged. I needed to make sure the player didn't enter the world geometry, so I used sphere-triangle intersections (after narrow down of which tris to ...
1
vote
2answers
488 views

Procedual terrain generation and biomes/predetermined variation

So I already have some (currently 2D possibly 3D later) simplex noise generation going, and with some experimenting I can make a map for plains, hills, mountains, etc The problem now is I want to ...
9
votes
1answer
546 views

Generating terrain on GPU

In my engine I create infinite terrain with usage of Perlin noise alghoritm computed on CPU. Creation of terrain goes like this: If camera is near unloaded patch, create it Compute 513x513 noise ...
2
votes
0answers
139 views

Chunk Texture3D GPU generated vertices

I read GPU Gems 3 from NVidia about procedural terrain. It's quite interesting but not applicable for me because I only read the online version without the shipped DVD so I'm not able to download the ...
-1
votes
1answer
240 views

How is destructable terrain made in SDL?

I'm looking for terrain that gets removed in chunks (like in Worms, of instance). How do you do this in SDL?
1
vote
1answer
2k 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 ...
6
votes
2answers
2k views

Voxel Face Crawling (Mesh simplification, possibly using greedy)

Edit: This is just for my own learning experience, it is NOT for performance reasons that I ask this question. This is in regards to a Minecraft-like terrain engine. I store blocks in chunks ...
2
votes
3answers
1k views

Unity map size limit?

Does Unity have a map size limit and if there is what is the limit? Is there a way to work around it? I am making a open world zombie survival world and I want to make a really big map. Thanks!