Hi
I have this weird problem and I can't figure out how to fix it.
Imagine two textures which should fit together seamlessly. The top border of the first should match the bottom border of the second. Now I created those textures using Photoshop and fixed their size to 500x500. They fit together seamlessly, I double checked with Photoshop.
Now if I grab those two textures from a bitmap using
Get Image image number,0,0,bitmap width(bitmap number)-1,bitmap height(bitmap number)
for each texture.
Then fit them on to two matrixes which are positionned one next to the other using
Prepare Matrix Texture
Now I noticed that the two textures don't fit together anymore, it looks like a couple of pixels are missing at the border of the texture. Now you can see the transition between the two textures/matrixes.
Anyone able to help?
load bitmap "models\01.bmp",1
get image 1,0,0,bitmap width(1)-1,bitmap height(1)-1
delete bitmap 1
load bitmap "models\02.bmp",1
get image 2,0,0,bitmap width(1)-1,bitmap height(1)-1
delete bitmap 1
make matrix 1,500,500,1,1
SET MATRIX 1,0,0,0,1,0,0,0
prepare matrix texture 1,1,1,1
SET MATRIX TEXTURE 1,2,1
POSITION MATRIX 1,-250,-50,-250
make matrix 2,500,500,1,1
SET MATRIX 2,0,0,0,1,0,0,0
SET MATRIX TEXTURE 2,2,1
prepare matrix texture 2,2,1,1
POSITION MATRIX 2,-250,-50,250
This is how I set up my matrixes