

CreateMeshBuilder; quadrante
AddVertex,-0.170, 0.065, 0
AddVertex,0.170, 0.065, 0
AddVertex,0.170, -0.065, 0
AddVertex,-0.170, -0.065, 0
AddFace,0,1,2,3
GenerateNormals
LoadTexture, meter.png
SetTextureCoordinates, 0, 0, 0
SetTextureCoordinates, 1, 1, 0
SetTextureCoordinates, 2, 1, 1
SetTextureCoordinates, 3, 0, 1
SetDecalTransparentColor, 0, 0, 255
;SetEmissiveColor,205,253,254

CreateMeshBuilder; scatola dietro
AddVertex,-0.170, 0.065, 0.05
AddVertex,0.170, 0.065, 0.05
AddVertex,0.170, -0.065, 0.05
AddVertex,-0.170, -0.065, 0.05
AddFace,3,2,1,0
GenerateNormals
LoadTexture, fianco_ammeter.png
SetTextureCoordinates, 0, 0, 0
SetTextureCoordinates, 1, 1, 0
SetTextureCoordinates, 2, 1, 1
SetTextureCoordinates, 3, 0, 1

CreateMeshBuilder; scatola lati
AddVertex,-0.170, 0.065, 0
AddVertex,0.170, 0.065, 0
AddVertex,0.170, -0.065, 0
AddVertex,-0.170, -0.065, 0
AddVertex,-0.170, 0.065,0.05
AddVertex,0.170, 0.065, 0.05
AddVertex,0.170, -0.065,0.05
AddVertex,-0.170, -0.065,0.05
AddFace,0,4,5,1
Addface,1,5,6,2
Addface,2,6,7,3
Addface,3,7,4,0
GenerateNormals
LoadTexture, fianco_ammeter.png
SetTextureCoordinates, 0, 0, 0
SetTextureCoordinates, 1, 0, 1 
SetTextureCoordinates, 2, 0, 2
SetTextureCoordinates, 3, 0, 1
SetTextureCoordinates, 4, 1, 0
SetTextureCoordinates, 5, 1, 1 
SetTextureCoordinates, 6, 1, 2
SetTextureCoordinates, 7, 1, 1