You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 18, 2023. It is now read-only.
Cyrille Rossant edited this page Feb 26, 2014
·
1 revision
We'll need a system to generate Python and GLSL functions implementing the same logical operations (mostly mathematical equations). Examples:
Transformations on the CPU & GPU
Color space transformations on the CPU & GPU
We could have a specific module for that. I think it should be pretty lightweight. One would provide 1 or several mathematical function(s) as a string (like x' = a*x+b, y' = c*y+d) and the module would create a Python function and a GLSL function. It could also generate the inverse function (or maybe this should be left to the user at first).
Things to work out: data types (vec3 etc.), how to vectorize (NumPy arrays on the CPU, kernels on the GPU) ?