userMartyn Chapmancancel
branchrust_reboot/main/worldpositiongenerator_optimise_2cancel

5 Commits over 0 Days - ∞cph!

9 Days Ago
Rename timewarning sample name
9 Days Ago
Merge from main
9 Days Ago
Cleanup stuff used for testing. Seems okay.
11 Days Ago
Further optimisations for WorldPositionGenerator - For each potential set of input values passed into the WorldPositionGenerator, each keeps its own array of potential areas in the map. Discard any element which will never pass for that set of input values, saving on computation on all future runs with those input values - Testing the most problematic WorldPositionGenerator (ocean) on a 4.5k map shows that 98% of the potential candidates can be discarded - Need to iron out an issue with the list of candidates always getting smaller when artificially checking every single candidate in each attempt
21 Days Ago
More optimisations for WorldPositionGenerator - Move TryAlignToGround to be part of WorldPositionGenerator::TrySample, gets rid of the mutliple reattempts of TrySample - Skip the work in TrySample if we have determined that there can never be a valid position for the given input values