c172p-team / c172p

A high detailed version of the Cessna 172P aircraft for FlightGear
GNU General Public License v2.0
80 stars 43 forks source link

Add grain and lightmap effect to interior #472

Closed wlbragg closed 9 years ago

wlbragg commented 9 years ago

I think we need to get this added. I just added an implicit light map and it looks good. We may not need an explicit one unless we have a really good light person that wants to make a map.

Also the grainMap, I am not sure exactly how the grain texture is suppose to look so I asked Thorsten for the example he used in his documentation.His c172p example actually looked really good.

Here is the implicit lightmap effect. lmap

wlbragg commented 9 years ago

Same thing with a bit heavier lightmap setting and a quick and dirty grain effect. Obviously we can do much better. gmap

onox commented 9 years ago

What about an irradiance map?

gilbertohasnofb commented 9 years ago

@wlbragg In the second picture, the interior texture is missing (note how the door is texturized, but not the other "walls").

wlbragg commented 9 years ago

@onox, the first picture is the irradiance. It is only two additional lines of code, We can add that right now.

The second picture is using a grain overlay (and the Irradiance) on the "chassis" only, I hadn't applied it to the door yet. I don't fully understand how to create the grain texture yet, in other words It isn't set correctly and it may not be made correctly. It should add detail to what is already there and in my case it basically replaced it (we can do much better).