Terrain and textures

Blitz3D Forums/Blitz3D Beginners Area/Terrain and textures

ingenium(Posted 2007) [#1]
I used the free version of FLE. I noticed that is possible to apply different textures on various areas of the terrain (grey texture on a mounatin, green texture on a valley eccc...).
How is that possible?


H&K(Posted 2007) [#2]
Probably you have been fooled.
There is one big texture the size of the terrain, (that is, it isnt repeating, it fits over the terrain exactly).
And it has a grey pixel at the same coords as the hightmap has a "high point", and a green pixel on a low highmap point etc
Then a reapeating, "Make it look not smooth texture is added"
This makes it look.. well the way it looks.

(Ive not used FLE, but thats how the others ive tried do it)


ingenium(Posted 2007) [#3]
hem... but with FLE you can model the mesh... and then apply the texture...
So I think the use more than one texture. So, How they can?


Dreamora(Posted 2007) [#4]
one surface per texture and multiple surfaces.


ingenium(Posted 2007) [#5]
ok, thanks.


D4NM4N(Posted 2007) [#6]
Im not sure about FLE, but i think it works similar to other progs like my ted, ale etc then it uses vertex alpha to hide physical parts of a layered mesh.
Each layer has repeated textures on each layer. When you 'paint' you are not actually painting anything, just un-hiding parts of the layer with that texture on.

On exporting the remaining invisible geometry of these meshes is distroyed reducing the poly count.

If you open the exported mesh in giles or something you will see what i mean.