Terrain grid?
by Dracola · in Torque Game Engine · 04/19/2006 (8:42 pm) · 7 replies
I am attempting to create a grid on the terrain by creating a texture that is just a box.

But when I apply it I get this. I put it in the bottom left and the two defaults textures along the side for a reference.

I think the textures are kind of getting overlapped but I don't know. If anybody does know how I could fix this or make a grid a different way I could use the help. Thanks.

But when I apply it I get this. I put it in the bottom left and the two defaults textures along the side for a reference.

I think the textures are kind of getting overlapped but I don't know. If anybody does know how I could fix this or make a grid a different way I could use the help. Thanks.
About the author
#2
04/19/2006 (9:51 pm)
Yes it is I made sure of that. not being a power of 2 usually results in it flat out not showing up.
#3
04/19/2006 (10:04 pm)
Looks screwy for sure. Since it's a PNG... so try a JPG or something. I sometimes had weird results with PNGs related to the color depths
#4
04/20/2006 (12:11 am)
That screenshot looks suspiciously like Torque is not liking something about the source format. Try different color depths and file formats. I've seen results like that when I tried using the wrong size, or the wrong color depth.
#5
04/20/2006 (12:21 am)
Hi, i think you must not just use a texture with the power of 2, but you must use a size of 256*256 for terrain textures in TGE.
#6
04/20/2006 (1:28 am)
I had the same thing happen today. I wound out having to use a flat dts box on place it 1 unit above the ground as a work around. I've added plenty images to terrain textures before and this was the first time this happened to me. And the image display exactly like yours.
#7
04/20/2006 (8:31 am)
Thanks everybody what I did is I went back into photoshop and made sure it was turned to RGB color and turned it to white background versus the transparent one I had last time even though I did fill it in I think that was causing it remade it and it worked perfectly.
Torque 3D Owner Todd Pickens