Hey another terrain question! This ones for the 2D rts josrts.org.
Theres a bunch of questions i need to clear up on texturing.
The general question is what is the best way to texture the large flat landscape? The two main ways are basic tiled approch, or one large texture with a detail texture.
More specific question regarding display lists and multitextuing.
Is there any benifit using multi texturing if your compiling into a display list?
Trying to create tiles of the landscape, drawing a section with multitexturing into display lists. But when i call the lists, there a weird pattern in the tiles, some are out of order, or stetched.http://www.froggy.com.au/harleyrana/java/TerrainRender.java
(only offending parts)
When im drawing in interpreted mode, it looks cool if you don't mind the repeating detail texture. To make it more interesting i could draw rock and grass patterns. How should i draw the extra detail in the terrain? TEXTURE2_ARB ,or go back to TEXTURE0_ARB ?
On gljournal's extension data base multitexturing has support for some old chips, and it was incororated into gl 1.2.1. So can i assume that its going to work on most cards? What is the normal number of texture units available / should i use?
Still just playing around with the multitextured terrain, to see the difference between tiles.
If i do use tiles im thinking of having a base texture, detail texture for transitions or just extra details like grass spots, and color index for each point in the terrain grid. Does that sound right?
If your still here, thanks for your patience
Obviously these are basic questions, but where better to learn! Thanks for any help or suggestions.