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

learn more… | top users | synonyms

0
votes
0answers
18 views

Ray Picking and glm::intersectRayTriangle. I can't get it to work

I'm trying to make a 3d turn based strategy game. This means I'd like to be able to rotate the camera and view the world at 45 degrees X and -45 degrees Y (with the ability to rotate the camera on ...
0
votes
0answers
17 views

How to create heightmaps (images)? [on hold]

I would like to create a heightmap with an editor. I need two images as result: Grayscale heightmap The texture All the editors I've found, supports a special format, or the result is a 3D object ...
1
vote
1answer
79 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
0answers
14 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 ...
0
votes
0answers
29 views

OpenGL - Cubemap “Rotating” Proportional To Camera Movement

I'm doing a simple planet rendering project and am running into an issue with accessing cubemap textures correctly. The planet terrain is generated using the diamond square algorithm done 6 times and ...
1
vote
0answers
31 views

Query regarding a quad tree implementation for spherical terrain

I am having some difficulty conceptualising how a quadtree would be used to implement a spherical terrain system. I currently have a spherical terrain system working, without any form of ...
1
vote
1answer
100 views

Random, Infinite Terrain Generation [closed]

I'm trying to generate random terrain for my game (In Unity3D, C#). All I need is water and grass. No height to it (no mountains or hills.) I'd preferably like to do it by placing individual cubes. On ...
2
votes
0answers
76 views

OpenGL Planet Generation - Simple Matrix Issue (Planet “Spins” With Mouse)

I originally asked this question on StackOverflow & was directed here by a commenter. Im currently working on a OpenGL planet rendering. I'm using the Tessellation pipeline. So far things are ...
0
votes
2answers
216 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. ...
0
votes
0answers
53 views

Terrain texturing problem in cryengine 3 sdk

When I try to paint textures on my terrain, I'm getting the underlying black/white grid thingy. Moreover, I keep losing the color on my terrain every time I load the level. any ideas what I'm doing ...
2
votes
2answers
170 views

how to 'Scale up' my procedurally generated island/continent without losing its uniqueness?

Currently I am trying to make a procedural terrain generator. When I first started creating my terrain generator I decided to use a radial mask to generate my islands/continents like so: But as ...
1
vote
1answer
56 views

How to get more gentle (cloud like) noise?

Recently I have started playing around with making terrain with perlin noise. Using this library I can make A fairly fast. However, it is to squiggly to be desirable. What I want to achieve is B, ...
0
votes
2answers
111 views

OpenGl indices array

I have a class terrain which create a grid of Quads. I do it like this for(int z=0; z<_length;z++){ for(int x=0; x<_width;x++){ ...
0
votes
0answers
73 views

XNA Get height at players position from heightMap

So i got a server and a client, at the server I only got this on Terrain class: public class Terrain { int Id; float[,] HeightMapData; int Width; int Height; Vector3 Position; ...
0
votes
0answers
233 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 ...
3
votes
3answers
142 views

anisotropic fog of war

Here I am not talking about how to render fog of war, but how to model exploring of terrain in a more sophisticated way. In a straight-forward approach, terrain explored by a game unit is simply ...
1
vote
0answers
122 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 ...
2
votes
1answer
75 views

How can I deal with vertex precision errors between terrain chunks?

I am using OpenGL to render the following scene, using vertex data from one of the map files of a popular MMORPG. The data is chunked and the pictured scene is made up of 256 (16x16) chunks. However ...
5
votes
1answer
201 views

How can I implement large moving “colossus” characters that also act as environmental objects?

I'm curious how enormous characters that act both as entities and environments are implemented. I'm thinking of characters like in Shadow of the Colossus which move, but which the player can also ...
1
vote
1answer
167 views

Triangles go missing as Z changes

I'm rendering a height map using shader-based OpenGL (3.3 to be precise). The height map data is from a grayscale bitmap (2D array of bytes). The dimension of the bitmap is 256 x 256. With this data, ...
1
vote
1answer
176 views

Basic terrain shader without using external texture

I have this: (Right now I have the height map in a x*x size 2D array and a 1D vector too.) What I am trying to achieve is something like this: Without using any textures, only plain colors. So ...
2
votes
2answers
359 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
0answers
72 views

Scaling UDK landscape material

I have been following some guides off this site, more specifically the "Random Tiling Masks: Randomize the texture mapping to reduce tiling" section and I have run into an issue regarding scaling of ...
2
votes
0answers
457 views

libgdx building 3D terrain

I've been spending a lot of my time working with libgdx scene 2d & have become very familiar with it. I've decided I want to move over to 3D & take a couple of weeks to learn & better ...
2
votes
2answers
205 views

How to deform 2D tileable texture in XNA/MonoGame

I'm looking for a way to deform tillable texture in a 2D game I'm building using MonoGame but I'm not sure how this effect is called and searching the internet for "deforming textures" gives me mostly ...
0
votes
1answer
978 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
0answers
167 views

How can I texture a large terrain mesh in OpenGL?

I want to apply a texture to a large terrain mesh in my game. I think that it is just not acceptable to have a gigantic UV map spanning over 4096 x 4096 pixels. What's a better way to apply a texture ...
2
votes
1answer
122 views

How to use ROAM algorithm to adapt terrain's mesh?

I have a hard time understanding the idea behind ROAM algorithm "Real-time, continuous level of detail rendering of height fields" Peter Lindstrom, David Koller, William Ribarsky, Larry F. Hodges, ...
2
votes
1answer
81 views

How do I serialise a mesh to a text file?

I'm building a game engine in OpenTK (OpenGL for C#). Is it ossible to take a terrain mesh (in any format) and convert it into a text file (or a really small character-filled file, no more than a few ...
2
votes
2answers
96 views

Traditional Chunk Loading vs. Chunk Swapping

I'm designing a voxel-based game (aren't we all?), and just yesterday implemented infinite terrain generation. I'd already had the terrain generation working off of simplex noise, so this wasn't a ...
1
vote
1answer
238 views

Quadtree vs multiple resolution grids for terrain rendering

I have been thinking about quad trees with regards to terrain rendering. From my understanding the basic functionality of quadtree terrain rendering is to frustum cull the terrain in such a manner: ...
2
votes
1answer
75 views

Unity - Imported meshes from Blender always corrupt

I want to import a terrain mesh I made in Blender into Unity, however Unity seems to fail to load it correctly. What could be the reason behind this and how can I fix it?
1
vote
2answers
187 views

2D Terrain generation with controlled variations

Well, I'm trying to create a simple endless runner and -this may sound repetitive- I'm searching for ways to generate the terrain. The game will only have 3 types of ground tiles, ascending, ...
1
vote
1answer
873 views

Unity3D: terrain object's textures flickering on long distances

I'm making RTS project on Unity3D. I created terrain with Unity's standard Terrain tool, and added textures of grass, mood etc. on it. Then, for creating "man-made" objects of terrain (roads, ...
0
votes
1answer
105 views

Algorithm for texture blending modification

Im currently writing a terrain editor for my game (for the record: no commercial intentions) and after having implemented the terrain morphing to my liking im now working on the texturing of said ...
2
votes
2answers
619 views

Using A*Pathfinding on terrain created by scripts?

I'm looking to use A* Path-finding as a method of navigating my game terrain. Trouble is, my terrain is built upon play using a script and A* grid does not detect this, therefore marking all nodes as ...
0
votes
2answers
303 views

terrain not properly rendering

I'm extending the terrain quad with resources from various tutorials and have the following code: public class WorldTerrain extends TerrainQuad { public static final String NAME = "terrain"; ...
0
votes
1answer
93 views

Planet terrain not connecting properly

I'm trying to generate some simple planets in OpenGL using libnoise (including noiseutils), but the terrain is not correctly connecting where the sphere "completes itself" and I was wondering if ...
5
votes
2answers
750 views

Top-Down Octree Generation of Procedural Terrain

I'm trying to implement a voxel-based terrain generation system in Unity3d (C#). I have successfully implemented a uniform 3d grid system, and have extracted the isosurface out using Marching Cubes ...
0
votes
1answer
156 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 ...
1
vote
1answer
207 views

How to create a regular grid of triangles correctly?

I am trying to create an terrain using opentk/opengl. I have a problem with the VBO/IBO. I think a picture of the problem is the best way to show it: I dont understand why the last triangle of a ...
0
votes
0answers
167 views

Height Map Mapping to “Chunked” Quadrilateralized Spherical Cube

I have been working on a procedural spherical terrain generator for a few months which has a quadtree LOD system. The system splits the six faces of a quadrilateralized spherical cube into smaller ...
0
votes
1answer
110 views

How do I deform a procedurally generated terrain?

I was looking at this method of generating complex procedural terrains using the GPU: http://http.developer.nvidia.com/GPUGems3/gpugems3_ch01.html Has anyone had any luck actually using the ...
0
votes
1answer
106 views

What is the simplest algorithm or pattern to continues ground/Floor

Im beginner in 3d gaming , i have basic question not Language specific. Say i have ground model for example terrain i modeled what is the common way to load the terrain and use it again Or load ...
2
votes
1answer
1k views

Dynamic 2d terrain loading / stitching in Unity [closed]

I'm currently working on a top down 2d game (in Unity 2d) where I'd like to build a huge terrain for the player to explore. My question is - do you have any good practices or ideas on how to chunk the ...
0
votes
0answers
68 views

Optimal approach to build a quad-tree for elongated terrain?

I have got a polygonal terrain in 3D. For simplicity sake I have split it into multitude of unit squares (cells) alike tilemaps do. Now I need to pick a cell under a cursor. For that I'm casting a ray ...
6
votes
2answers
275 views

How do I simplify terrain with tunnels or overhangs?

I'm attempting to store vertex data in a quadtree with C++, such that far-away vertices can be combined to simplify the object and speed up rendering. This works well with a reasonably flat mesh, but ...
8
votes
1answer
1k views

How to efficiently render a large terrain mesh?

Recently I've been stuck on a problem thinking about the best way to generate a terrain into my game. In another projects I normally used heightmaps, so all the core-work was based on the engine used, ...
2
votes
1answer
130 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
91 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 ...