Author Topic: Hitech: New round of cloud front testing.  (Read 603 times)

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Hitech: New round of cloud front testing.
« on: February 21, 2017, 06:43:25 PM »
Hitech,

Round 1:
In round one of trying to setup terrain wide cloud fronts to be a weather system, I achieved crashing both DX9 and DX11. My method to keep a semi permanent cloud layer over strategic targets like the HQ\strat and ports was fine while testing with only those objects on the terrain covered. At some point after that I exceeded some threshold and the crashdumps started happening and were reproducible. The method was to create a full front with a start time of -0.02 and cooling down period of 0.00. Then place a complete copy front just behind it's spawn edge set to start time at 1\2 the first front's total life span time with a cool down of the same period.

Also at some point of exceeding a threshold I caused crashdumps by sitting in an open feild in a GV while cycling through the view keys looking at cloud fronts. I saw fronts only being spawned for the first run with no subsequent spawns. And random crashdumps 30 minutes into simply sitting in the tower.

Round 2:
I am creating the permanent layer for the HQ\strat, ports and tank combat crater in the following manner which works better as a mostly permanent layer.

For the area I want to cover I divided it into equal small segments so the front at 70mph will take .08 to run it's lifespan. All fronts that are required to cover the area have the start time, cooling time, speed and so forth the same because I just copy the first line as many times as I need under it in the AWA file. My base line area was the central tank arena crater I've posted earlier screen shots of. The tip of the "V" touches the leading edge of the spawn line of the front ahead of it to create my area coverage with the copied fronts.

It took 5 fronts to keep a semi permanent cloud layer over the tank arena caldera.
Start time: -0.02
Cool down: -0.08
Speed 70mph
Alt - 5500-7000
Cloud type 0cumulus1 - 8Cumulus3.

In practice the layer's bottom is at 6500 and top at 9000 with random openings while still interfering with the scope randomly in a bomber above 9000. 6500 to the bottom of the caldera gives jabo and furballers room to play while keeping them and bombers part of the time in osti\wirbel range. The cloud layer can impact FPS but, the cloud layer acts as a shield up to a point to help the GVers who will be fighting in the caldera's pit. Over more open terrain the cloud layer to cover strategic targets will probably have no impact from the extensive testing I've done with clouds so far.

The next step:

1. - create the cloud covers for the strategic targets, pause and try to crash the terrain. If no crashes happen then work this list.
2. - create 2000ft AGL cloud covers of water ways to assist CV in breaking out from ports. If no crashes happen.
3. - create cloud fronts for the whole terrain.
4. - as I create cloud fronts try to crash the terrain until I either have my weather system or achieve a crash. If a crash, pull back some number of fronts and crash test replacing fronts until a crash is achieved. This will help to target sacrificing none essential fronts and possible reconfiguration of coverage with those remaining.
5. - crash test for a weekend leaving the terrain running 8-12 hours. Minimize for 30 minute intervals, spawn tanks and run the view keys.

At the point before the previous weather file started crashing the game, my whole arena weather system made flying around the terrain look like the real world.   
   
bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Re: Hitech: New round of cloud front testing.
« Reply #1 on: February 22, 2017, 02:55:34 PM »
I've populated country1 with permanent cloud layers over HQ\strat, ports, and the center tank crater arena. Currently I cannot crash the game.

An FPS issue with the new front configuration for a permanent cover has become obvious. While climbing through and flying level inside the layer my FPS at some points dropped to 40. In some cases looking back and down into the path through the cloud layer would hold the FPS at 40 for a while. The round1 configuration utilized two fronts the size of the coverage area set to 70mph to rapidly fill the area. I'm using 4-6 fronts now to fill the same areas at 70mph. That is a massive amount of redraw activity over the coverage area.

I'm experimenting with lower speeds which has shortened the time period of lowered FPS. I've had to adjust the cooling off period to reduce the occurrences of horizontal spaces between fronts to keep the illusion of one cloud mass. Now I have to reduce all the other fronts over targets to 50mph and reload the file to test the massive permanent cover over the country1 HQ\city\strat complex at the foot of the 26,000ft caldera mountain range. I've got it butting up against the range at 18,000ft and the view from 30k is breath taking for our game.

Below are some screen captures from adjusting the front speeds.


5 cloud fronts over the tank arena crater.




Various shots of reducing the speed to 50mph over the crater.









 
bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Re: Hitech: New round of cloud front testing.
« Reply #2 on: February 22, 2017, 04:17:11 PM »
Side note:

Just did some wirbel and osti testing in the caldera. The bottom of the Pit is 25ft 5000yds diameter with a gallery at 500ft around the circumference. The bottom of the cloud layer is 6500ft. I spawned an osti then a wirbel and set the target to the maximum elevation the 37mm and 20mm will shoot vertical. Both are limited to 89 degrees.

Osti - 2600yds(7800ft) 
wirbel - 1600yds(4800ft)

Since the caldera is 8 miles across with 3000ft walls and the pit is 6 miles across with 1800ft walls. Showing up below the cloud layer is just as dangerous for the bomb**** as it is for the GVer. And gets more dangerous the closer to the bottom of the pit they fly. Aside from the mobile AA we have, some number of players have gotten deadly swatting planes with their main gun.
bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Re: Hitech: New round of cloud front testing.
« Reply #3 on: February 23, 2017, 03:55:01 AM »
From my Dx9 bugcheck report in the bug forum Hitech found the bug but, I should run less than 1900 active cloud rows at the same time.

-------------------------------------
Found the bug causing the CTD. It would also periodically happen with other clouds also. You just had many more clouds so it showed up more often.

One other limitation is that you should have less then about 1900 rows active at one time.

HiTech

-------------------------------------

So far covering the strat and ports for 2 countries and tank crater I'm up to 327 active fronts. When I finish with the third country I will be at about 495. At least now I don't have to guess and run 8 hour tests to try and crash the game.

Wonder how many of the none specific crashes since AH3 went live has been this cloud bug?
bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Re: Hitech: New round of cloud front testing.
« Reply #4 on: February 23, 2017, 08:32:40 PM »
There are times AH3 just looks beautiful.

With the bug fix for cloud related CTD and the new row counter that shows up when you animate the cloud fronts in the editor. I can get this puppy finished up finally. I'm still going to try one last time to crash the game before submitting this terrain.


Permanent cloud layer over the HQ\city\strat up against the 26,000ft caldera mountain range.


bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Re: Hitech: New round of cloud front testing.
« Reply #5 on: February 24, 2017, 12:04:10 PM »
Finished the new weather system and have the hand counted cloud rows at 1429.

Hitech's adjustment to the super large airfield fixed my FPS issue of dropping to 47 sitting on the runway with a cloud cover and ack shooting at the drones. So for the next 12 hours or so I'm going to try and crash the game one last time while checking every single spawn and field for issues.

Note to self: check the ride's for all feilds and make the ack bases near the HQ uncapturable with no rides available or guns mannable. Can't have 163's available everywhere.


View from the cloud editor running the cloud fronts.





Sitting on the runway at a super large airfield, FPS at 60, not 47.


bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.