Erik Hofman <[EMAIL PROTECTED]> said:

> Jim Wilson wrote:
> > Erik Hofman  said:
> > 
> > 
> >>Erik Hofman wrote:
> >>
> >>
> >>>I experimented with the values ac3d uses for all it's default colors and 
> >>>in the end I'm happier with them and would like to commit it to CVS.
> 
> > 
> > Are you talking about changing light properties or material properties?
> 
> This will change the ambient, specular and diffuse colors as defined in 
> the materials.xml file *and* involves changes to Lighting/ambient and
> Lighting/specular.

I'm not familiar with how the material properties for the scenery are handled.
 There's indication in the materials.xml file that material colors are not
used unless the textures are turned off.  In any case the diffuse color I
would think ought to be full white for anything textured.  The ambient value
is the percentage of ambient light that is reflected by a material (added on
to diffuse).

You can try _decreasing_ the ambient value in the material properties which
should increase the shading contrast in the scenery without changing the
ambient light value.  If everything is working correctly in the rendering
code, using a material ambience of 0.500 and a light ambience of 0.080 should
give you the same result as a light ambience of 0.200 and material ambience of
0.200 (both multiply out to 0.04).

In any case the default material property values in ac3d are not the same as
the light properties.  I'm not sure what he's using for the lights.  AFAIK
they can't be adjusted.

Best,

Jim

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to