PovRay

install

DebianでPovRayをinstallする.

# apt-cache search povray
povray-3.6 - Persistence of vision raytracer (3D renderer)
povray-3.6-doc - Persistence of vision raytracer (3D renderer) documentation
povray-3.6-examples - Persistence of vision raytracer (3D renderer) sample files
povray-3.6-includes - Persistance of vision raytracer (3D renderer) include files
  • povray-3.5とpovray-3.6がある.Povray 3.5と3.6の違いは?
  • POV-Ray: Download: New Features
  • いろいろ機能が加わっている.バグフィックスされている.そのくらいしかわからん….
# apt-get install povray-3.6 povray-3.6-examples
  • 3.6にしておいた.

使ってみる

% dpkg -L povray-3.6-examples
  • /usr/share/doc/povray-3.6/examples/ 以下にあるみたいだ.
  • 試しにradiosityをrenderingしてみる
% cd
% cp -r /usr/share/doc/povray-3.6/examples/radiosity .
% povray cornell.pov
  • 140秒でrenderingできた
  • cornell.pngというファイルができているので見てみよう
  • おー,きれいきれい.

サンプルをさがす

union{sphere{z*9-1,2}plane{y,-3}finish{reflection{,1}}}background{1+z/9}
  • これで全部.短い!
  • wgetでもってこれなかった.めんどくさいねー.
% povray cjjqmo.pov
  • 短いのにすげーきれい! 気にいった!
Last modified: 2006-09-05