Page 1 of 2

Single Texture Terrains

Posted: Wed Oct 28, 2009 11:20 pm
by DJ99X
OK, so people have been wanting this, so here it is.

Package contains:
decals-2048
decals-1024
decals-665
dirtoverlay.png
dirtoverlay2.png
dirtoverlay3.png

Instructions

1) A simple calculation. Let R = trackScale x (terrainResolution - 1) [trackScale is 2nd number in terrain.hf. terrainResolution is number of pixels wide (usually 1025)]

2) If R < 665, use decals-665
If R>665, R<1024, use decals-1024
If R>1024, R<2048, use decals-2048
If R>2048, let me know. I'll make you something.

Rename file to decals

3) Choose your overlay, or make your own. Call it dirtoverlay.png. If you are using mine, adjust the opacity to your likings

4) Make your single texture. Should be 512x512, 1024x1024, 2048x2048, or 4096x4096(not recommended) pixels. Call it basetex.png

5) Open up decals, in something like notepad++. Go Search>Replace All, and replace 'trackname' with whatever you called your track folder.

6) With decals still open, you need to edit the first line. Edit it, replacing the numbers in it with the following
[R/2 R/2] 0 R 1 @trackname/basetex.png

So if R=1024,

[512 512] 0 1024 1 @trackname/basetex.png

Save this file.

7) Put decals, basetex.png, dirtoverlay.png into your track folder. Voila!


FILES

http://www.mediafire.com/?ltmjzdzgy1d


TIPS
  • For maximum detail, dont use this method :lol:
  • For more efficient high resolution basetex, try splitting it into tiles. You will need to work out where they are placed for youself though
  • Do not put the shadows in basetex.png. shading.ppm does this for you
  • If you are making your own overlay, make sure it tiles.
  • Combining this method with the regular way could produce some nice results
  • Make sure you dont accidentally move one of the overlay tiles in decal mode. It will be very hard to fit it back into the right place by hand

Re: Single Texture Terrains

Posted: Thu Oct 29, 2009 12:11 am
by JB323
thanks dj, im gunna try and figure this out now.

Re: Single Texture Terrains

Posted: Thu Oct 29, 2009 12:12 am
by tyskorn
This is all I get, and since it's in the corner like that,does that mean I didn't make it big enough?
Image

Re: Single Texture Terrains

Posted: Thu Oct 29, 2009 12:39 am
by Mr.Two
Awesome man thanks so much, now I'll have to try and not fail figuring it out haha

Re: Single Texture Terrains

Posted: Thu Oct 29, 2009 6:08 am
by DJ99X
tyskorn wrote:This is all I get, and since it's in the corner like that,does that mean I didn't make it big enough?
Image
READ THE INSTRUCTIONS

Re: Single Texture Terrains

Posted: Thu Oct 29, 2009 9:19 am
by jesplind
What is the point of this thing? easyier way to do textures or what? :|

Re: Single Texture Terrains

Posted: Thu Oct 29, 2009 9:20 am
by DJ99X
Pretty sure I sent you this stuff to use for one of your tracks.

Its basically texturing a track using the MVA method

Re: Single Texture Terrains

Posted: Thu Oct 29, 2009 9:32 am
by jesplind
Ahh okay like I thought. I didn't like this method, Great for guys who can't make decals. But you can't make clearly ruts and such which is very confusing for me. And I just got to ask, what method did you use for your Cypress Hollows?

Re: Single Texture Terrains

Posted: Thu Oct 29, 2009 9:39 am
by DJ99X
The way it should be. Using decals

Re: Single Texture Terrains

Posted: Thu Oct 29, 2009 4:41 pm
by tyskorn
DJ wrote:
tyskorn wrote:This is all I get, and since it's in the corner like that,does that mean I didn't make it big enough?
Image
READ THE INSTRUCTIONS
I did read the instructions.I need help.I made them the color I want, they aren't white in Gimp.Please just help. :oops:

Re: Single Texture Terrains

Posted: Thu Oct 29, 2009 6:41 pm
by sam-brinkley
Ok Tyskorn ill help you ?

you resized it too small

1024x1024 = SMALLER MAP

so you would need double that i should THINK

so try resize it to uhm - 2048x2048 :D

if this does not help send me a pm and send ur msn ill help ya out :)

Re: Single Texture Terrains

Posted: Thu Oct 20, 2011 7:11 pm
by AirFlexoxo
Any idea? :(

Image

Re: Single Texture Terrains

Posted: Fri Oct 21, 2011 4:55 am
by wheels1758
AirFlexoxo wrote:Any idea? :(

Image
Try cutting the scale in half. Post the decals line and we can help.

Re: Single Texture Terrains

Posted: Fri Oct 21, 2011 3:07 pm
by AirFlexoxo
Thank you for your support, but the scale in half doesn't work
  • *1025x1025 dismap
    *1024x1024 basetex
terrain.hf

Code: Select all

9 0.530000 3.090532 24.910002
decals (2048)

Code: Select all

[512 512] 0 1024 1 @trackname/basetex.png

Re: Single Texture Terrains

Posted: Fri Oct 21, 2011 3:33 pm
by haggqvist
Here you go...

Code: Select all

[271.625 271.625] 0 543.25 1 @trackname/basetex.png
Texture scale: 1025*0.53=543.25
Texture coordinates: 543.2/2=271.625