summaryrefslogtreecommitdiffstats
path: root/klines/povray/balls.sh
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitc90c389a8a8d9d8661e9772ec4144c5cf2039f23 (patch)
tree6d8391395bce9eaea4ad78958617edb20c6a7573 /klines/povray/balls.sh
downloadtdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.tar.gz
tdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klines/povray/balls.sh')
-rwxr-xr-xklines/povray/balls.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/klines/povray/balls.sh b/klines/povray/balls.sh
new file mode 100755
index 00000000..1897afaa
--- /dev/null
+++ b/klines/povray/balls.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+echo "#declare BallColor = $2" >clr.inc
+#### jumping balls
+povray -w30 -h30 -V1 -P +A +KI10 +KF11 +KFF10 -Iball.pov +Oa$1.tga
+#### borning balls
+povray -w30 -h30 -V1 -P +A +KI5 +KF6 +KFF6 +SF2 +EF5 -Iball.pov +Ob$1.tga
+#### burning balls balls
+povray -w30 -h30 -V1 -P +A +KI0 +KF1 +KFF11 +SF1 +EF5 -Iball.pov +Oe$1.tga
+
+montage -geometry 30x30 -tile 100x1 -page 570x30 a$1??.tga b$1?.tga e$1??.tga bl_$1.tga
+mogrify -crop 570x30+0+0 bl_$1.tga
+
+