Single Texture Terrains

DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Single Texture Terrains

Post 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
JB323
Posts: 1967
Joined: Sat Sep 12, 2009 9:26 pm
Team: Privateer Life
Location: Arizona
Contact:

Re: Single Texture Terrains

Post by JB323 »

thanks dj, im gunna try and figure this out now.
Image

Privateer Life # 323 Support from Motosport | Race Tech | 180 Decals

http://instagram.com/jbolen323/
tyskorn
Posts: 6491
Joined: Sun Jan 11, 2009 5:52 pm
Team: Adept MX Graphics
Location: Utah, USA

Re: Single Texture Terrains

Post 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
Mr.Two
Posts: 1060
Joined: Mon Sep 21, 2009 9:25 pm

Re: Single Texture Terrains

Post by Mr.Two »

Awesome man thanks so much, now I'll have to try and not fail figuring it out haha
Image
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: Single Texture Terrains

Post 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
jesplind
Posts: 917
Joined: Sun Feb 01, 2009 3:35 pm
Location: Sweden

Re: Single Texture Terrains

Post by jesplind »

What is the point of this thing? easyier way to do textures or what? :|
Image
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: Single Texture Terrains

Post 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
jesplind
Posts: 917
Joined: Sun Feb 01, 2009 3:35 pm
Location: Sweden

Re: Single Texture Terrains

Post 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?
Image
DJ99X
Posts: 15523
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: Single Texture Terrains

Post by DJ99X »

The way it should be. Using decals
tyskorn
Posts: 6491
Joined: Sun Jan 11, 2009 5:52 pm
Team: Adept MX Graphics
Location: Utah, USA

Re: Single Texture Terrains

Post 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:
sam-brinkley
Posts: 306
Joined: Fri Feb 15, 2008 11:12 am
Team: Pro Privateer
Location: England

Re: Single Texture Terrains

Post 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 :)
Image
AirFlexoxo
Posts: 147
Joined: Sun Nov 01, 2009 11:03 pm
Location: France

Re: Single Texture Terrains

Post by AirFlexoxo »

Any idea? :(

Image
Image
AirFlex, #354
wheels1758
Posts: 4132
Joined: Tue Oct 21, 2008 5:20 pm
Location: Washington, USA
Contact:

Re: Single Texture Terrains

Post by wheels1758 »

AirFlexoxo wrote:Any idea? :(

Image
Try cutting the scale in half. Post the decals line and we can help.
AirFlexoxo
Posts: 147
Joined: Sun Nov 01, 2009 11:03 pm
Location: France

Re: Single Texture Terrains

Post 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
Image
AirFlex, #354
haggqvist
Posts: 352
Joined: Sun Jan 31, 2010 11:44 am
Location: Sweden

Re: Single Texture Terrains

Post 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
Image
Post Reply