Added a demo app based on "Luke Hoban's Raytracer in one line LINQ code". Like Luke's code is not an example of how LINQ should be used; this is not an example of how obtics should be used! It was usefull just to prove that it can be done and for performance testing. It requires the parallel extension library and the 'Debug - Parallel' or 'Release - Parallel' solution configuration needs to be used.ObticsRaytracer
renders a 3d scene (builds it up out of transformation pipelines containing hundreds of transformation elements; that why it is slow!) and then changes the color and positions of the lights. The rendered scene is reactive to those changes and will reflect them automatically. The rendering and updating will be done on multiple cores if available.
When downloading the binaries and running test.exe; the following parameters can be passed:
one or more of the numbers from 0 to 6 and 10 to 23
specifying a different test query.
test.exe i 0 2 3
Check out source code for details.