Print at Jan 19, 2022, 7:55:02 PM

Posted by enkonyito at Nov 22, 2019, 1:14:35 AM
Re: YafaRay rendering plug-in
Avoid to touch the native YafarayRenderer.cpp file used as a bridge to YafaRay if you don't know JNI (Java Native Interface), but it shouldn't be necessary.

After generating the YafarayRenderer.h file, modifying the YafarayRenderer.cpp file, adding the include and lib folders, rendering returns the error
Exception in thread "pool-7-thread-1" java.lang.UnsatisfiedLinkError: betaTestPlugin.YafarayRenderer.createEnvironment(Ljava/lang/String;Ljava/lang/String;)J
at betaTestPlugin.YafarayRenderer.createEnvironment(Native Method)

The YafarayRenderer.class file is located in the bin/betaTestPlugin project folder.

What is the best way to use the YafaRay rendering engine in another plugin (derived version)?
standby before shutdown