| 18 | | <tr> |
| 19 | | <td><a href="index.html">Index</a></td> |
| 20 | | <td><a href="introduction.html">Introduction</a></td> |
| 21 | | <td><a href="contents.html">Contents</a></td> |
| 22 | | <td><a href="install.html">Install</a></td> |
| 23 | | <td><a href="dependencies.html">Dependencies</a></td> |
| 24 | | <td><a href="examples.html">examples</a></td> |
| 25 | | <td><a href="data.html">Data</a></td> |
| 26 | | <td><a href="osgviewer.html">Viewer</a></td> |
| 27 | | <td><a href="stereo.html">Stereo</a></td> |
| 28 | | <td><a href="plan.html">Plan</a></td> |
| 29 | | <td><a href="documentation.html">Reference Guides</a></td> |
| 30 | | </tr> |
| 31 | | |
| 32 | | </tbody> |
| | 15 | <tr> |
| | 16 | <td><a href="index.html">Index</a></td> |
| | 17 | <td><a href="introduction.html">Introduction</a></td> |
| | 18 | <td><a href="contents.html">Contents</a></td> |
| | 19 | <td><a href="install.html">Install</a></td> |
| | 20 | <td><a href="dependencies.html">Dependencies</a></td> |
| | 21 | <td><a href="examples.html">examples</a></td> |
| | 22 | <td><a href="data.html">Data</a></td> |
| | 23 | <td><a href="osgviewer.html">Viewer</a></td> |
| | 24 | <td><a href="stereo.html">Stereo</a></td> |
| | 25 | <td><a href="plan.html">Plan</a></td> |
| | 26 | <td><a href="documentation.html">Reference Guides</a></td> |
| | 27 | </tr> |
| | 28 | </tbody> |
| 36 | | The OpenSceneGraph is composed of core scene graph libraries, plugins libraries |
| 37 | | and demo programs. The core scene graph libraries (osg, osgDB, osgUtil, |
| 38 | | osgText, osgParticle, osgSim) are only dependent upon OpenGL and Standard |
| 39 | | C++ so should compile straight out of the box on most systems. To run the |
| 40 | | examples one will also need to compile osgProducer which adds the dependency |
| 41 | | of Producer, and if true type text is required then the freetype library |
| 42 | | will be required. The plugins which are used to read and write various file |
| 43 | | formats have their own sets of dependencies listed below, some have no dependencies |
| 44 | | at all. A plugin is only needed if you need to load that specific file format, |
| | 31 | The OpenSceneGraph is composed of core scene graph libraries, plugins |
| | 32 | libraries and demo programs. The core scene graph libraries (osg, |
| | 33 | osgDB, osgUtil, |
| | 34 | osgText, osgParticle, osgSim) are only dependent upon OpenGL and |
| | 35 | Standard |
| | 36 | C++ so should compile straight out of the box on most systems. To run |
| | 37 | the |
| | 38 | examples one will also need to compile osgProducer which adds the |
| | 39 | dependency |
| | 40 | of Producer, and if true type text is required then the freetype |
| | 41 | library |
| | 42 | will be required. The plugins which are used to read and write various |
| | 43 | file |
| | 44 | formats have their own sets of dependencies listed below, some have no |
| | 45 | dependencies |
| | 46 | at all. A plugin is only needed if you need to load that specific file |
| | 47 | format, |
| 46 | | |
| 47 | | <hr> |
| 48 | | <h3> <a name="Windows dependency arhives"></a><u>Windows dependency archives</u></h3> |
| 49 | | To make life easier for Windows users, we have put together a .zip archives |
| 50 | | with all the required dependencies which can be download and installed somewhere |
| 51 | | in you system. You'll need to set VisualStudio to pick up on the include and |
| 52 | | libs, and the PATH set to pick up in the dll's. Alternatively, a more hacky |
| 53 | | but simpler solution is to unpack this archive inside you OpenSceneGraph distribution, |
| 54 | | so that all the include files drop into OpenSceneGraph/include, and the |
| 55 | | libs drop into OpenSceneGraph/lib, and all the dll's drop into OpenSceneGraph/bin, |
| 56 | | this way VisualStudio will pick up the files simpler through the paths set |
| 57 | | up inside the workspace and project files. The archives can be downloaded |
| 58 | | here: . . |
| | 49 | <hr> |
| | 50 | <h3> <a name="Windows dependency arhives"></a><u>Windows dependency |
| | 51 | archives</u></h3> |
| | 52 | To make life easier for Windows users, we have put together a .zip |
| | 53 | archives with all the required dependencies which can be download and |
| | 54 | installed somewhere in you system. You'll need to set VisualStudio to |
| | 55 | pick up on the include and |
| | 56 | libs, and the PATH set to pick up in the dll's. Alternatively, a more |
| | 57 | hacky |
| | 58 | but simpler solution is to unpack this archive inside you |
| | 59 | OpenSceneGraph distribution, |
| | 60 | so that all the include files drop into OpenSceneGraph/include, and the |
| | 61 | libs drop into OpenSceneGraph/lib, and all the dll's drop into |
| | 62 | OpenSceneGraph/bin, this way VisualStudio will pick up the files |
| | 63 | simpler through the paths set up inside the workspace and project |
| | 64 | files. The archives can be downloaded here: . . |
| 78 | | |
| 79 | | <ul> |
| 80 | | <i><a href="http://openthreads.sourceforge.net">http:://openthreads.sourceforge.net</a></i> |
| 81 | | |
| 82 | | </ul> |
| 83 | | <br> |
| 84 | | <li>src/osgProducer - The osgProducer library depends upon, you guessed |
| 85 | | it, Producer...</li> |
| 86 | | <br> |
| 87 | | |
| 88 | | <ul> |
| 89 | | <i><a href="http://www.andesengineering.com/Producer">http://www.andesengineering.com/Producer</a></i> |
| 90 | | |
| 91 | | </ul> |
| 92 | | |
| 93 | | </ul> |
| 94 | | </ul> |
| 95 | | <blockquote> |
| 96 | | <h3><u>Example dependencies</u></h3> |
| 97 | | The examples which are included with the distribution depend upon osgProducer |
| 98 | | (and hence Producer) but if you don't need the examples or osgProducer you |
| 99 | | need to compile them, and can remove references to osgProducer and the examples |
| 100 | | by editing your VisualStudio workspace files or Make/makedirdefs approrpiately. |
| 101 | | Additionally :<br> |
| 102 | | </blockquote> |
| 103 | | <ul> |
| 104 | | <ul> |
| 105 | | <li>example/slideshow3D depends upon libxml2 :</li> |
| 106 | | <br> |
| 107 | | <a href="http://xmlsoft.org">http://xmlsoft.org/</a> |
| 108 | | </ul> |
| 109 | | <ul> |
| 110 | | <i><a href="http://openthreads.sourceforge.net"></a></i> |
| | 83 | <ul> |
| | 84 | <i><a href="http://openthreads.sourceforge.net">http:://openthreads.sourceforge.net</a></i> |
| | 85 | </ul> |
| | 86 | <br> |
| | 87 | <li>src/osgProducer - The osgProducer library depends upon, you |
| | 88 | guessed it, Producer...</li> |
| | 89 | <br> |
| | 90 | <ul> |
| | 91 | <i><a href="http://www.andesengineering.com/Producer">http://www.andesengineering.com/Producer</a></i> |
| | 92 | </ul> |
| | 93 | <br> |
| | 94 | <li>src/osgTerrain - The optional osgTerrain library depends upon GDAL to load large scale imagery and DEM's.</li> |
| | 95 | <br> |
| | 96 | <ul> |
| | 97 | <i><a href="http://www.remotesensing.org/gdal/">http://www.remotesensing.org/gdal/</a></i> |
| | 98 | </ul> |
| 116 | | |
| | 120 | <li> src/osgPlugins/freetype</li> |
| | 121 | <br> |
| | 122 | The osgText library supports true |
| | 123 | type fonts via the freetype library. |
| | 124 | <ul> |
| | 125 | <i><a href="http://www.freetype.org/">http://www.freetype.org/</a></i> |
| | 126 | </ul> |
| | 127 | <br> |
| | 128 | <li> src/osgTerrain & src/osgPlugins/gdal</li> |
| | 129 | <br> |
| | 130 | The GDAL plugin uses GDAL to load large scale imagery and DEM's. |
| | 131 | <ul> |
| | 132 | <i><a href="http://www.remotesensing.org/gdal/">http://www.remotesensing.org/gdal/</a></i> |
| | 133 | </ul> |
| | 134 | <br> |
| | 135 | <li> src/osgPlugins/pfb</li> |
| | 136 | <br> |
| | 137 | There is a Performer plugin in this distribution for converting from |
| | 138 | Performer to OSG and from OSG to Performer. This plugin requires |
| | 139 | Performer to be installed and therefore is not compiled by default. If |
| | 140 | you have Performer (available under Linux and IRIX) then edit |
| | 141 | src/osgPlugins/Make to compile under the plugin. |
| | 142 | Performer can be downloaded from : |
| | 143 | <ul> |
| | 144 | <i><a href="http://www.sgi.com/">http://www.sgi.com/</a></i> |
| | 145 | </ul> |
| | 146 | <br> |
| | 147 | <li> src/osgPlugins/png</li> |
| | 148 | <br> |
| | 149 | The png plugin depends upon the libpng and zlib (for compression) |
| | 150 | libraries, if you don't already have it installed, you'll need to |
| | 151 | download, compile |
| | 152 | and install it. Project home pages are: |
| | 153 | <ul> |
| | 154 | <i><a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a></i> |
| | 155 | <br> |
| | 156 | <i><a href="http://www.info-zip.org/pub/infozip/zlib/">http://www.info-zip.org/pub/infozip/zlib/</a></i> |
| | 157 | </ul> |
| | 158 | <br> |
| | 159 | <li> src/osgPlugins/gif</li> |
| | 160 | <br> |
| | 161 | The gif plugin depends upon the libungif library, if you don't already |
| | 162 | have it installed, you'll need to download, compile and install it. |
| | 163 | Project home page is: |
| | 164 | <ul> |
| | 165 | <i><a href="http://prtr-13.ucsc.edu/%7Ebadger/software/libungif/">http://prtr-13.ucsc.edu/~badger/software/libungif/</a></i> |
| | 166 | </ul> |
| | 167 | Ftp download at : |
| | 168 | <ul> |
| | 169 | <i><a href="ftp://prtr-13.ucsc.edu/pub/libungif/">ftp://prtr-13.ucsc.edu/pub/libungif/</a></i> |
| | 170 | </ul> |
| | 171 | <br> |
| | 172 | <li> src/osgPlugins/jpeg</li> |
| | 173 | <br> |
| | 174 | The jpeg plugin depends upon the libjpeg library, if you don't already |
| | 175 | have it installed, you'll need to download, compile and install it. |
| | 176 | Project home page is: |
| | 177 | <ul> |
| | 178 | <i><a href="http://www.ijg.org/">http://www.ijg.org/</a></i> |
| | 179 | </ul> |
| | 180 | <br> |
| | 181 | <li> src/osgPlugins/tiff</li> |
| | 182 | <br> |
| | 183 | The tiff plugin depends upon the libtiff library, if you don't already |
| | 184 | have it installed, you'll need to download, compile and install it. |
| | 185 | Project home page is: |
| | 186 | <ul> |
| | 187 | <i><a href="http://www.libtiff.org">http://www.libtiff.org</a></i> |
| | 188 | </ul> |
| | 189 | <br> |
| | 190 | <li> src/osgPlugins/zip</li> |
| | 191 | <br> |
| | 192 | The zip compressed archive plugin depends upon the unzip executable |
| | 193 | being available on your system. If it is not then you'll be able to |
| | 194 | find binaries at: |
| | 195 | <ul> |
| | 196 | <i><a href="http://www.freesoftware.com/pub/infozip/">http://www.freesoftware.com/pub/infozip/</a></i> |
| | 197 | </ul> |
| | 198 | <br> |
| | 199 | <li> src/osgPlugins/tgz</li> |
| | 200 | <br> |
| | 201 | The tgz compressed archive plugin depends upon the unzip executable |
| | 202 | being available on your system. If it is not then you'll be able to |
| | 203 | find binaries at: |
| | 204 | <ul> |
| | 205 | <i><a href="http://www.gzip.org/">http://www.gzip.org/</a></i> <br> |
| | 206 | <a href="ftp://prep.ai.mit.edu/pub/gnu/tar/">ftp://prep.ai.mit.edu/pub/gnu/tar/</a> |
| | 207 | </ul> |
| | 208 | <br> |
| | 209 | <li> src/osgPlugins/osgtgz</li> |
| | 210 | <br> |
| | 211 | Has the same dependencies as the tgz plugin above. |
| 118 | | |
| 119 | | <hr> |
| 120 | | <h3> <a name="Plug-in dependencies"></a><u>Plug-in dependencies</u></h3> |
| 121 | | Follows is the list of dependencies which some of the osgPlugins require, |
| 122 | | note the core osg and viewer do not need the following dependencies, you |
| 123 | | only need the following if you require each specific plugin. Note, the flt, |
| 124 | | 3ds, pic, tga, do not have any dependencies other than Standard C++ so will |
| 125 | | compile straight of the bag. Under Linux the majority of the dependencies |
| 126 | | below come as standard with distributions so you may not need to download |
| 127 | | them at all. Its best to try out a straight compile of the osg, if you get |
| 128 | | missing includes/libs errors then chase up the below. <br> |
| 129 | | |
| 130 | | <ul> |
| 131 | | <br> |
| 132 | | <li> src/osgPlugins/freetype - The osgText library supports true type fonts |
| 133 | | via the freetype library.</li> |
| 134 | | |
| 135 | | <ul> |
| 136 | | <i><a href="http://www.freetype.org/">http://www.freetype.org/</a></i> |
| 137 | | |
| 138 | | </ul> |
| 139 | | <br> |
| 140 | | <li> src/osgPlugins/pfb</li> |
| 141 | | <br> |
| 142 | | There is a Performer plugin in this distribution for converting from Performer |
| 143 | | to OSG and from OSG to Performer. This plugin requires Performer to be installed |
| 144 | | and therefore is not compiled by default. If you have Performer (available |
| 145 | | under Linux and IRIX) then edit src/osgPlugins/Make to compile under the plugin. |
| 146 | | Performer can be downloaded from : |
| 147 | | <ul> |
| 148 | | <i><a href="http://www.sgi.com/">http://www.sgi.com/</a></i> |
| 149 | | </ul> |
| 150 | | <br> |
| 151 | | <li> src/osgPlugins/png</li> |
| 152 | | <br> |
| 153 | | The png plugin depends upon the libpng and zlib (for compression) libraries, |
| 154 | | if you don't already have it installed, you'll need to download, compile |
| 155 | | and install it. Project home pages are: |
| 156 | | <ul> |
| 157 | | <i><a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a></i> |
| 158 | | <br> |
| 159 | | <i><a href="http://www.info-zip.org/pub/infozip/zlib/">http://www.info-zip.org/pub/infozip/zlib/</a></i> |
| 160 | | |
| 161 | | </ul> |
| 162 | | <br> |
| 163 | | <li> src/osgPlugins/gif</li> |
| 164 | | <br> |
| 165 | | The gif plugin depends upon the libungif library, if you don't already have |
| 166 | | it installed, you'll need to download, compile and install it. Project home |
| 167 | | page is: |
| 168 | | <ul> |
| 169 | | <i><a href="http://prtr-13.ucsc.edu/%7Ebadger/software/libungif/">http://prtr-13.ucsc.edu/~badger/software/libungif/</a></i> |
| 170 | | |
| 171 | | </ul> |
| 172 | | Ftp download at : |
| 173 | | <ul> |
| 174 | | <i><a href="ftp://prtr-13.ucsc.edu/pub/libungif/">ftp://prtr-13.ucsc.edu/pub/libungif/</a></i> |
| 175 | | |
| 176 | | </ul> |
| 177 | | <br> |
| 178 | | <li> src/osgPlugins/jpeg</li> |
| 179 | | <br> |
| 180 | | The jpeg plugin depends upon the libjpeg library, if you don't already have |
| 181 | | it installed, you'll need to download, compile and install it. Project home |
| 182 | | page is: |
| 183 | | <ul> |
| 184 | | <i><a href="http://www.ijg.org/">http://www.ijg.org/</a></i> |
| 185 | | </ul> |
| 186 | | <br> |
| 187 | | <li> src/osgPlugins/tiff</li> |
| 188 | | <br> |
| 189 | | The tiff plugin depends upon the libtiff library, if you don't already have |
| 190 | | it installed, you'll need to download, compile and install it. Project home |
| 191 | | page is: |
| 192 | | <ul> |
| 193 | | <i><a href="http://www.libtiff.org">http://www.libtiff.org</a></i> |
| 194 | | |
| 195 | | </ul> |
| 196 | | <br> |
| 197 | | <li> src/osgPlugins/zip</li> |
| 198 | | <br> |
| 199 | | The zip compressed archive plugin depends upon the unzip executable being |
| 200 | | available on your system. If it is not then you'll be able to find binaries |
| 201 | | at: |
| 202 | | <ul> |
| 203 | | <i><a href="http://www.freesoftware.com/pub/infozip/">http://www.freesoftware.com/pub/infozip/</a></i> |
| 204 | | |
| 205 | | </ul> |
| 206 | | <br> |
| 207 | | <li> src/osgPlugins/tgz</li> |
| 208 | | <br> |
| 209 | | The tgz compressed archive plugin depends upon the unzip executable being |
| 210 | | available on your system. If it is not then you'll be able to find binaries |
| 211 | | at: |
| 212 | | <ul> |
| 213 | | <i><a href="http://www.gzip.org/">http://www.gzip.org/</a></i> <br> |
| 214 | | <a href="ftp://prep.ai.mit.edu/pub/gnu/tar/">ftp://prep.ai.mit.edu/pub/gnu/tar/</a> |
| 215 | | |
| 216 | | </ul> |
| 217 | | <br> |
| 218 | | <li> src/osgPlugins/osgtgz</li> |
| 219 | | <br> |
| 220 | | Has the same dependencies as the tgz plugin above. |
| 221 | | </ul> |
| 222 | | |