|
Now I have to create a UI for users to be able to control the frame's creation.
There's a contoler that controls the top left Z value and another that controls the top right's Z value.
If these two number are equal the frame will stay symetrical and parallel to the bottom of the frame. Otherwise the frame will look more like the one in the picture above.
|
|
The next two controllers manipulate the top and bottom right's X value.
Once agian if these numbers are equal the frame keeps parallel.
This time the frame will get wider rather than taller. If you want you can make the frame have unique shapes like the one to the left.
This is achived by offseting the numbers. |
|
Okay two more controlers... First the top and bottom Z scalers. these add more width to the "Frame Pieces".
I added width to the top and bottom of the frame. |
|
Finally the Pinches... These pinch the tops and bottoms...
If these are done equally the left and right pieces get wider.
So what else is in store for this script... Possibly a way to place a random texture on it. Maybe a way to move the duplicate frame. |