dear louisepb,
Now that I need to create a piece of yarn that can be generated in the path I gave, do I need to re-add an interpolation function?And How can I create a new interpolation function in TEXGEN?
Thanks.
Yarn for a given path
Moderators: Martin, Developers
Re: Yarn for a given path
Hello,
If you have added nodes for a yarn in the user interface then you can change the interpolation function used as described here: https://texgen.sourceforge.net/index.ph ... erpolation
If you are writing a script then the interpolation function can be assigned in the script. The scripting guide is here: https://github.com/louisepb/TexGenScriptingGuide
To write a new interpolation function you would need to build that TexGen code and write a new class in the C++ code inheriting from the CInterpolation base class.
Hope that helps,
Louise
If you have added nodes for a yarn in the user interface then you can change the interpolation function used as described here: https://texgen.sourceforge.net/index.ph ... erpolation
If you are writing a script then the interpolation function can be assigned in the script. The scripting guide is here: https://github.com/louisepb/TexGenScriptingGuide
To write a new interpolation function you would need to build that TexGen code and write a new class in the C++ code inheriting from the CInterpolation base class.
Hope that helps,
Louise