All Questions
Tagged with java terrain-rendering
13 questions
0
votes
0
answers
170
views
LibGDX - Render texture background twisted
I am developing a 2D survival game. In these days, without make some features, I am fixing some bug. There is one which I got stuck on: my map has a background made with grass, earth, desert, water ...
0
votes
1
answer
201
views
Flat shaded triangles using the ModelBuilder?
I decided to give the ModelBuilder a try but I cannot get rid of the smoothing of my terrain. So what I tried:
Create each triangle individually with there own ...
3
votes
1
answer
907
views
How to make this generated terrain flat-shaded?
I'm generating a relatively low-poly terrain for my game using the code below:
...
4
votes
1
answer
661
views
On a 2D generated terrain what is the easiest way to pick tiles for the shoreline?
If I have a two-dimensional array with ones and zeros for water and land respectively how do I choose what shoreline tile to use according to the water and land tiles surrounding it? The shoreline can ...
2
votes
2
answers
420
views
How do I efficiently choose the terrain chunks to render based on the player position?
Well, I have an array with all the terrains. How do I render them? I just add them to a List of terrains that are sent to the Renderer. There, every terrain of the list is rendered.
The problem is ...
1
vote
1
answer
524
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 ...
10
votes
2
answers
6k
views
Tiling perlin noise seamlessly, but without repeating to generate an infinite 3D world
I have been working on a 3D game in java using LWJGL for a while now. I am trying to make procedurally generated infinite 3D terrain that is generated around the player.
So far I have:
3D terrain ...
1
vote
2
answers
483
views
terrain not properly rendering
I'm extending the terrain quad with resources from various tutorials and have the following code:
...
2
votes
2
answers
3k
views
libgdx: How do you remove a cell from TiledMap?
I am making a Terraria-style sidescrolling game with an open world. I am using a TiledMap to render all of the tiles. If I want to remove a tile, like if it is broken, how would I stop it from being ...
-5
votes
1
answer
2k
views
Java 2D tile map and rendering it [closed]
Please help me! I am thinking of generating different terrains environment every time the game loads again. But i am thinking of loading or drawing a image containing all the units like river, land ...
2
votes
3
answers
2k
views
Any ideas on reducing lag in terrain generation?
Ok so here's the deal. I've written an isometric engine that generates terrain based on camera values using 2D perlin noise. I planned on doing 3D but first I need to work out the lag issues I'm ...
2
votes
1
answer
549
views
Need help drawings planets in Java
I am looking for help/links/notes/agorithms/URLs/examples on drawing/rendering spheres in pure Java (so that I can hopefully, one day, generate/render planets with various surfaces & atmospheres)
...
3
votes
1
answer
1k
views
State of art shadowing technique for OpenGL on isometric terrain?
What's the most efficient way of creating shadows for object on a isometric terrain with OpenGL and JOGL? Note that this terrain is not flat and is not heightmap generated. Think it as another model. ...