Terrain texture mapping
by Edward Gardner · in Torque Game Engine · 08/26/2001 (5:11 pm) · 8 replies
Can I set the texture map for the entire terrain to be the BMP that I created the terrain from? Not tiled, just the whole terrain textured with 1 PNG file?
Is that scripted somewhere, the texture repeat, or embedded in the code?
Thanks :)
Is that scripted somewhere, the texture repeat, or embedded in the code?
Thanks :)
#2
08/27/2001 (10:05 am)
I've used textures far far larger with OpenGl & a GeForce2... 1024x1024...
#3
Yes, newer cards such as the Voodoo5, GeForce 2/3, etc. do support larger textures, however, older cards do not.
I guess if one stipulates that newer hardware is required, then one can go ahead and do this.
08/27/2001 (10:51 am)
Hi David,Yes, newer cards such as the Voodoo5, GeForce 2/3, etc. do support larger textures, however, older cards do not.
I guess if one stipulates that newer hardware is required, then one can go ahead and do this.
#4
08/27/2001 (1:03 pm)
Aye... but even with a texture that large... the terrain detail is pretty bad (I used that method in my own engine a while back)... However, it makes it VERY easy to paint the 'scape... add roads and that sorta thing. Although, you cant test the texture to find out what kind of surface you are on... pros and cons to everything I guess...
#5
What is the default setting for texture tilting on one terrain block? 8*8???
Please help!!!
02/01/2004 (11:31 pm)
But how to set it anyway? I really want to have one single 256*256 .png texture image to cover the whole terrain block.What is the default setting for texture tilting on one terrain block? 8*8???
Please help!!!
#6
02/02/2004 (6:31 am)
You'll have to tweak the C++ to make this work... You'll need to muck with the texgen in the terrain renderer.
#7
Actually, I want to use a 256 by 256 satellite image to map a single block of terrain.
Is there any easy way to get my task done?
Thanks!
02/06/2004 (3:45 am)
Yeah, I'm going to modify the source code. Actually, I want to use a 256 by 256 satellite image to map a single block of terrain.
Is there any easy way to get my task done?
Thanks!
#8
I haven't seen any resources that describe how to do what you want to do. This method can be very useful too, since you can use heightmaps combined with satellite images to create real locations. Great for simulations.
02/06/2004 (6:11 am)
Stretching a texture over your terrain will leave your terrain looking pixelated up close, but you can combat this by using a tiled detail texture to increase the percieved pixel density.I haven't seen any resources that describe how to do what you want to do. This method can be very useful too, since you can use heightmaps combined with satellite images to create real locations. Great for simulations.
Torque Owner David R. Green
The only problem with doing this is that most rendering systems and 3d cards support textures 256x256 max. At that resolution, your texture will look very blocky and stretched out over the V12 terrain size.
David