tRenamed commands calling sphere to short format - sphere - GPU-based 3D discre… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 2a0e3522194cb90c81103c9e322b8690753d9eee | |
parent e5882d28eda810ce16d7d00ecfb5b4792a3391b9 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 19 Dec 2012 11:14:41 +0100 | |
Renamed commands calling sphere to short format | |
Diffstat: | |
M python/sphere.py | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -995,7 +995,7 @@ class Spherebin: | |
if (dry == True): | |
dryarg = "--dry " | |
- subprocess.call("cd ..; ./sphere_* " + quiet + dryarg + "input/" + sel… | |
+ subprocess.call("cd ..; ./sphere " + quiet + dryarg + "input/" + self.… | |
def torqueScript(self, | |
t@@ -1031,7 +1031,7 @@ class Spherebin: | |
quiet = "-q" | |
# Render images using sphere raytracer | |
- subprocess.call("cd ..; ./sphere_* " + quiet \ | |
+ subprocess.call("cd ..; ./sphere* " + quiet \ | |
+ " --method " + method + " {}".format(max_val) \ | |
+ " --render output/" + self.sid + "*.bin" \ | |
, shell=True) | |
t@@ -1068,7 +1068,7 @@ def render(binary, | |
quiet = "-q" | |
# Render images using sphere raytracer | |
- subprocess.call("cd .. ; ./sphere_* " + quiet + \ | |
+ subprocess.call("cd .. ; ./sphere " + quiet + \ | |
" --method " + method + " {}".format(max_val) + \ | |
" --render " + binary, shell=True) | |
t@@ -1369,7 +1369,7 @@ def run(binary, verbose=True, hideinputfile=False): | |
quiet = "-q" | |
if (hideinputfile == True): | |
stdout = " > /dev/null" | |
- subprocess.call("cd ..; ./sphere_* " + quiet + " " + binary + " " + stdout… | |
+ subprocess.call("cd ..; ./sphere " + quiet + " " + binary + " " + stdout, … | |