pioneerspacesim/pioneer — pull request #1277 by Ae-2222 (2012-05-31 12:43:42+00:00)
Title: Terrain color earth like/tf poor optimisation

Minor optimisation which reduces the _decrease_ in performance when textures are enabled. It affects terrain with EarthLike and TFPoor colours.

As I discussed with @s20dan a while back (calculating fractal textures only as needed by each point) ..

**Results:**
Fractal detail very high (important), detail distance very high (shouldn't matter but makes generation take a long time so observing is easier), release mode on msvc.

Vtx/sec counts:

Without optimisation: Without textures: ~88k With textures: ~69k
With optimisation: Without textures: ~88k With textures: ~83k