Running in Nuke
Make sure you've setup the CMake as in the examples or read the CMake example here.
Once setup, run this command (commands may vary on Windows):
cmake . -B build && cmake --build build
This will automatically build the Rust project and statically link it to the Nuke binary.
Test in Nuke
When built, before launching Nuke, add the build lib to the NUKE_PATH environment:
export NUKE_PATH="/path/to/this/directory/build/lib":$NUKE_PATH
Then once you've opened Nuke, you can press x and enter the node name ExampleUVOverlay.
When rendering, it will overlay the x and y coordinates in the red and green channels. And overlay it on input image.
This processing is all done with the Rust library at src/lib.rs.
