Topic: Altitude indicator and undo at all possible?
SirVer |
Posted at: 2011-04-28, 07:41
Hi,
That is not related at all. Even if we merge the worlds, map compatibility with existing S2 and widelands maps would be kept. New maps could just use all the graphics...
There are even more reasons for this: when you allow steeper hills, workers should be 'hidden' behind hills that are to their immediate south. This is obviously impractical, because you could not build flags on fields that are hidden this way, but also this would need change to how rendering is done: currently we draw the terrain first, then bobs and immovables in a second step. As terrain could clip over bobs and immovables, this order would need changing and that is not easy to do.
Thanks. That was the immediate goal when starting the editor
I think nicolai did misunderstand you here. I think the thing you are talking about is that the triangles in S2 are 'rounded' whenever they touch other terrain so that the triangular shape is not immediately visible. S2 did this by rendering a rectangular texture that depended on both terrain types over the triangle border. We tried to achieve something similar with dithering the edges, but it is just not good enough. I hope that once !OpenGL becomes the de-facto standard, we can add such an additional rendering step for very low cost.
Not for the software renderer, no. It should be possible for !OpenGL but might require additional artwork. Cheers, Holger Top Quote |
Astuur Topic Opener |
Posted at: 2011-04-28, 07:55
Great,
I have posted a comment there with some additional observations and an S2 Editor picture, to demonstrate some differences. @ SirVer Yes, you are right, it is the rounded shape, I was talking about, but anything that allows closer control is very welcome. Gentlemen, you're absolutely superb in the way you are supporting curious fans! I very much appreciate your efforts! Edited: 2011-04-28, 08:25
Being no programmer, I apologize for all my suggestions that imply undue workload and for other misjudgements due to lack of expertise or relevant skills. |
y_offset |
Posted at: 2012-05-06, 03:54
Trying to tweak an excellent random gen map, I'm wishing for a function that would poll the heights of all polygons under a tool size 2 area and set them to the average, or other words, smooth function. "months disappeared playing S2" Top Quote |
SirVer |
Posted at: 2012-05-07, 10:25
You could write a lua script and call it via dofile(), given you have a debug version available. I think we should enable the debug console in the editor also for release builds. Top Quote |
Nasenbaer |
Posted at: 2012-05-07, 12:05
a "smooth" function is already implemented. Select the noise hight tool and hold CTRL on your keyboard (this will activate the alternative tool) while clicking on the ground. Top Quote |