Inputting single coordinates into GL objects
Nov 21 2007 | 10:33 am
Hi there,
I was wondering whether anyone could tell me if there is a convenient way of inputting single parameters (that are usually part of a list) into GL objects, such as gridshape.
I'm interpolating between different values for a single, user-selected param (such as x-coord or y-rotation). The other values are, of course, stored inside the GL object, and while i could keep them somewhere else as well, this is extra work and double data storage.
In the example below I built what is necessary to update the X and Y-coord. It works, but it gets a lot bigger when i also want to add rotation, scale, color, blend_mode...
I suppose there is no magical 'position 1.23 $ $' or similar message to just input one? And there are no functions like positionx() in the gl group? Has anyone done something like this before and what would be the best way to do this?
Thanks, Bas.