Blockland Forums > Suggestions & Requests

Brick terrain generation by simplex noise

Pages: (1/3) > >>

Axolotl:

http://www.paulinternet.nl/?page=bicubic

oh god help meeeeeeeeeee

idk how to do it.

rlcbm:


--- Quote from: Axolotl on July 24, 2012, 05:46:20 PM ---http://www.paulinternet.nl/?page=bicubic

oh god help meeeeeeeeeee

--- End quote ---
what is that

Axolotl:


--- Quote from: rlcbm on July 24, 2012, 05:46:50 PM ---what is that

--- End quote ---
something that you will learn in years to come

Axolotl:

wait, I think I might be able to solve my own suggestion.

I'm working on a cubic interpolation function.


--- Code: ---function cubicInterpolate1D(%pa,%pb,%pc,%pd,%x)
{
%ax3 = (((-1/2) * %pa) + ((3/2) * %pb) + ((-3/2) * %pc) + ((1/2) * %pd)) * mPow(%x, 3) //generate ax3
%bx2 = (%pa + ((-5/2) * %pb) + (2 * %pc) + ((-1/2) * %pd)) * mPow(%x, 2); //generate bx2
%cx = ((-1/2) * %pa + (1/2) * %pc) * %x) //generate cx
return %ax3 + %bx2 + %cx + %pa
}
--- End code ---
idk if this generates correct results.

Planr:

wtf are you trying to do axolotl? this looks like rocket science to me

Pages: (1/3) > >>

Go to full version