Tagged Questions

90 views

2D terrain with midpoint displacement and collision

I followed this theory Here to implement a simple scrolling 2D terrain for my running game. I am used to dealing with collision via a tile system but am looking for a good theory on how to perform ...
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 ...
343 views

XNA seams between 3d primitives in tiled terrain

Every time I draw two primitives side by side, in this case two quads, I always get this seam-like tearing effect right along the sides of them. I'd like to think there is just an easy fix, but the ...
2k views

Smooth Voxel Terrain

As a personal project, I'm trying to make a terrain generator that will create terrain looking something like the Castle Story smooth terrain. If you haven't seen it before, here: So as you can ...
1k views

2D Tile Game - Smooth Biome Terrain Transitions

While working on my 2D tile based game, I encountered a problem. I use Perlin Noise to generate the terrain. Some biomes (Desert, Forest, etc) have different flatness values depending on terrain, ...
2k views

3D terrain map with Hexagon Grids

I'm working on a hobby project (I'm a web/backend developer by day) and I want to create a 3D Tile (terrain) engine. I'm using XNA, but I can use MonoGame, OpenGL, or straight DirectX, so the answer ...
804 views

Infinite 2D Terrain

I was wondering how to create infinite 2D platform terrain. I've read about perlin noise and I have an idea I'd like to illustrate below. However, I have no idea how to achieve this. Are there any ...
213 views

Creating a vertexbuffer to define vertices arranged in a grid with the view for easy editing later

I'm using the marching square algorithm (2D version of marching cubes) to generate vertices. I end up with vertices arranged in a grid. I want to enable destructible terrain, and the way i was ...
865 views

Non-GPU Noise for 2D side-view terrain generation?

I really couldn't find a correct answer while scowering all the forums for Noise Generation. My goal is simple, I really want to have two distinct layers for my terrain, a white layer representing ...
4k views

Terrain Generation for Tile-Based 2D Platformer

I'm currently working on a tile-based 2D platformer similar to Terraria in some ways, although I'm having difficulty with the terrain generation. I have some basics done, although they do not come out ...
836 views

Optimizing perlin noise generation

I have a perlin noise generator as shown below. public class ImprovedNoise { private const int GradientSizeTable = 256; private readonly Random _random; private readonly double[] ...
961 views

Alternatives to distance fog

I'm looking for some ideas/algorithm name for alternative to distance fog. I'm playing around an "infinite" terrain engine. I can't draw the whole map because there are no borders and I don't like ...
8k views

Generating island terrains with Simplex Noise (C#/XNA)

I've got one little question: Is there any code or sample which shows how the simplex noise works? I cannot find anything about it... How should I implement it, without the knowledge how the algorithm ...