02 Oct 10, 08:05PM
(02 Oct 10, 09:41AM)XFA Wrote: Textured clips would open up lots of new possibility's for mapping in ac :]
I'd been suggesting the same idea for a long time without anyone really giving a response until recently. Problem is, each command has a max of four parameters. Regular clips use all four for height, width, length, and offset. Adding a texture parameter makes five parameters. Unless you hardcoded standard clip sizes to functions it would be difficult to create.
If you were hellbent on maintaining four parameters, it would be possible to take two dimension parameters, length and width for instance, and combine them into one parameter, which would then be modified by a formula to retrieve both values again. For instance, let's call this new parameter "dimension." We could decide that for any value between 0 and 16, the clip would have a length equal to that value and a width of 0. At 17, the clip could have a length of 0 and width of 1. 18 to 33, length of 2 - 16, width of 1.
The great part about the above is AC will never know there are more than four parameters; the dimension parameter is translated in Opengl and the rest of AC is not made aware of this.