SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
11-15-16, 07:03 AM | #1 | |
Sonar Guy
|
I didn't understand so much, just wasting my time to experiment with this, instead of playing.
Quote:
I work with 256x256 textures, and today's users want HD, 1024 even 2048. Plus, I make things only in terms of how its looks from ConningDeck camera. With external camera from above or close, some things do not look good, but I don't care, because in the campaign I play without external cameras. But soon, I will explain what I make. And it is not a problem when I finish, to ask and I will send you my files.
__________________
If you ride like lightning, you're gonna crash like thunder. |
|
11-15-16, 11:59 AM | #2 | |
Electrician's Mate
Join Date: Jan 2012
Location: Leningrad
Posts: 138
Downloads: 78
Uploads: 0
|
Quote:
That would be great, we will wait! |
|
12-18-16, 09:57 AM | #3 | |
Sonar Guy
|
How the terrain texturing work.
How the terrain texturing work?
First, my TerrainTypes.raw now looks like this: And I have this IdxConversion: Now, let's look over the textures for the terrains. In Terrain.cfg for every TerrainTypeDef, have a set of four textures: Quote:
You have some control over the first three textures, through some parameters in the Terrain.cfg. Like "TexTilesPerKM=" - obviously means, how many textures the game will use for 1 km of the terrain. TexTilesPerKM=3 is equal to 3x3 or 9 textures for 1 square km. Looks: If you work with HD textures, maybe is good idea, to expand the area of covering, so you lower the TexTilesPerKM. TexTilesPerKM=1, looks: Tex01= is for seabed plus some height above water, according to this parameter - MaxHeightForTex01= Tex02= is for ground, plain area texture Tex03= is slope texture Tex04= is special, you control it through "DetailTextureTileFactor=". With the default factor = 2, the texture cover 2.5 square km and lies above the first three textures. With two previous examples, TexTilesPerKM= 3 and 1, looks: I work with resolution 256x256 for textures and original parameters of: TexTilesPerKM=3 DetailTextureTileFactor=2 Are good for me, but if you work with high resolution, maybe is reasonable to experiment with these. TexTilesPerKM=1 / 1 square km for Tex01,02 and 03. DetailTextureTileFactor=1 / 5 square km for Tex04. Looks: This texture act like shadow map over Tex01,02 and 03. And because one Tex04= covers many of the lower textures (contiguous textures receive a different shade), this help a lot, to hide the tiling effect and give character to the terrain. Let's experiment. I choose for textures 01, 02 and 03, these ones: First, let's be without Tex04= (well, it is not without, but is completely white, which is the same): The tiling effect is visible over slope texture, repetition of the one and the same texture. Also is visible from certain angle over the grass. And all terrain is... just simple. Second, will be with the default "Tex04". The original game, used one Tex04 texture (Detaile.tga) for every terrain type. Now the terrain looks: I don't know the terminology for these things, but I don't like it. Didn't have character, and the tiling over slope is still visible. If you watch carefully, you will see it over grass too. Finally, let's see, what I made. I take the copy of the Tex03 texture and transform it to this, and use it for Tex04. Not for every terrain type I use the third texture, but in this concrete example, it is good for the purpose. Now the same terrain looks: Oh yes, I like it. This is terrain with character. After the textures, is the forest file. The forest cover 5 square km, and the game places it only around the coast. Deep inside the terrain will be waste of the resources. But for the forests, I'll tell you another time.
__________________
If you ride like lightning, you're gonna crash like thunder. Last edited by Tycho; 12-27-16 at 01:53 PM. |
|
12-18-16, 12:48 PM | #4 |
Commander
Join Date: Nov 2010
Posts: 456
Downloads: 17
Uploads: 0
|
I somehow missed this thread so far. I like the information given and the style
|
12-18-16, 03:52 PM | #5 |
Hellas
|
+1 ....excellent reading
__________________
Knowledge is the only thing that nobody can ever take from you... Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods |
|
|