From: "Frederic Bouvier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 21, 2002 4:58 PM Subject: Re: [Flightgear-devel] lighting
> From: "David Megginson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, July 21, 2002 4:31 PM > Subject: re: [Flightgear-devel] lighting > > > > Curtis L. Olson writes: > > > > > However, the C172 still stays fully illuminated all the time, even in > > > the dead of night. Futhermore it is not shaded at all during the day > > > relative to sun position. So, I my theory at this point is that this > > > model must have the emmissive property set???? so it is always fully > > > self illuminating? > > > > The glow (as opposed to sun illumination) is the result of a different > > and strange effect -- it depends on the non-textured rgb value of the > > surface, even though the surface is textured. Set rgb in the *.ac > > file to 1 1 1 (the default for many AC3D models exported from Blender) > > and the model glows at night; set rgb to 0 0 0 and the model is always > > black, even in the day time; set it to .5 .5 .5 and the model is > > always grey, etc. > > > > But wait, there's more ... > > > > For reasons unknown, the effect is different depending on whether > > you're inside or outside the plane. This is best illustrated by two > > screenshots of the same buildings, one from inside view and one from > > outside view: > > > > http://www.megginson.com/flightsim/inside-lighting.jpg > > > > http://www.megginson.com/flightsim/outside-lighting.jpg > > > > Notice that not only the plane starts to glow, but also the water > > tower and most of the buildings. For some reason, the rgb colour gets > > blended with the texture in external view (also in the two tower > > views) but not in cockpit view. > > I have just noticed that too, but models I send you yesterday are not > glowing. Compare small-glass-office-building and cube-apartment. > The first glow and not the second in the external (chase) view. > I think your textures are rgba while mine are only rgb. Going to verify > that point. > > Wait... the tower-hexa only glow on certain faces and not on others. > It's going strangers... Confirmed: when the tower-hexa-2.rgb is rgba, it glows, and when it is only rgb, it don't glow anymore. Only in external views. Perhaps because in the inside view, we are looking through the window ! Cheers, -Fred _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
