Difference between revisions of "Tyres"

From PiBoSo Documentation
Jump to: navigation, search
(Dirt Layers)
Line 36: Line 36:
 
  layer1
 
  layer1
 
  {
 
  {
numframes = 6
+
numframes = 6
map=nobase_tiretread_marbles.tga
+
map=nobase_tiretread_marbles.tga
frame0=tiretread_marbles1.tga
+
frame0=tiretread_marbles1.tga
frame1=tiretread_marbles1.tga
+
frame1=tiretread_marbles1.tga
frame2=tiretread_marbles1.tga
+
frame2=tiretread_marbles1.tga
frame3=tiretread_marbles2.tga
+
frame3=tiretread_marbles2.tga
frame4=tiretread_marbles2.tga
+
frame4=tiretread_marbles2.tga
frame5=tiretread_marbles2.tga
+
frame5=tiretread_marbles2.tga
 
  }
 
  }
 
  layer2
 
  layer2
 
  {
 
  {
numframes = 6
+
numframes = 6
frame0=grass1.tga
+
frame0=grass1.tga
frame1=grass1_b1.tga
+
frame1=grass1_b1.tga
frame2=grass1_b2.tga
+
frame2=grass1_b2.tga
frame3=grass2.tga
+
frame3=grass2.tga
frame4=grass2_b1.tga
+
frame4=grass2_b1.tga
frame5=grass2_b2.tga
+
frame5=grass2_b2.tga
 
  }
 
  }
 
  layer3
 
  layer3
 
  {
 
  {
numframes = 6
+
numframes = 6
frame0=sand1.tga
+
frame0=sand1.tga
frame1=sand1_b1.tga
+
frame1=sand1_b1.tga
frame2=sand1_b2.tga
+
frame2=sand1_b2.tga
frame3=sand2.tga
+
frame3=sand2.tga
frame4=sand2_b1.tga
+
frame4=sand2_b1.tga
frame5=sand2_b2.tga
+
frame5=sand2_b2.tga
 
  }
 
  }
  

Revision as of 17:57, 26 August 2014

Tyres need 2 textures, one for the tread and one for the sidewall.

Blur and wear and wet version of the tread

  • Create a text file named tread.txt in the folder where the tread texture is located
  • Fill it with the filenames of the 23 additional textures for all the wet, wear and blur combinations:
tread_b1.tga
tread_b2.tga
tread_w1.tga
tread_w1_b1.tga
tread_w1_b2.tga
tread_w2.tga
tread_w2_b1.tga
tread_w2_b2.tga
tread_w3.tga
tread_w3_b1.tga
tread_w3_b2.tga
tread_wet.tga
tread_wet_b1.tga
tread_wet_b2.tga
tread_wet_w1.tga
tread_wet_w1_b1.tga
tread_wet_w1_b2.tga
tread_wet_w2.tga
tread_wet_w2_b1.tga
tread_wet_w2_b2.tga
tread_wet_w3.tga
tread_wet_w3_b1.tga
tread_wet_w3_b2.tga
  • Make sure that all textures exist in the same folder of the base texture, and that they have the same size.

Dirt Layers

numlayers=3
layer1
{
numframes = 6
map=nobase_tiretread_marbles.tga
frame0=tiretread_marbles1.tga
frame1=tiretread_marbles1.tga
frame2=tiretread_marbles1.tga
frame3=tiretread_marbles2.tga
frame4=tiretread_marbles2.tga
frame5=tiretread_marbles2.tga
}
layer2
{
numframes = 6
frame0=grass1.tga
frame1=grass1_b1.tga
frame2=grass1_b2.tga
frame3=grass2.tga
frame4=grass2_b1.tga
frame5=grass2_b2.tga
}
layer3
{
numframes = 6
frame0=sand1.tga
frame1=sand1_b1.tga
frame2=sand1_b2.tga
frame3=sand2.tga
frame4=sand2_b1.tga
frame5=sand2_b2.tga
}


export the EDF files of the tyres

TO BE CONTINUED...