Changes between Initial Version and Version 1 of SceneGenerator


Ignore:
Timestamp:
05/08/06 13:34:25 (12 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SceneGenerator

    v1 v1  
     1The Dynamic Scene Generator is an old Skanda4 project that runs  
     2on quad from Kevin's home directory. The project page is  
     3http://sig.biostr.washington.edu/projects/dsg/demos.html 
     4and has links to start the servers and to the demos. 
     5For anatomical terms, the DSG uses the old FMS TermServer on tela. 
     6The current test version is at  
     7http://uvula.biostr.washington.edu/~dsg/cgi-bin/dsg-skull/builder.cgi 
     8 
     9== Testing == 
     10 
     11 1. Click  "Scene builder: thorax models" 
     12 1. Type "Thoracic vertebral column" in lower right frame, where it says "Type a Structure Name". 
     13 1. Click "Perform operation" 
     14 
     15If it doesn't work, try killing all the servers on quad and restarting it. 
     16(A good test for the skull is "frontal bone".) 
     17 
     18== Startup == 
     19 
     20The servers do not start automatically, but should normally 
     21keep running after being started. You can check on quad for  
     22something like this: 
     23 
     24{{{ 
     25quad:/home/hinshaw/src/skandha4.Linux# ps xau|grep hinsha 
     26www-data  5717  0.0  5.1 61268 53116 ?       S    10:06   0:00 /usr/people/hinshaw/src/skandha4.Linux/bin/skandha4.bin -p63070 xdada-server-thorax.lsp 
     27www-data  5878  0.0  5.1 61268 53116 ?       S    10:11   0:00 /usr/people/hinshaw/src/skandha4.Linux/bin/skandha4.bin -p63070 xdada-server-thorax.lsp 
     28www-data  5881  0.0  0.3  5172 3832 ?        R    10:11   0:00 /usr/local/bin/perl /home/hinshaw/cgi-bin/dsg-thorax/builder.cgi 
     29}}} 
     30 
     31 
     32== Install == 
     33 
     34Here are some steps condensed from the  
     35[http://sig.biostr.washington.edu/projects/dsg/install.html DSG Installation Instructions] 
     36 
     37First you need to follow the steps in SkandhaInstall, noting the path at which you 
     38installed skanhda. Also make sure `ImageMagick-perl` and `perl-Net-Telnet` are installed, 
     39which you can do like this: 
     40{{{ 
     41up2date ImageMagick-perl 
     42wget http://dag.wieers.com/packages/perl-Net-Telnet/perl-Net-Telnet-3.03-1.2.el4.rf.noarch.rpm 
     43rpm -Uhv perl-Net-Telnet-3.03-1.2.el4.rf.noarch.rpm  
     44}}} 
     45And the setup: 
     46{{{ 
     47adduser dsg 
     48su - dsg 
     49cvs co -d dsg-src src/scenes/graphics-server 
     50chmod 755 /home/dsg 
     51mkdir /home/dsg/public_html 
     52mkdir /home/dsg/cgi-bin 
     53cd public_html 
     54cp -r /home/dsg/dsg-src dsg-skull 
     55ln -s /home/dsg/public_html/dsg-skull/cgi-bin/ /home/dsg/cgi-bin/dsg-skull 
     56cd dsg-skull/cgi-bin/ 
     57grep -v '#' conf.pl.sample > conf.pl 
     58sed -i 's;dsg;dsg-skull;g' conf.pl  
     59sed -i 's;USERNAME;dsg;g' conf.pl 
     60sed -i "s;MACHINE;`hostname -s`;g" conf.pl 
     61sed -i 's;/usr/people/hinshaw/src/skandha4.Linux/;/home/dsg/src/my/;g' conf.pl 
     62sed -i 's;/usr/people/;/home/;g' conf.pl 
     63sed -i 's;server.lsp;server-skull.lsp;g' conf.pl 
     64for i in cache error results scenesdir state tmp; do 
     65        mkdir /home/dsg/public_html/dsg-skull/$i 
     66        # apache needs to write to it 
     67        chmod 775 /home/dsg/public_html/dsg-skull/$i 
     68done 
     69exit 
     70}}} 
     71Also when I could only get PNG to work with skandha on RHEL 
     72I did this: 
     73 .sed all references to jpeg to png in cgi scripts 
     74 .comment out the IM tiff lines in builder_viewer.cgi 
     75 .convert images/*jpeg to png 
     76 
     77{{{  
     78# as root 
     79cd /home/dsg/public_html/dsg-skull/ 
     80for i in cache error results scenesdir state tmp; do 
     81        chgrp apache $i 
     82done 
     83}}} 
     84Go to http://uvula.biostr.washington.edu/~dsg/cgi-bin/dsg-skull/startme.cgi 
     85then http://uvula.biostr.washington.edu/~dsg/cgi-bin/dsg-skull/builder.cgi