Single Texture Terrains

User avatar
DJ99X
Posts: 15461
Joined: Tue Jan 15, 2008 11:36 am
Team: El Chupamobra
Location: Upper Shit Creek, Sans Paddlington

Single Texture Terrains

Postby DJ99X » Wed Oct 28, 2009 11:20 pm

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

Postby JB323 » Thu Oct 29, 2009 12:11 am

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/

User avatar
tyskorn
Posts: 6423
Joined: Sun Jan 11, 2009 5:52 pm
Team: Adept MX Graphics
Location: Utah, USA
Contact:

Re: Single Texture Terrains

Postby tyskorn » Thu Oct 29, 2009 12:12 am

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
Image

User avatar
Mr.Two
Posts: 1060
Joined: Mon Sep 21, 2009 9:25 pm

Re: Single Texture Terrains

Postby Mr.Two » Thu Oct 29, 2009 12:39 am

Awesome man thanks so much, now I'll have to try and not fail figuring it out haha
Image

User avatar
DJ99X
Posts: 15461
Joined: Tue Jan 15, 2008 11:36 am
Team: El Chupamobra
Location: Upper Shit Creek, Sans Paddlington

Re: Single Texture Terrains

Postby DJ99X » Thu Oct 29, 2009 6:08 am

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
Contact:

Re: Single Texture Terrains

Postby jesplind » Thu Oct 29, 2009 9:19 am

What is the point of this thing? easyier way to do textures or what? :|
Image

User avatar
DJ99X
Posts: 15461
Joined: Tue Jan 15, 2008 11:36 am
Team: El Chupamobra
Location: Upper Shit Creek, Sans Paddlington

Re: Single Texture Terrains

Postby DJ99X » Thu Oct 29, 2009 9:20 am

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
Contact:

Re: Single Texture Terrains

Postby jesplind » Thu Oct 29, 2009 9:32 am

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

User avatar
DJ99X
Posts: 15461
Joined: Tue Jan 15, 2008 11:36 am
Team: El Chupamobra
Location: Upper Shit Creek, Sans Paddlington

Re: Single Texture Terrains

Postby DJ99X » Thu Oct 29, 2009 9:39 am

The way it should be. Using decals

User avatar
tyskorn
Posts: 6423
Joined: Sun Jan 11, 2009 5:52 pm
Team: Adept MX Graphics
Location: Utah, USA
Contact:

Re: Single Texture Terrains

Postby tyskorn » Thu Oct 29, 2009 4:41 pm

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:
Image

sam-brinkley
Posts: 306
Joined: Fri Feb 15, 2008 11:12 am
Team: Pro Privateer
Location: England
Contact:

Re: Single Texture Terrains

Postby sam-brinkley » Thu Oct 29, 2009 6:41 pm

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

User avatar
AirFlexoxo
Posts: 147
Joined: Sun Nov 01, 2009 11:03 pm
Location: France
Contact:

Re: Single Texture Terrains

Postby AirFlexoxo » Thu Oct 20, 2011 7:11 pm

Any idea? :(

Image
Image
AirFlex, #354

User avatar
wheels1758
Posts: 4121
Joined: Tue Oct 21, 2008 5:20 pm
Location: Washington, USA
Contact:

Re: Single Texture Terrains

Postby wheels1758 » Fri Oct 21, 2011 4:55 am

AirFlexoxo wrote:Any idea? :(

Image


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

User avatar
AirFlexoxo
Posts: 147
Joined: Sun Nov 01, 2009 11:03 pm
Location: France
Contact:

Re: Single Texture Terrains

Postby AirFlexoxo » Fri Oct 21, 2011 3:07 pm

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

User avatar
haggqvist
Posts: 352
Joined: Sun Jan 31, 2010 11:44 am
Location: Sweden

Re: Single Texture Terrains

Postby haggqvist » Fri Oct 21, 2011 3:33 pm

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


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 2 guests