CG -Material with alhpa

I have a plane and the plane has assigned a alpha texture ( i mean black for transparency and white for opacity). In the .shd file i have:

Code:
shader_usao_a~vf_standard_transparent
{cast_shadow=0
sort_offset=0
    layer0
    {
        map=usao_a.tga
    }
}

When i start the game, i can see that the texture image works good, but the uvw don't work, the texture is not assigned to the object as it should be. Thank you.
 
Ok i was wrong because the textures were not sized multiplied by 2. :)

Please can anyone tell me how i put dials at correct position in a car? What reference points shoud i use ? The dials appear but they are in the air, not at their place, i tried to modify the position but i cant find nothing logical, i can not understand how i setup the correct position. In 3ds max i work with milimeters scale for higher accuracy .please help!
 
The dials ae placed at the x,y,z loaction on the dashboard mesh but just a little bit to the rear of the dash.
The needles are placed using the views.ini file. Check a car to see how it is done as reference.
 
Yes i know that views.ini file include the needles positions.I said that i put the needles in views.ini and i tried diffrent positions but never at the correct place, the needles are in air, not at correct place near the dash, so.. i can not find the correct position using 3ds max coordinates.
 
It's all trial and error. X is left(+)right(-), Y is up(+)down(-), and Z is forward(+)backward(-).
To avoid the trial-and-error approach, personally I import the model in ZModeler 1, hide every poly except the ones of the dials in the dash, and move the mouse in the 2D windows where the needles should be, in high zoom. You can see the coordinates in the status bar (lower right corner).
 
Ok so this is my dashboard, the interior of the car contains only 4 easily modelled planes,each with an alhpa image( the dashboard,the mirror, the roof and the door. I like how it looks,even is 2D, not 3D.
Now the problem is that the wheel doesn't work because it is part of the alhpa image and the needles also dont work but i can make them work if i put the correct position of the needles. :)
 

Attachments

  • 3222.jpg
    3222.jpg
    157.3 KB · Views: 294
separate the wheel and put it in new texture, create a plane, throw the steering wheel texture on it and your done/
 

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top