Quote:
|
Originally Posted by aaeamdar
I don't really get it. A GUI for lookup tables? That shows graphs?
Confused,
Paul Dennis
|
No, no graphs. Let's say that you want a lookup table for tangent (just like in the screenshot I attached). You want input values of 0-255 in increments of 1, with 0 being itself and 255 being 2pi. (This program uses radians, btw.) So your function would be:
f(x) = tan((x/255) * (2pi))
So you enter that function, click generate, and bam, there's your lookup table.
Or, just to illustrate my point, you could do this:
f(x) = x
And it would generate a lookup table of {0, 1, 2, 3, 4, ...... 0xFE, 0xFF}.
Sorry if I've been unclear, or I'm writing this too fast... I can try to explain it again if you don't understand, or you might want to download the program and play around with it a little.