burgoofj
06-06-2002, 11:40 PM
Hi folks,
I'm struggling with the windows on my locomotive. The windows are transparent, but when you look through the locomotive you cannot see the scenery objects on the other side.
A bit more of an explanation. The loco is modeled using TSM. The windows are made with an alpha channel on the textures. When assigning the materials to the cab, the outside is alphanorm+, the inside alphanorm-. Other combinations work the same as long as the inside is "less" than the outside. I can see into the locomotive and see the interior and can see outside the loco from the interior just fine. The problem is when looking completely through the locomotive. Scenery objects are not visible. Tracks, roads and the ground can be seen, but not buildings, trees and other objects.
I can solve this problem if I do the following. Make the material of both the interior and exterior of the cab TransNorm. However, I originally made my alpha channel with rgb values of (48,48,48) on the window area. This works fine with an alpha material, but with a trans material, it's not transparent. If I change the RGB of the window areas to something like (8,8,8) then using the TransNorm materials and everything works.
Now I just think the less transparent values look a little better, and would like to keep them. Also I would like to understand the reasons for what I am seeing.
Thanks in advance for any help on this issue, and thanks for all the information you all have provided in the past.
Frank Burgoon
I'm struggling with the windows on my locomotive. The windows are transparent, but when you look through the locomotive you cannot see the scenery objects on the other side.
A bit more of an explanation. The loco is modeled using TSM. The windows are made with an alpha channel on the textures. When assigning the materials to the cab, the outside is alphanorm+, the inside alphanorm-. Other combinations work the same as long as the inside is "less" than the outside. I can see into the locomotive and see the interior and can see outside the loco from the interior just fine. The problem is when looking completely through the locomotive. Scenery objects are not visible. Tracks, roads and the ground can be seen, but not buildings, trees and other objects.
I can solve this problem if I do the following. Make the material of both the interior and exterior of the cab TransNorm. However, I originally made my alpha channel with rgb values of (48,48,48) on the window area. This works fine with an alpha material, but with a trans material, it's not transparent. If I change the RGB of the window areas to something like (8,8,8) then using the TransNorm materials and everything works.
Now I just think the less transparent values look a little better, and would like to keep them. Also I would like to understand the reasons for what I am seeing.
Thanks in advance for any help on this issue, and thanks for all the information you all have provided in the past.
Frank Burgoon