Sean Meighan
Software => Nutcracker Effects => Topic started by: Loufe on May 09, 2021, 01:56:09 PM
-
Hi all, I'm working on a project which I can't seem to get the existing effects to suit exactly how I'd like. I was wondering if there were any resources for helping development of effects. I don't see any references in the manual and I could only find the .xpm files in the source code.
Thanks
Lou
-
It takes a lot of work to add a new effect. You need to be able to follow the instructions to build the code yourself first. Then you'd need to learn how existing effects work. It takes using CodeBlocks to create the dialog windows for the effect and then you create files that contain your new fancy algorithm. Then you need to use something like the Greenfish Icon creator tool to create an effect icon and then know how to "fix" the XPM file so it defines it as const and compiles properly. Usually easier to just learn to use the tools already in the toolbox.
-
Another approach, depending on the prop, is to create an avi file of the desired look and simply use the movie effect.
-
The other option is to write a shader. The shader stuff is super powerful and can do a ton of things.