Game Development Community

Terrain Texturing

by Jacob A. Ross · in Torque Game Engine · 07/17/2002 (9:09 am) · 8 replies

I have a couple of designing questions that I need answered.
1) I want to make a road terrain texture. I made the road texture 256 x 256. Once I started painting it on the terrain it was way too big. So my first question is there any other way to make a terrain texture smaller than a 256 x 256? I tried to make it 128 x 128 but it messed up the textures completely.
2) My second question is once I lay down the terrain texture I notice that from a distance that the texture looks jagged and blurry but when I go up to it the texture looks correct. I tried to change the fog settings with no fog but it still did it. How do I fix this problem or is it a design flaw in the actual terrain editor?

I am just a designer and also new to the engine so please forgive my ignorance.

#1
07/17/2002 (9:42 am)
the only format that works with an unmodified Torque engine is 256*256. If you want to work smaller you'll have to paint the smaller thing on a bigger texture (like a road with some dirt around it to cover the rest of the space)
You cannot stop it from looking blurry from a distance. That's just how it works. This engine wasn't ment to have roads etc textured on the terrain. Its a landscape engine... but offcourse now you have the ability to texture roads etc. Still.. best way to do it is make the road an object and place it on the terrain
#2
07/17/2002 (10:02 am)
jacob have you thought of making the brush smaller
#3
07/17/2002 (10:15 am)
Ward, Thanks for the answer I have been looking for. I already tried making the road smaller but again that whole blurring thing is not that attractive when a road is layed out. I guess I will have to make the roads with WC bummer.
#4
07/17/2002 (10:47 am)
not the image the Brush you use to paint with in the texture painter editor
#5
07/17/2002 (11:14 am)
I don't think that's his problem... I tought he was trying to go smaller then brush 1... if that's what's hes trying to do, then only my solution will work (paint it on a 256*256 texture)...
#6
07/17/2002 (11:37 am)
Also, changing the terrain SquareSize will change the "effective" size of the brushes.
#7
07/17/2002 (12:51 pm)
Desmond, How do you change the terrain SquareSize?
#8
07/18/2002 (7:27 am)
Jacob,

Edit your mission file (with your favorite text editor) and look for the line 'new TerrainBlock' (without the quotes). Inside that definition you will see the variable squareSize.

You should check out the excellent tutorials that Desmond has written at:

holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/

Select Terrain from the menu on the left.

Rich