<< cgkit install under Debian 戻る AL the animation language >>

Aqsis Renderer 1.8.2 under CentOS6.2

RenderMan互換レンダラAqsis1.8.2をソースからビルドしてみた。

インストール前に以下を入れておく。
* CMake (v2.6.3+)
* Boost (v1.34.1+)
* libtiff.lib (v3.7.1+)
* flex (v2.5.4) (2.5.31 causes problems, see FAQ 2.2)
* bison (v1.35+)
* Qt (v4.6+) - optional, but required for framebuffer rendering and other GUI components
* libzlib (v1.1.4+)
* libjpeg (v6b+)
* libilmbase (v1.6+)
* OpenEXR - if you want to read and write OpenEXR HDR image files
* doxygen
* sphinx

「ソフトウェアの追加と削除」を使ってインストールするかyum installを使います。
Qt4は、「ソフトウェアの追加と削除」からPyQt4を入れたらまとめて関連パッケージもインストールされた。

aqsis-1.8.2.tar.gzをダウンロードし、ホームフォルダにaqsis-1.8.2フォルダを解凍します。

aqsis-1.8.2]$ mkdir build
aqsis-1.8.2]$ cd build/

build]$ ccmake ../

Press [c] to configure
cキーを押して続けます。
gキーを押して続けます。

build]$ make
build]$ su
管理者になり、
build]$ make install
build]# aqsis -version
aqsis version 1.8.2 (revision 0)
compiled Aug 25 2012 21:33:26
で成功!!

/usr/local/share/aqsis/examples
にサンプルが入っているので

/usr/local/share/aqsis/examples/vase
に入って
vase]$ ./render.sh
レンダリングされます。
書き込み権限がない場合、エラーが出るので、
exampleフォルダをホームフォルダにコピーして実行すると良いです。

以下、
$ cat hoge.rib
##RenderMan RIB
##Creator OX/AL
##CreationDate Thu Oct 25 20:59:31 2012
Display "frame" "framebuffer" "rgba"
WorldBegin
Sphere 1 -1 1 360
WorldEnd

$ aqsis hoge.rib
piqsl: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory

# yum provides libQtGui.so.4
1:qt-x11-4.6.2-24.el6.i686 : Qt GUI-related libraries
Repo : base
Matched from:
Other : libQtGui.so.4

# yum install qt-x11-4.6.2-24.el6.i686

$ aqsis hoge.rib
レンダリングOK
  • -
  • -

<< cgkit install under Debian 戻る AL the animation language >>