| __text__TEXT__data__DATAb__cstring__TEXTx__picsymbolstub2__TEXT p__la_sym_ptr2__DATA D__nl_symbol_ptr__DATA __textcoal_nt__TEXT  @Xl PLUWVS P 5VP UPE䋃 VP uP VPj P VPN uVP6 P VP uP VP P VP uVP P VP uVP uP VPz P VP^ P VPB 5P VP& P VP P VP 5 P VP U P VP P VP P VP~ WVPh U P VPL WVP6 P VP uVP P VP  P VP 4 P VP N P VP h P VPv P VPZ P VP> P VP" P VP uVP P VP U P VP P VP uVP  P VPf u P VPJ P VP. uVP e[^_]This program uses a modified form the mid-point displacement algorithm%s after the stage2 updateThe mid-point displacement algorithm is a recursive algorithm, each iterationdoubles the resolution of the grid. This is done in 2 stages.A B A B A F B stage1 stage2 ---------> E --------> G E HC D C D C I DThe new points are generated by taking an average of the surrounding pointsand adding a random offset.The modifications to the standard algorith are as follows:There are three optional regeneration steps to reduce "creasing". Aregeneration step recalculates the height of existing points using anaverage and offset from a newer generation of points. The threeregeneration steps are: rg1: recalculate corner points (A,B,C,D) from the midpoints (E) after the stage1 update. rg2: recalculate midpoints (E) from the edge points (F,G,H,I) rg3: recalculate corner points (A,B,C,D) from the edge points (F,G,H,I)The regeneration stages are turned on by the smoothing parameter (-s flag) flag rg3 rg2 rg1 0 off off off 1 on off off 2 off on off 3 on on off 4 off off on 5 on off on 6 off on on 7 on on onWhen performing the regeneration steps the random offset is added to aweighted average of the previous value of the point and a the average ofthe new points. The weighting factors are controlled by the -X and -Y flags.The -x flag (cross update) controls whether the midpoints (E) are includedin the average when performing the stage2 update or if only the cornerpoints are used.#⍀P $Ë$þ   ~ w nb [ RC :. '  `          zn g ^R Ks B6 /Y & ?  %       | u` l_ VJ C :. '  `  @      @   vj c ZN G >/ &           z s j^ W NB 8` /#@  '       * [aB_print_algorithm___i686.get_pc_thunk.bx___i686.get_pc_thunk.axdyld_stub_binding_helper___sF_fprintf