Add more option types
Is your feature request related to a problem? Please describe. Options generation from .json file was added in https://github.com/f3d-app/f3d/pull/1471, but only a few types were added:
- bool
- int
- double
- ratio
- double_vector
- string
Lets add more types.
- [ ] direction (specialisation of double_vector): https://github.com/f3d-app/f3d/issues/1645
- [ ] color (specialisation of double_vector)
- [ ] path (specialisation of string)
- [ ] rgba_colormap (specialisation of double_vector)
To add a type it is needed to:
- Add it to types.h with the correct API
- Add a naive parse/format methods to options_tools.h.in
- Use it for at least one option in options.json
- Add testing in TestSDKOptions*
Is this issue still open? If it is I would like to work on it.
Yes it is open! Lets discuss this one discord though :)
sure lets discuss on discord
Good afternoon, I was wondering if this issue was still open? If so, is it possible I could work on it?
It is still open but @Yogesh9000 is working on it in https://github.com/f3d-app/f3d/pull/1648
fixed by the addition of colormap: https://github.com/f3d-app/f3d/pull/2061