parallelExamples ---------------- Makefile: type "make" to build both type "make pf" to build only pf example type "make cave" to build only pfCAVE example Commandline: pfCAVEhead-sproc [num-vtk-threads] pfHead-sproc [num-vtk-threads] where num-vtk-threads is an optional argument to specify the number of vtk pipeline threads that should be created. By default, the program will choose based on the number of processors. Note: These two examples illustrate the use of the vtkActorToPFTranslatorParallel class. The application creates multiple vtk pipeline threads that feed a shared Performer scenegraph. The parallelism is done by data decomposition (each pipeline gets a piece of data). Also, since the vtk threads are separate from the main Performer thread, Performer can continue to render as new geometry is being computed. More info on the website: http://hoback.ncsa.uiuc.edu/~prajlich/vtkActorToPF/ Notes: The code makes use of the parallel programming primitives m_fork(), m_sync(), m_lock(), etc... This library of functions is based on sproc(). See the man pages for m_fork. Caveat: The threading library makes use of busy-wait. This results in large performance loss with any more threads than processors. Keep this in mind when choosing the number of vtk threads to run. Interaction: pfHead-sproc ------------ Performer application. UP ARROW increases iso value DOWN ARROW decreases iso value LEFT ARROW rotate left RIGHT ARROW rotate right o KEY toggles outline display pfCAVEhead-sproc ---------------- pfCAVE application. CAVEBUTTON1 increases iso value CAVEBUTTON2 decreases iso value CAVEBUTTON3 toggles outline display JOYSTICK rotates Contact: Paul Rajlich prajlich@ncsa.uiuc.edu http://www.ncsa.uiuc.edu/People/prajlich