I am Charmie

メモとログ

POV-Ray: install 3.6.1 plus Clemens Rabe's patch

For rendering lens distorted images, I installed POV-Ray 3.6.1 and then apply the patch provided by Clemens Rabe.

  1. building environment sudo apt-get install build-essentials
  2. supporting libraries The following supporting libraries are needed. In case missing or older version, the configure script link the libraries provided in POV-Ray. ZLib    1.2.1   LibPNG  1.2.5   LibJPEG 6b   LibTIFF 3.6.1
  3. source code For my case, official file, povlinux-3.6.1.tar.bz2, didn't work. Search povray-3.6.1.tar.bz2 and uncompress it. tar xfj povray-3.6.1.tar.bz2
  4. patch Download from Clemens Rabe's website and apply patch. The following command is called from a directory that contains a directory /povray-3.6.1/ and the patch file. patch -p0 < ./povray-3.6.1_LenseDistortion.patch
  5. install /configure COMPILED_BY="your name <email@address>" make sudo make install

phew... installation seems to be completed. For quick check, I rendered a sphere with black background. Tomorrow, I will check the lens distortion effect!!

画像