Visual Computing Source
HDR Rendering with God Rays using OpenCL*
Intel Corporation
Features / Description
This sample demonstrates a CPU-optimized implementation of the God Rays effect, showing how to:
- implement calculation kernels using OpenCL* C99
- parallelize the kernels by running several work-groups in parallel
- organize data exchange between the host and the OpenCL* device
- store the final image on the hard drive.
- Supported Devices CPU, Intel® HD Graphics 4000/2500
- Complexity level: Intermediate

Refer to the Release Note document for information on system requirements.
OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.
Related Technical Articles
- HDR Rendering with God Rays using OpenCL* [PDF]
- OpenCL* Samples Getting Started
- OpenCL* Optimization Guide
This software is subject to the U.S. Export Administration Regulations and other U.S. law, and may not be exported or re-exported to certain countries (Burma, Cuba, Iran, Libya, North Korea, Sudan, and Syria) or to persons or entities prohibited from receiving U.S. exports (including Denied Parties, Specially Designated Nationals, and entities on the Bureau of Export Administration Entity List or involved with missile technology or nuclear, chemical or biological weapons).
