SvLis Home Page

Microsoft Windows Installation

svlis@bath.ac.uk
 
 
 

Copyright © 1994, 1996, 1999 Information Geometers Ltd and The University of Bath


 



As Visual C++ supports OpenGL, the first stage in the installation of svLis under Microsoft Windows (assuming that you already have a copy of Visual C++) is to obtain GLUT (and maybe also some of the GLUT demonstration programs for testing). Get OpenGL/GLUT all working, then start on svLis.

The compressed svLis distribution file to run under Windows 95 or NT is PC_SVLIS.ZIP. The stages of the installation of svLis under Microsoft Windows are:

  1. Make the directory where you want svLis to be, usually C:\SVLIS;
  2. Put PC_SVLIS.ZIP in C:\SVLIS;
  3. Extract the directories and files from PC_SVLIS.ZIP using WINZIP;
  4. Set up Visual C++ so that it searches for library files in C:\SVLIS\LIB and for include files in C:\SVLIS\INCLUDE in addition to the locations already searched;
  5. Build all the projects in the directories in C:\SVLIS\PROJECTS, starting with USER_LIB.
The result will be a collection of executables in C:\SVLIS\BIN and the user library in C:\SVLIS\LIB. The test executables are all simple console applications; they are: SV_TST_1, SV_TST_2, and SV_TST_G .

Open an MSDOS window and CD to C:\SVLIS. Type BIN\SV_TST_1. This will create a simple test model (a cube intersected with a sphere) in C:\SVLIS\RESULTS\SV_TST.MOD. Type this file out if you like. It will start something like:

SvLis(3)

# SvLis created this file on Sun Feb 21 15:59:16 1999

model
{
 268482224 L 0
 box\interval\0, 10/, interval\0, 10/, interval\0, 10//
 set_list
 [
  268482032 0
  set
  (
   268481656 7 0 &
   set
   (
    268481600 1 0
    primitive
    <
     268481528 3 0 -
     primitive
     <
.
.
.
.
though the numbers will be different.

If you run BIN\SV_TST_2, this will read the model, then divide and facet it, then print some statistics. Finally running BIN\SV_TST_G should produce a picture of the model. The faceting of this picture is deliberately crude; you can refine it by picking the `Facet quality' menu item with the right mouse button in the graphics window. Typing `?' in the graphics window gives a list of options. Also, if you turn texturing on from the menu, you should get the svLis logo tiled across the flat faces.

There are a number of other programs provided with svLis; for details of them see the svLis manual here.



 


PERFICTA  PERFRACTA  QVAERENDO  PERFECTA