Jump to content
Sign in to follow this  
arno

Autogen Exclusions

Recommended Posts

Haven't had the time to test it yet, but I have made a piece of scenery where I have all (ground)polygons in one Area and each have an own RefPoint with a tight v2 value. I haven't noticed any of these effects here. So I think it is interesting to have a look at that scenery again and see if I can produce the same results. I'll come back about it :).Arno


Member Netherlands 2000 Scenery Team[link:home.wanadoo.nl/arno.gerretsen]Arno's FlightSim World for scenery design hints, tips and other tricks...

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 GerrishGray

Thanks DickAll very interesting. It all goes to show, more and more, that BGL is not really interpreted as a directly executable 'procedural' language and one cannot necessarily rely on the expected behaviour of, for example, jumping to a label.The SDK does describe how the end effect of drawing routines is to place objects into a list of active objects for display, and how this list is sorted for use by the painters algorithm. It also tells us some other similar information. But so many other details of how the BGL language is actually interpreted and implemented are left out or presented in a misleading way ...To be fair to MS, they are rather caught between the devil and the deep blue sea. They want to create a vaguely open architecture that allows third party add-ons because they know this is an important part of the success of FS, but at the same time they have to protect their intellectual property against piracy - not easy to strike a successful balance, I would imagine.Gives us an interesting hobby experimenting with it all, though, eh!To return to Autogen exclusion, what you say about the exclusion effect of some objects persisting even when the object is not displayed on screen shows that the alleged 'jump to the :fail label' is not really what happens at all. The engine still knows about the object that has been jumped over and still uses it for Autogen exclusion, it seems, even though it is removed from the display stack. It looks as though the code might be scanned separately for Autogen exclusion effects, and this could be consistent with the other rather strange behaviours such as the use of the dummy call.By the way, my own testing that revealed the 'not to spec' behaviour of multiple v2 checks did not expose the Autogen effect because I was using 3D objects with little Autogen exclusion effect anyway. The original objective of my test was to confirm (successfully, as it happens) that a large area with multiple objects having separate RefPoint's would not exclude Autogen over the whole area and the discovery of the incorrect v2 effect was just a side effect that I wasn't expecting!The never-ending story goes on and on ...CheersGerrish

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...