tile texture - one terrin

Blitz3D Forums/Blitz3D Programming/tile texture - one terrin

woolybuger(Posted 2013) [#1]
I have created a set of 8 tiles from a map
of our lake. I used the sample tile brush example.

the texture come up as a whole set of tiles and I want it to
be just one terrain.

How do I take the 8 tile and get them to be just one z,x plane


GfK(Posted 2013) [#2]
You mean, you don't want the texture to be repeated/tiled across the terrain?

Scale the texture by the size of the terrain.

Otherwise, I don't understand what you're asking for.


woolybuger(Posted 2013) [#3]
I thought that the tile approach would allow me
to vary the height around the edge of the lake using the height matirx

when I run the sample it seems that it only creates
one terrain which has grass, roads, hills. Not does repeat the
picture over and over. I tried varying the two scale commands.
scalemesh
position entity


the tiles were made with paint using 100 by 100 tiles.
4 wide and 2 long

the example a 32by 32 grid

the sample birdie bursh tile in bliz3d


Kryzon(Posted 2013) [#4]
Hi. The Birdie sample named Brush Tile builds a terrain manually; That's why he can apply different textures to different tiles of the terrain.
He is not using the native Blitz3D terrain system.

If you're not able to understand how he builds the terrain manually, please say and I'll explain. The secret is in the Create_Map() and Create_MapLayout() functions.


woolybuger(Posted 2013) [#5]
all I want is the map I have to be made up of the 8 tiles

Birdie grid is 0-32 for x and y and made up of 8 tiles


however if he split his 8 tile so they are map-able to 32 by 32 this would
work and height could be managed very tightly


Kryzon(Posted 2013) [#6]
Sorry, I don't quite understand what you mean.

What you can do, in any case, is use ScaleTexture() to scale your ground texture so it's not "stretched" over the entire terrain but rather repeated along it.
This would still only give you a single "kind" of texture.

If you want more than one kind of texture in your terrain, you have to build the terrain mesh manually.
Each terrain tile is a mesh quad that you create and texture it with the brush you want that quad to have.