/*************************************************** ** ViSUS Visualization Project ** ** Copyright (c) 2010 University of Utah ** ** Scientific Computing and Imaging Institute ** ** 72 S Central Campus Drive, Room 3750 ** ** Salt Lake City, UT 84112 ** ** ** ** For information about this project see: ** ** http://www.pascucci.org/visus/ ** ** ** ** or contact: pascucci@sci.utah.edu ** ** ** ****************************************************/ _______________________________________________________ Example of starting a standalone viewer _______________________________________________________ (*) Get a Visus dataset (example c:/visus_dataset/visible_female/visus.idx) (*) edit the ./viewer.config file and modify the second line to point to your dataset Win32: (url) file:///c:/visus_dataset/visible_female/visus.idx Darwin/Linux: (url) file:///Volumes/isilon/data_old/nvisusio/3d/2kbit1/visus.idx (*) start the viewer Win32. open a MSDOS prompt and type: > cd # IMPORTANT the viewer.config should be in this directory > win/Release/visuscpp.exe --viewer Darwin/Linux. Open a bash console and type: > cd # IMPORTANT the viewer.config should be in this directory > macosx/build/Release/visuscpp.app/visuscpp --viewer (*) press 'h' inside the viewer to get help! _______________________________________________________ Example of starting a client/server viewer _______________________________________________________ (*) edit the ./web.config file (see comments in this file) (*) Start the server. Open a bash console and type: > cd > cp examples/web.config ./ #!!! modify the file to link to your datasets!!!! > visuscpp --server > # ...check the logs.... (*) edit the viewer.config file > cd > cp examples/viewer.config ./ # !!!modify the file!!!! # example set the url to point to the server # (url) # http://servername:port/dataset_name # port and dataset_name are specified in the web.config (*) Start the remove viewer. Open a bash console/MSDOS and type > cd # important the viewer.config should be in this directory > visuscpp --viewer # in windows type win/Release/visuscpp --viewer > # ...check the logs... (*) press 'h' inside the viewer to get help! NOTE: since the server is a C++ web server (on TCP/IP) you can telnet to the remote server. For Example: telnet servername 10000 GET /2kbit1/readidx HTTP1.10000 ...... ....