04-23-2013, 04:53 AM
I'm having a bad, bad day....
It seems that the new noise is not optimized enough to make up for the need to generate a bit more of it.
I tried replacing cHeiGenBiomal's cubic noise calculation with the new noise generator, but it's about 5 % slower than the original, because the original doesn't compute full noise for all used biomes. So that's a no-go.
Then I tried replacing cCompoGenBiomal's noise (used for underwater sand / dirt decision) with the new noise, turns out that code path is used only 20 % of the time, so making it calculate the full noise array again slowed things down. Another blunder.
It seems that the new noise is not optimized enough to make up for the need to generate a bit more of it.
I tried replacing cHeiGenBiomal's cubic noise calculation with the new noise generator, but it's about 5 % slower than the original, because the original doesn't compute full noise for all used biomes. So that's a no-go.
Then I tried replacing cCompoGenBiomal's noise (used for underwater sand / dirt decision) with the new noise, turns out that code path is used only 20 % of the time, so making it calculate the full noise array again slowed things down. Another blunder.