1/1

AL the animation language install under CentOS6.3

Linuxで動くScheme言語をもとに作成された言語ALです。
簡易アニメーションをRenderManに受け渡すことができます。
1998年から2002年まで開発されていたようです。
A1tOFUYCcAA9M6Z.jpg-large.jpeg
http://accad.osu.edu/~smay/AL/index.html
■ダウンロード先
Version 5.2a [3/18/02]
LINUX 2.4 (RH 7.1,BMRT 2.6)
Downloading AL
http://accad.osu.edu/~smay/Download/AL5.2a.linux.tar.gz

Index of /dev/3d/bmrt
http://www.raclot.org/dev/3d/bmrt/

以下はホーム(例:makura)に解凍して.bashrcに以下を追加しました。
---------------------------------------
# BMRT
export BMRT=/home/makura/software/bmrt-2.6beta-linux-i386
export SHADERS=$BMRT/shaders

#ALHOME
export ALHOME=/home/makura/AL5.2a
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ALHOME/lib

export PATH=$PATH:$BMRT/bin:$ALHOME/bin
----------------------------------------

以下は、足りないものをインストールしていった過程を提示します。
参考にどうぞ。

[@localhost ~]$ echo $BMRT
/home/makura/software/bmrt-2.6beta-linux-i386
[@localhost ~]$ echo $LD_LIBRARY_PATH
/home/makura/software//3delight-10.0.50/Linux-x86_64/lib:/home/makura/software//3delight-10.0.50/Linux-x86_64/lib:/home/makura/AL5.2a/lib
[@localhost ~]$ cd software/bmrt-2.6beta-linux-i386/examples/
[@localhost examples]$ rendrib -v
rendrib: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
[@localhost examples]$ su
パスワード:
[root@localhost examples]# yum provides libGL.so.1
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
mesa-libGL-7.11-5.el6.i686 : Mesa libGL runtime libraries and DRI drivers
Repo : base
Matched from:
Other : libGL.so.1



[root@localhost examples]# yum install mesa-libGL-7.11-5.el6.i686
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mesa-libGL i686 7.11-5.el6 base 161 k
Installing for dependencies:
libXxf86vm i686 1.1.0-1.el6 base 18 k
libdrm i686 2.4.25-2.el6 base 66 k
mesa-dri-drivers i686 7.11-5.el6 base 12 M

Transaction Summary
================================================================================
Install 4 Package(s)


Installed:
mesa-libGL.i686
0:7.11-5.el6

Dependency Installed:
libXxf86vm.i686
0:1.1.0-1.el6
libdrm.i686
0:2.4.25-2.el6
mesa-dri-drivers.i686
0:7.11-5.el6

Complete!
[root@localhost examples]# exit
exit
[@localhost examples]$ rendrib -v
rendrib: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
[@localhost examples]$ su
パスワード:
[root@localhost examples]# yum provides libGLU.so.1
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
mesa-libGLU-7.11-5.el6.i686 : Mesa libGLU runtime library
Repo : base
Matched from:
Other : libGLU.so.1



[root@localhost examples]# yum install mesa-libGLU-7.11-5.el6.i686
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mesa-libGLU i686 7.11-5.el6 base 199 k

Transaction Summary
================================================================================
Install 1 Package(s)

Installed:
mesa-libGLU.i686 0:7.11-5.el6

Complete!
[root@localhost examples]# exit
exit
[@localhost examples]$ rendrib -help

rendrib - Ray tracing / radiosity renderer for RIB files

Blue Moon Rendering Tools 2.6.0.-18 linux
(c) Copyright 1990-2000 Exluna, Inc. and Larry Gritz. All rights reserved.

Usage: rendrib [options] file1 ... fileN
options: -res x y Specify image resolution (if not in RIB)
-samples x y Specify pixel sampling rate (if not in RIB)
-var v min max Specify pixel sampling variance
-frames f1 f2 Specify frame interval
-radio n Perform radiosity calculation with n steps
-crop x1 x2 y1 y2 Set the crop window (screen space units)
-safe Safety of existing files (no overwrite)
-d [interlace] Display override - show in framebuffer
-pos x y Specify image position (for framebuffer display)
-v Verbose mode
-stats Display rendering statistics
-silent Display only error messages
-rayserver Act as a ray server
-beep Ring the terminal bell when finished
-arch Print out the platform architecture code

[@localhost examples]$ rendrib -d cornell.rib
Rendering "cornell.tif" ...
Done computing image.

[@localhost ~]$ cd AL5.2a/
[@localhost AL5.2a]$ ox
ox.motif: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory
[makura@localhost AL5.2a]$ su
パスワード:
[root@localhost AL5.2a]# yum provides libXt.so.6
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
libXt-1.0.7-1.el6.i686 : X.Org X11 libXt runtime library
Repo : base
Matched from:
Other : libXt.so.6



[root@localhost AL5.2a]# yum install libXt-1.0.7-1.el6.i686
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libXt i686 1.0.7-1.el6 base 168 k

Transaction Summary
================================================================================
Install 1 Package(s)

Installed:
libXt.i686 0:1.0.7-1.el6

Complete!
[root@localhost AL5.2a]# exit
exit
[makura@localhost AL5.2a]$ ox
ox.motif: error while loading shared libraries: libXpm.so.4: cannot open shared object file: No such file or directory
[@localhost AL5.2a]$ su
パスワード:
[root@localhost AL5.2a]# yum provides libXpm.so.4
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
libXpm-3.5.8-2.el6.i686 : X.Org X11 libXpm runtime library
Repo : base
Matched from:
Other : libXpm.so.4



[root@localhost AL5.2a]# yum install libXpm-3.5.8-2.el6.i686
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libXpm i686 3.5.8-2.el6 base 58 k

Transaction Summary
================================================================================
Install 1 Package(s)

Installed:
libXpm.i686 0:3.5.8-2.el6

Complete!
[root@localhost AL5.2a]# exit
exit
[@localhost AL5.2a]$ ox
ox.motif: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
[@localhost AL5.2a]$ su
パスワード:
[root@localhost AL5.2a]# yum provides libstdc++-libc6.2-2.so.3
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
compat-libstdc++-296-2.96-144.el6.i686 : Compatibility 2.96-RH standard C++
: libraries
Repo : base
Matched from:
Other : libstdc++-libc6.2-2.so.3



[root@localhost AL5.2a]# yum install compat-libstdc++-296-2.96-144.el6.i686
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
compat-libstdc++-296 i686 2.96-144.el6 base 77 k

Transaction Summary
================================================================================
Install 1 Package(s)

Installed:
compat-libstdc++-296.i686 0:2.96-144.el6

Complete!
[root@localhost AL5.2a]# exit
exit
[@localhost AL5.2a]$ ox
Welcome to OX, version 5.2a [3/18/02]
[Xt/Motif][BMRT][OGRE][Chant]
ox --> (ogre)
#(instance ogre-app #[environment 4133324880])
ox --> (world (sphere))

ox --> (render)
rendering frame: "frame" (rgba) to "framebuffer"
generating RIB for world
rendering world
Rendering "frame" ...
Done computing image.
()
ox --> ^Z
[1]+ 停止 ox

■補足
xorg-x11-fonts-75dpi.noarchとxorg-x11-fonts-ISO8859-1-75dpi.noarch、2つのフォントをインストールしておくと、アニメーション・カーブ・エディタchantが動く。

A1uKOOuCYAASeHP.jpg-large.jpeg
  • -
  • -

1/1