CL-POV is CommonLisp binding of the Persistence of Vision Raytracer, or POV-Ray.
;; sample.lisp
(ql:quickload :cl-pov :silent t)
(pov:ray t
(:include "colors.inc")
(:camera
(:location <0 0 -3>)
(:look_at <0 0 0>))
(:light_source
<100 100 -100>
(:color (:rgb <1 1 1>)))
(:object
(:sphere <0 0 0> 1)
(:texture
(:pigment (:rgb <1 0 0>)))))
$ clisp sample.lisp > sample.pov
$ povray sample.pov
or
(for Roswell user)
$ render sample.lisp
See also
$ mkdir ~/common-lisp && cd ~/common-lisp
$ git clone git://github.com/asciian/cl-pov
cl-pov supports POV-Ray 3.5
- asciian (asciian@outlook.jp)
Copyright (c) 2015 asciian (asciian@outlook.jp)
Licensed under the GPLv3 License.