source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/vrippack-0.31/src/vrip/vripnew.csh @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

  • Property svn:executable set to *
File size: 909 bytes
Line 
1#!/bin/csh -f
2
3if (! $?VRIP_DIR) then
4    setenv VRIP_DIR /usr/graphics/project/dmich/ply/src/vrip
5endif
6
7if (! $?VRIP_TCL_LIBRARY) then
8    if (-f /usr/common/tcl8.0/lib/tcl8.0) then
9        setenv VRIP_TCL_LIBRARY /usr/common/tcl8.0/lib/tcl8.0
10    else
11        setenv VRIP_TCL_LIBRARY ${VRIP_DIR}/lib/tcl
12    endif
13endif
14
15if (! $?VRIP_TK_LIBRARY) then
16    if (-f /usr/common/tcl8.0/lib/tk8.0) then
17        setenv VRIP_TK_LIBRARY /usr/common/tcl8.0/lib/tk8.0
18    else
19        setenv VRIP_TK_LIBRARY ${VRIP_DIR}/lib/tk
20    endif
21endif
22
23setenv TCL_LIBRARY ${VRIP_TCL_LIBRARY}
24setenv TK_LIBRARY ${VRIP_TK_LIBRARY}
25
26
27set noui = 1
28
29foreach vripSwitch ($argv)
30
31  if ("$vripSwitch" == "-slicer") then
32     set noui = 0
33  endif
34
35  if ("$vripSwitch" == "-show_render") then
36     set noui = 0
37  endif
38
39end
40
41if ($noui) then 
42  ${VRIP_DIR}/vrip ${VRIP_DIR}/vripnew.tcl $argv[*] -noui
43else
44  ${VRIP_DIR}/vrip ${VRIP_DIR}/vripnew.tcl $argv[*]
45endif
46
Note: See TracBrowser for help on using the repository browser.