Author Topic: need help with material.txt on p-38G  (Read 502 times)

Offline Citabria

  • Platinum Member
  • ******
  • Posts: 5149
need help with material.txt on p-38G
« on: July 17, 2005, 11:07:40 AM »
how do I alter the antiglare panels to match the rest of the planes new material settings?

everything ive tried only changes the area of the skin that would be metal on later p-38 models.

very frustrating please help
Fester was my in game name until September 2013

Offline SkyChimp

  • Parolee
  • Gold Member
  • *****
  • Posts: 2214
need help with material.txt on p-38G
« Reply #1 on: July 17, 2005, 01:56:18 PM »
0.250,0.250,0.250,Ambient
0.650,0.650,0.650,Diffuse
0.000,0.000,0.000,Emissive
0.110,0.110,0.110,Specular
10.000,Power

I don't know check that out =)

If u need any images hosted email me.
skychimp@cox.net

Offline Knite

  • Silver Member
  • ****
  • Posts: 805
need help with material.txt on p-38G
« Reply #2 on: July 18, 2005, 04:01:26 PM »
Hi Citabria =)

I don't beleive you can adjust the anti-glare panels at all. I beleive those specific polygons have the specular

highlights turned off, so you cannot really adjust the "glare" of them.

Here's a little guide as to what each section of the materials.txt file is....

Ambient - This is the "default" lighting on the aircraft. This affects the whole aircraft in a sort of "flat"

manner, in that the light on the top and the bottom (and every other angle) is exactly the same. With this setting,

you can make your aircraft lighter, darker, or even change its color some.

Diffuse - Diffuse lighting is the brightness of a light source between the ambient (default) and the specular

(highlights). Diffuse lighting adds some directional lighting to an aircraft, without giving it that "shiny" look.

Emissive - Emissive (as far as I can tell) is the "glow" of the aircraft. For a very shiny metal plane, it might

actually be ok to add some Emissive light, as a metal aircraft will reflect light off itself and onto surrounding

areas. Emissive isn't lighting of the plane, but light EMINATING from the aircraft.

Specular - Specular is the "highlights" or "glossy parts". The higher these numbers, the brighter or more glossy the

aircraft becomes. In the case of an anti-glare panel, I beleive that they are 0.000, 0.000, 0.000

Power - No idea yet =)

As far as the way the numbers go...

0.xxx, 0.yyy, 0.zzz

xxx - The red component of the light
yyy - The green component of the light
zzz - The blue component of the light

On a metal aircraft, I migh make the specular something like
0.800, 0.800, 0.875
Which would basically mean the aircraft is a very glossy aircraft, and has a slight blue tinge to the gloss effect

(kind of a pseudo reflection of the blue sky).

Hope that helps some =)

(BTW, good thing I copied this into a text file. Forums went poopie this morning. LOL)
Knite

39th FS "Cobra In The Clouds"

I'm basically here to lower the 39th's score :P

Offline Kev367th

  • Platinum Member
  • ******
  • Posts: 5290
need help with material.txt on p-38G
« Reply #3 on: July 20, 2005, 11:14:24 AM »
Yeah unfortunealy you can't do anything about the anti glare panels. Its built into the model. Ditto for the spinners.
AMD Phenom II X6 1100T
Asus M3N-HT mobo
2 x 2Gb Corsair 1066 DDR2 memory