Author Topic: materials File ??  (Read 450 times)

Offline Nr_RaVeN

  • Gold Member
  • *****
  • Posts: 2226
materials File ??
« on: December 23, 2005, 01:20:14 PM »
Ok I've been playing around with the file. Things change for the better or worse depending of how far the values are tweaked.. does anyone know, or can you define  what each value deals with?


materials file.

0.259,0.259,0.259,Ambient  < what's that do
0.659,0.659,0.659,Diffuse    < what's that do
0.000,0.000,0.000,Emissive < what's that do  !!! (color seems to get richer)
0.408,0.408,0.408,Specular < what's that do
33.420,Power                       < what's that do

Thanks RaVe
Life is short. PLAY HARD...

"Have patience. All things are difficult before they become easy."
Saadi

Offline SkyChimp

  • Parolee
  • Gold Member
  • *****
  • Posts: 2214
materials File ??
« Reply #1 on: December 23, 2005, 04:43:03 PM »
In aces high we use a material.txt ex:
0.250,0.250,0.250,Ambient
0.650,0.650,0.650,Diffuse         <<<-Used that on my "cow" Ki84:D
0.000,0.000,0.000,Emissive
0.110,0.110,0.110,Specular
10.000,Power

Quote
Originally posted by Knite
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)

Offline Nr_RaVeN

  • Gold Member
  • *****
  • Posts: 2226
materials File ??
« Reply #2 on: December 23, 2005, 07:28:48 PM »
Thanks SC
:aok
Life is short. PLAY HARD...

"Have patience. All things are difficult before they become easy."
Saadi

Offline Knite

  • Silver Member
  • ****
  • Posts: 805
materials File ??
« Reply #3 on: December 26, 2005, 10:55:53 AM »
Hey wait, I recognize that note.....


;-)
Thanks SC. =)
Knite

39th FS "Cobra In The Clouds"

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

Offline Nr_RaVeN

  • Gold Member
  • *****
  • Posts: 2226
materials File ??
« Reply #4 on: December 26, 2005, 11:04:48 AM »
AkA... SC?
Life is short. PLAY HARD...

"Have patience. All things are difficult before they become easy."
Saadi