p-otto / glkernel

C++ library for pre-computing noise, and random sample-kernels.
MIT License
0 stars 0 forks source link

plan and discuss scripting and serialization capabilities #2

Closed cgcostume closed 6 years ago

cgcostume commented 6 years ago

This issue should be used to gather information if and how glkernel api should be exposed for scripting using cppexpose and if this makes any other input serialization except for script obsolete.

p-otto commented 6 years ago

We will need to register the glkernel functions in the scripting language, so we need to be sure that this feature is supported by the scripting library.

We plan to research multiple scripting APIs:

Additionally to loading scripting files, we want to directly load a serialized kernel file (probably JSON), so that it can be exported to other formats, e.g. images.

p-otto commented 6 years ago

We need to support importing of kernels and operating on them. One easy case to start with would be madd of two imported kernels.

We also want to iterate over kernels in the scripting language.

Make sure the error messages are parseable.

p-otto commented 6 years ago