; Strada sterrata
; tratto di 25 metri
; texture proviente da BKLB di 


; NOTE: alzato di 2 cm. la parte finale (z=26) per evitare tremolii nelle sovrapposizioni


;strada in terra battuta con margine erboso
CreateMeshBuilder,
AddVertex,-3,0.665,26,		; 0 - MODIFICATO Y + 0.02
AddVertex,-2,0.40, 26,		; 1 - MODIFICATO Y + 0.02
AddVertex,14,0.38, 0,		; 2
AddVertex,13,0.645,0,		; 3

AddVertex,2, 0.40, 26,		; 4 - MODIFICATO Y + 0.02
AddVertex,18, 0.38, 0,		; 5

AddVertex,3,0.665,26,		; 6 - MODIFICATO Y + 0.02
AddVertex,19,0.645,0,		; 7

AddFace,0,1,2,3,;	     	fascia sinistra
AddFace,1,4,5,2,;		fascia centrale
Addface,4,6,7,5,;       fascia destra
GenerateNormals,

LoadTexture,carrareccia.bmp,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0,0.165,
SetTextureCoordinates,2,3,0.165,
SetTextureCoordinates,3,3,0,
SetTextureCoordinates,4,0,0.835,
SetTextureCoordinates,5,3 ,0.835,
SetTextureCoordinates,6,0,1,
SetTextureCoordinates,7,3,1,

;erba lato sx
CreateMeshBuilder,
AddVertex,-10,0.665,26,		; 0
AddVertex,-3,0.665,26,		; 1
AddVertex,13,0.645,0,		; 2
AddVertex,6,0.645,0,		; 3
AddFace,0,1,2,3
GenerateNormals,

LoadTexture,erba_molto_rada.bmp,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,


;erba lato dx
CreateMeshBuilder,
AddVertex,10,0.665,26,		; 0
AddVertex,3,0.665,26,		; 1
AddVertex,19,0.645,0,		; 2
AddVertex,26,0.645,0,		; 3
AddFace,3,2,1,0
GenerateNormals,

LoadTexture,erba_molto_rada.bmp,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,2,
SetTextureCoordinates,3,0,2,
