Hi guys,

I'm currently working on an RTS project. One of the most important parts of any RTS engine is its terrain system, as everything is closely connected to it (special effects, units' movement, etc).

An ordinary terrain consists of 32x32 (up to 256x256) tiles (I use a method of dividing terrain into tiles similiar to WarCraft III ones). I have implemented this principle by the means of triangles in a GLMesh. But even with 32x32 tiles editing the terrain is a rather slow process, besides, I can't find a good way of shadowing it.

Does anybody know a better way of terrain building, keeping in mind that it should be edited without obvious slowdowns? And what is the best way to create shadows in this case?

Thank you very much in advance.

Michael