Jump to content
Sign in to follow this  
arno

Landing lights

Recommended Posts

Guest

I was wondering what makes the reflection of the landing lights possible to see on the tarmac - light or special code for tarmac polygon? I know already from the experimentation that landing light and reflection used in connection with other object but the plane, goes on and off depending on the altitude and distance of the observer. Ted

Share this post


Link to post
Share on other sites

I think it is just the code of the landing light. The scenery engine then know where to draw the light. The ground polygons are just normal.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest

Thanks Arno, If it was coding of the light responsible for wash effect, why lights do not reflect (wash) against buildings or any object positioned underneath them? I shall experiment little further to see what surfaces they reflect against and what not.Ted

Share this post


Link to post
Share on other sites

I think they only shine on objects that are not defined in a PerspectiveCall (so not a 3D objects). I think it is just the same as the shadow that does not show on ground polygons made with GMax, because they are then made as 3D object.Probably the shadow and the light are drawn on a specific layer by the engine and 3D objects are drawn later and therefore show no shadow/light.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest

Yes, it is probably as you say. "Landing lights" switch in FS menu affects only reflections on the ground and not landing lights itself -they remain still on. Shape of reflection wash is square which is clearly (and ugly) visible when one changes visibility option and introduce the fog. They shine on any 2D poly object on the ground including water. I think there is not much here to investigate further. But again I may be wrong....BTW, is there any way to introduce SDL macros into gMax objects converted with mkmdl? How to make the lights go off for the day?Ted

Share this post


Link to post
Share on other sites

You can do that by changing the BGLC code by hand. I have done something like that to let the texture change with the seasons. If you look at the GMax tips on my site (link below) you can find that piece of BGLC code. If you check on the time of day instead of season of year you could also remove a light.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...