Introduction
Introduction Statistics Contact Development Disclaimer Help
tRaytracer scripts updated to sequential rendering to avoid proc overflow - sph…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 09fc71e0191316e333d5ca78f02eab0e524281e6
parent 98cea6099c2f7996ba63bb5b11e78b10176a7c8a
Author: Anders Damsgaard <[email protected]>
Date: Tue, 28 Aug 2012 08:34:54 +0200
Raytracer scripts updated to sequential rendering to avoid proc overflow
Diffstat:
M raytracer/rt_GPU_init_pres.sh | 9 +++++----
M raytracer/rt_GPU_pres.sh | 9 +++++----
2 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/raytracer/rt_GPU_init_pres.sh b/raytracer/rt_GPU_init_pres.sh
t@@ -27,10 +27,11 @@ done
echo "# Converting PPM files to JPEG using ImageMagick in parallel"
for F in ../img_out/*.ppm
do
- (BASE=`basename $F`; convert $F $F.jpg > /dev/null &)
+ (BASE=`basename $F`; convert $F $F.jpg > /dev/null)
+ rm $F # Delete ppm file
done
-sleep 5
-echo "# Removing temporary PPM files"
-rm ../img_out/*.ppm
+#sleep 5
+#echo "# Removing temporary PPM files"
+#rm ../img_out/*.ppm
diff --git a/raytracer/rt_GPU_pres.sh b/raytracer/rt_GPU_pres.sh
t@@ -27,10 +27,11 @@ done
echo "# Converting PPM files to JPEG using ImageMagick in parallel"
for F in ../img_out/*.ppm
do
- (BASE=`basename $F`; convert $F $F.jpg > /dev/null &)
+ (BASE=`basename $F`; convert $F $F.jpg > /dev/null)
+ rm $F # Delete ppm file
done
-sleep 5
-echo "# Removing temporary PPM files"
-rm ../img_out/*.ppm
+#sleep 5
+#echo "# Removing temporary PPM files"
+#rm ../img_out/*.ppm
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.