Version: 1.4

Posted: 2009-10-09

Build Requirements: Mac OS X v10.6, Xcode 3.2

Runtime Requirements: Mac OS X v10.6

View Source Code:

Download Sample Code (“OpenCL_RayTraced_Quaternion_Julia-Set_Example.zip”, 15.3K)



Description

This example shows how to use OpenCL to raytrace a 4d quaternion Julia-Set fractal and intermix the results of a compute kernel with OpenGL for rendering.

For theory and information regarding 4d quaternion julia-sets consult the following:

http://local.wasp.uwa.edu.au/~pbourke/fractals/quatjulia/

http://www.omegafield.net/library/dynamical/quaternion_julia_sets.pdf

http://www.evl.uic.edu/files/pdf/Sandin.RayTracerJuliaSetsbw.pdf

http://www.cs.caltech.edu/~keenan/project_qjulia.html

Document Revision History

Date Notes
2009-10-09Updated for bug fixes and api changes
2009-05-13Updated to new API.
2009-04-02Updated to 10A286 seed interface. Update to latest CL API changes in OpenCL-1.0.33.
2009-01-29OpenCL RayTraced Quaternion Julia-Set Example