Frederic BOUVIER wrote:
Erik Hofman wrote:

Frederic BOUVIER wrote:


I noticed that recently the ambient color disappeared from materials.xml. Unfortunately, fgsd was relying on this property to draw the scenery. I had to develop a routine that loads the texture and compute the average color on the fly.

That's another issue. You should set the defaults as defined in the header of the file if no color/ambient/diffuse/specular or shininess is defined.


Yes and No. If you want to show your scenery in FG untextured, you'll need
some color information. (fgsd always show the scenery untextured )

Ah, that *is* the same issue, but then you meant the <r>,<g> and <b> color (and not ambient) tag.


Using the same default color for all kind of material (except the few that have
a special setting ) will give you a rather boring landscape.

True.


Erik


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

Reply via email to