Dear Manuel,
thanks for the quick response.
I already tried Tonatiuh on the heliostat fields provided as example files and I came across the issue with the sluggish UI.
As you mentioned there are some solutions to that.
So far we are using a Matlab-wrapper for SolTrace, which mirrors all methods and properties of the SolTrace UI
and creates a script file. This script file can be run on SolTrace startup from the command line when Matlab
executes SolTrace.
I guess this is also possible with Tonatiuh's scripts, right?
Separating the raytracing kernel from Tonatiuh would make it easy to attach it to Matlab / R / ..., e.g. by
using xml-input that set parameters like output file, optics, scene without using the UI at all.
I was looking into some raytracers like LuxRender, POVRAY, Yafaray and Blender
but as far as I understand it is not possible to use them.
They shoot the rays from the user's point of view into the scene and make further simplifications
to find the light source.
As far as I understand a "path tracer" shoots rays into the scene from the user's point
of view, but these rays in fact have to reach the light source to be "valid".
This the opposite direction of what SolTrace and Tonatioh do, but maybe
it is possible to tweak a Monte-Carlo path tracer to fit our task.
Can't be that difficult just to flip the ray direction. :)
This is free software I found so far:
Embree (
http://embree.github.io) is a fast path tracer for the CPU written by Intel, open source, cross-platform.
It is possible to add user defined surfaces like in Tonatiuh by providing the bounding box and the intersection
function.
But I still think using OpenCL with the option on GPU usage would be a better choice.
These are small examples of path tracers using OpenCL:
Very small example of a OpenCL path tracer
https://github.com/pklall/OpenCL-Pathtracerhttp://www.luxrender.net/wiki/Luxrender_and_OpenCLhttp://davibu.interfree.it/opencl/smallptgpu/smallptGPU.htmlKind regards,
Walter