Questions tagged [terrain]

Terrain, or land relief, is the vertical and horizontal dimension of land surface. Terrain is used as a general term in physical geography, referring to the lie of the land. This is usually expressed in terms of the elevation, slope, and orientation of terrain features. In games, terrain is the "land" or "world" on which the game environment, roads, buildings, vehicles, characters are placed and interact with each other.

Terrain, or land relief, is the vertical and horizontal dimension of land surface. Terrain is used as a general term in physical geography, referring to the lie of the land. This is usually expressed in terms of the elevation, slope, and orientation of terrain features. In games, terrain is the "land" or "world" on which the game environment, roads, buildings, vehicles, characters are placed and interact with each other.

This tag is for question related to terrain, its properties, problems related to setting different properties, lighting, textures, simulating gravity, friction etc for use in games or simulations.

574 questions
0
votes
1 answer

Using noise to generate marching cube terrain?

I've succesfully made a marching cubes class in C# XNA and am using Lib noise to generate 3d perlin noise, but when I tried to generate terrain using the values of the perlin noise as the densities for my marching cubes it generates a large chunk of…
CaffeinatedCM
  • 754
  • 1
  • 11
  • 24
0
votes
1 answer

Unity TerrainData not compatible with absolute elevations?

Is it possible for the Unity TerrainData structure to take absolute elevations? I have a terrain generator that generates absolute elevations, but they are huge. The perlin octave with the highest amplitude is the one that decides what altitude the…
Miles
  • 1,858
  • 1
  • 21
  • 34
0
votes
1 answer

Perlin Noise issue

I've created a Perlin noise function. My issue is when I generate a terrain map from the noise it ends up blocky, nothing like the cloudlike images I've seen. I'm curious on what I'm doing wrong (if anything). here's my code: main.cpp #include…
0
votes
1 answer

Cut triangulation effectively (find subtriangulation)

I am working on terrain rendering tool currently. I have to cut a piece from a given Delaunay triangulation. Suppose following triangulation is given: The red square depicts area to cut from the original triangulation, i.e. find sub triangulation…
0
votes
1 answer

Need to reduce the number of bitmaps being loaded (static bitmap references?)

I've been working on a simple tile-based terrain generation system for a game I'm trying to build, and have run into a bit of a snag. I'm trying to develop a new way to pick and store the bitmap I'll need for the individual tiles. I had a very…
Patrick Reynolds
  • 243
  • 1
  • 5
  • 18
0
votes
1 answer

Plain Terrain in ThreeJS

I am trying to draw a plane terrain in using ThreeJS but it doesn't work. Here is my plane creation code: var plane = new THREE.Mesh(new THREE.PlaneGeometry(300, 300), new THREE.MeshBasicMaterial({ color: 0x0000ff })); plane.overdraw =…
Pijusn
  • 11,025
  • 7
  • 57
  • 76
0
votes
2 answers

how to achieve google maps terrain look INURL

i am using this url: http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Zagreb,+Croatia&aq=&sll=45.808351,15.897484&sspn=0.010066,0.016544&vpsrc=0&ie=UTF8&hq=&hnear=Zagreb,+Croatia&t=m&z=14&ll=45.794222,16.048298&output=embed what do i need…
b0x0rz
  • 3,953
  • 8
  • 52
  • 82
0
votes
2 answers

3D: how to render/create terrain

I'm working on a 3D game and now I have to place every object in code. So is there a way to make a editor to place objects in Java OpenGL? And is it best to make the whole world (it's kind of huge) one big mesh or is it better to do another way?
AndroidXTr3meN
  • 399
  • 2
  • 9
  • 19
0
votes
1 answer

How to texture a tiled 3D terrain in DirectX9 C++?

I have no problem with manipulating the mesh itself,but each tile(which is basically a square of 4 vertices and the whole terrain mesh is made of a grid of tiles)has to be able to be given a different texture of my choosing.So far I can only give…
none
  • 39
  • 1
  • 3
0
votes
1 answer

Terrain tile scale in case of tilted camera

I am working on 3d terrain visualization tool right now. Surface is logically covered with square tiles. This tiling could be visualized as follows: Suppose I want to draw a picture on these tiles. The level of detail for a picture is required to…
deephace
  • 324
  • 3
  • 15
-1
votes
1 answer

The size of the terrain rendered from heightmap

I'm quite new to XNA so excuse me if I ask a 'silly' question but I couldn't find an answer. I have a problem with the terrain rendered from a heightmap: the terrain I get is too small, I need something larger for my game but I'd like to keep the…
Apex
  • 43
  • 6
-1
votes
1 answer

jMonkeyEngine3 (jME3) Level Of Detail for terrain

I am trying to do terrain generation in jMonkeyEnging, and have followed the tutorial (http://jmonkeyengine.org/wiki/doku.php/jme3:beginner:hello_terrain) but have run into a slight problem. At last chunck of code in the simpleInitApp method (the…
JAW1025
  • 676
  • 2
  • 8
  • 17
-1
votes
1 answer

looking for a free self-hosted google earth alike service

I need to setup a google earth alike service, which I can self-host the elevation data and map tile data on a VPS such as EC2. I briefly researched the following resources: Cesium OpenElevation OpenStreatMap Google Elevation API My questions are,…
xrfang
  • 1,754
  • 4
  • 18
  • 36
-1
votes
1 answer

How can I apply different normal map textures for different faces of a minecraft-like cubic terrain blocks in Unity?

I'm making a procedurally generated minecraft-like voxel terrain in Unity. Mesh generation and albedo channel texturing is flawless; however I need to apply different normal map textures for different cube faces regarding whether they're neighboring…
-1
votes
1 answer

Unity terrain collider intermittently missing collisions

I am experimenting with the terrain tools. The app has a cube (0.2x0.2x0.05) that flies around representing a quadcopter. It has a collider (not set as trigger) and rigidbody. It is controlled by addforce() etc - ie its position and rotation are not…
nmw01223
  • 1,611
  • 3
  • 23
  • 40