Jump to content

  • Log In with Google      Sign In   
  • Create Account


Lode

Member Since 29 Mar 2002
Offline Last Active Aug 18 2014 05:26 PM

Posts I've Made

In Topic: Something between bilinear and bicubic interpolation?

16 August 2014 - 02:35 AM

I personally prefer Bezier (it doesn't overshoot, hits each control point exactly, and look absolutely gorgeous).

 

How does that work? The cubic bezier on Wikipedia does not hit each control point, only the outer two - but then it's also 2D intead of 1D:

 

http://en.wikipedia.org/wiki/B%C3%A9zier_curve

 

Can this be calculated in a way similar to bicubic interpolation? I couldn't find anything.

 

THanks a lot!


In Topic: Other uses for matrices in games?

06 August 2014 - 10:14 AM

The entire game '2048' is a matrix :)

If empty cells are zeroes.


In Topic: Something between bilinear and bicubic interpolation?

04 August 2014 - 12:20 PM

Awesome! That is a great idea and works great, thanks!

 

EDIT: never mind the other comment I posted here, Smoothstep does look visually better than http://dinodini.wordpress.com/2010/04/05/normalized-tunable-sigmoid-functions/ :)


In Topic: good random permutation?

03 August 2014 - 04:54 PM

World generation:

On the left: ugly patterns of trees (the dots)

On the right: good pattern of trees with your code :)

 

hnJbTyN.png


In Topic: good random permutation?

03 August 2014 - 02:50 PM

Thanks for pointing that out. That last one works nicely. But if I remove the last 4 lines (before return x), then the patterns look ugly. Seems like that additional repetition of similar things fixes it. So, works great, but I'm going to experiment to try removing some lines :)

Do you have any explanation why some of these give ugly patterns in results, while others look very random? Thanks!


PARTNERS