Hi everyone, I've just started my journey with jme and I need some help as I don't have much experience in programming graphic.
I am to write code for generation of terrain and roads on it as well as some buildings.
I found already how to generate terrain but I can't figure out how to create roads on the terrain surface. Is there some way to do this without much effort ? Can someone give me some piece of advice ?
Thank You in advance
Roads are like any other piece of Geometry such as a building or a lamp post. All you'd have to do is write some code to create a box in the size of each piece of road and rotate them to form a grid or something of that nature
isn't it rather tedious work ? How should I match after generating road the surfaces of roads and terrain ?
Is it really box which is supoosedd to be used or rather some plane ?
Sorry about replying a month later, didn't catch this one
fryc said:
isn't it rather tedious work ? How should I match after generating road the surfaces of roads and terrain ?
Is it really box which is supoosedd to be used or rather some plane ?
Its definitely tedious work (and the method I laid out as extremely simple!), but generated geometry is a complicated process. Buildings are even tougher :)
See here for some impressive work: http://www.youtube.com/watch?v=HROU3gLcgfg