nuclear@61: Realtime GPU (OpenCL) polygon mesh raytracer nuclear@61: ============================================ nuclear@61: nuclear@61: About nuclear@61: ----- nuclear@61: Clray is an experimental realtime GPU raytracer with OpenCL. It renders polygon nuclear@61: mesh scenes loaded from obj files (with minor extensions to the material nuclear@61: description format), using a kd-tree constructed with the surface area heuristic nuclear@61: (SAH) for ray-test acceleration. nuclear@61: nuclear@61: If you want to try clray, a few test scenes can be found at: nuclear@61: http://nuclear.mutantstargoat.com/sw/clray/clray_test_scenes.tar.gz nuclear@61: nuclear@61: License nuclear@61: ------- nuclear@61: Copyright (C) John Tsiombikas nuclear@61: nuclear@61: Clray is free software; feel free to use, modify, and/or redistribute it, under nuclear@61: the terms of the GNU General Public License version 3, or (at your option) any nuclear@61: more recent version published by the Free Software Foundation. See COPYING for nuclear@61: details. nuclear@61: nuclear@61: Material file format extensions nuclear@61: ------------------------------- nuclear@61: Clray will happily read obj/mtl files as exported by most programs. However, the nuclear@61: obj material file format does not specify a reflectivity factor. For this reason nuclear@61: I've added a custom mtl command named "Nr" to specify reflectivity. Just add it nuclear@61: manually to any material you want to make reflective, followed by a number in nuclear@61: the range ``[0, 1]``. For instance a reflective red material with white specular nuclear@61: highlights could be defined as follows:: nuclear@61: nuclear@61: newmtl mat_red_shiny nuclear@61: Ka 1 0 0 nuclear@61: Kd 1 0 0 nuclear@61: Ks 0.8 0.8 0.8 nuclear@61: Ns 80 nuclear@61: Nr 0.75