The method Init() is called at the start of the rendering process. This function is a good place to perform some time consuming computations, which dos not need to called for each testing point. Furthermore, the reading of global parameters should be performed here, because the user is able to change some global parameters while the rendering process is running.

public override void Init() {
base.Init();
}