diff --git a/INSTALL b/INSTALL index 6c2476608..d37b3d032 100644 --- a/INSTALL +++ b/INSTALL @@ -14,7 +14,7 @@ of true type fonts, however it is not essential to the core library, so you can comment it out from compilation by modifying the src/Makefile, and src/Demos/Makefile. I you wish to use fonts then you can download freetype from www.freetype.org. The osgText library also requires an up to date GLU implementation which supports -GLU1.3 tessellation routines. If you your current GLU is out of date you'll need +GLU1.2 tessellation routines. If you your current GLU is out of date you'll need to download the latest, for instance the sgi's sample implementation for GLU from the www.opengl.org website. @@ -39,34 +39,6 @@ If you haven't already checked it out, for a list of distribution contents, contacts and links to documentation check out index.html. -Environmental settings under Unix ---------------------------------- - - These enviromental settings are useful to help develop with an - entirely local copy of the osg. However, once you've done a - make install you can make do without all of these, although - OSGFILEPATH is still useful as the osgDB library uses it for - picking locating datafiles. - - Add the following to your .cshrc : - - setenv OSGHOME - setenv OSGDATA - setenv OSGFILEPATH ./:${OSGDATA}: - setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${OSGHOME}/lib - setenv PATH ${PATH}:${OSGHOME}/bin - - Or the following if you're using a sh compatible shell : - - export OSGHOME= - export OSGDATA= - export OSGFILEPATH=./:${OSGDATA}:${OSGDATA}/Images: - export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${OSGHOME}/lib - export PATH=${PATH}:${OSGHOME}/bin - - note: under IRIX you'll need to use LD_LIBRARYN32_PATH instead - of LD_LIBRARY_PATH. - Compiling under Linux --------------------- @@ -117,9 +89,6 @@ Compiling under FreeBSD Compiling under IRIX -------------------- - When setting up environmental variables, specified above, - LD_LIBRARY_PATH should of course be replaced by LD_LIBRARYN32_PATH. - Since the OSG uses Standard C++ features such as STL it is important to have an up to date version of the MIPSPro compilers. The library has been tested under MIPSPro7.3 & MIPSPro7.2.1, and *may* compile @@ -184,7 +153,7 @@ Compiling under Windows autoexec.bat to help the location of datafiles. For example : SET OSGFILEPATH=D:\OpenSceneGraph-Data;D:\OpenSceneGraph-Data\Images - SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\Oglsdk\lib;D:\osg-0.8.40\bin; + SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;D:\osg-0.8.43\bin; To help compilation of the image reader plugins, various image libraries have been zipped up for your convienice, your find these on the OSG @@ -274,6 +243,28 @@ Compiling under MacOS X (instructions written by Phil Atkin) gone in 10.1 or it may be a weirdy in the Mac GLUT implementation, but forewarned is forearmed. + +OSGFILEPATH environmental variable +---------------------------------- + + For the OSG to locate file data files easily an environmetal variable + OSGFILEPATH is used at run-time by the osgDB library. Note, for examples + below substitute in the ${OSGDATA} directory with your own path + where appropriate) + + Add the following to your .cshrc (note paths seperated by colon's): + + setenv OSGFILEPATH ./:${OSGDATA}:${OSGDATA}/Images + + Or the following if you're using a sh compatible shell : + + export OSGFILEPATH=./:${OSGDATA}:${OSGDATA}/Images: + + Or under windows (note paths seperated by semi-colon's) : + + SET OSGFILEPATH=./:${OSGDATA};${OSGDATA}/Images + + Running the demos -----------------