Hi.
I am having trouble with using a tiled image on my matrix. I am pretty sure I have it perfectly aligned for 4, 256x256 images - but I keep getting seems in my results:
When I used the
set matrix trim command, no matter what flag I use, I get this result:
(I noticed I accidentally had the top of the previous snapshot in that one, if you could just ignore that...

)
I don't know what I'm doing wrong or what I could be doing differently, but it can't be that complicated. I know you people always like to see teh codez - so I guess I'll post them here..
+ Code Snippetload image "texture.bmp",1
prepare matrix texture 1,1,2,2
+ Code Snippetfor y = 0 to 69
for x = 0 to 69
n=n+1
if color#(n)= 6 then set matrix tile 1,x,y,2
if color#(n)= 7 then set matrix tile 1,x,y,1
if color#(n)= 9 then set matrix tile 1,x,y,3
next y
next x
n=0
set matrix trim 1,1,1
update matrix 1
I don't know if code is even neccisary for this problem, but theres ya are. I don't want to paste everything here, because, well teh codez are mine and I don't want somebody ripping me off. Everything in my .dba is running correctly except the tiling/trim. Attached is the actual tiled texture (don't care if anybody uses it, it was made from all free textures anyway).
If anybody can give me any tips or steer me in the right direction, I would appreciate it greatly. Thanks for your time.