Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
DynoZ's user avatar
  • 25
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 ...
Madmenyo's user avatar
  • 1,969
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: ...
Charanor's user avatar
  • 8,504
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 ...
Hendrik Eerikson's user avatar
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 ...
Daniel Béjar's user avatar
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 ...
Alkarym Moro's user avatar
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 ...
Kelan's user avatar
  • 203
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: ...
Thijser's user avatar
  • 955
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 ...
Plato2000's user avatar
-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 ...
Dorji Gyaltsen's user avatar
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 ...
l5p4ngl312's user avatar
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) ...
d33j's user avatar
  • 486
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. ...
Gorky's user avatar
  • 504