View Full Version : Tile-able Bezier Surfaces

01-10-2017, 03:24 PM
Is it possible to make a bezier surface "tile-able"
Taking the same Bezier surface and putting it on all 4 sides of a similar center "tile" bezier surface.

Would save the world. Thanks!

01-10-2017, 05:34 PM
To maintain C0 continuity (no gaps), the control points along one edge need to be offset from those on the opposite edge by the same amount.

To maintain C1 continuity (no sharp edges), the tangent vectors also need to be the same on opposing edges.

Pi,3-Pi,0 = kv
P3,j-P0,j = ku
Pi,1-Pi,0 = Pi,3-Pi,2
P1,j-P0,j = P3,j-P2,j

This gives you 16 equations, of which 4 are redundant. So, you get to pick 4 control points (one corner), and the other 12 are dictated by these constraints.

01-11-2017, 07:35 AM
Okay. I feel stupid.

I will try to figure out how to read that.

I may not need bezier surfaces.
Not if I can find something to create an n-dimensional function (infinitely granular line/surface/(n-1)Dimensional-thing that continues in 1 direction. With all Y values unique) that has random (predictably random like md5() ) hills and valleys.