Go to file
Robert Osfield ab4398e440 From Farshid Lashkari, "I made a modification to the setClientActiveTextureUnit and
setActiveTextureUnit methods of osg::State so they return false if the
texture unit is outside the range of allowable units for the driver.
Currently, the functions would return true even if the units are
invalid. This would cause the osg::State to become out of sync with
the actual driver state, which can cause some bugs in certain cases.

The change I made would verify that the unit passed to
setClientActiveTextureUnit is below GL_MAX_TEXTURE_COORDS, and the
unit passed to setActiveTextureUnit is below
max(GL_MAX_TEXTURE_COORDS,GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS). I
modeled this behavior from the OpenGL docs for these commands which
can be found here:

http://www.opengl.org/sdk/docs/man/xhtml/glClientActiveTexture.xml
http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml
"
2007-05-15 11:25:14 +00:00
applications Renamed ViewerEventHandler to ViewerEventHandlers 2007-05-14 15:16:26 +00:00
CMakeModules Added preliminary Performer plugin support, note, still missing are a range of Performer database libs that will be required. 2007-05-05 16:24:07 +00:00
doc Moved osgProducer and osgproducerviewer out into their own repository. 2007-02-27 13:16:18 +00:00
examples Set up new view dependent overlay technique control methods 2007-05-14 20:23:10 +00:00
include From Farshid Lashkari, "I made a modification to the setClientActiveTextureUnit and 2007-05-15 11:25:14 +00:00
src From Farshid Lashkari, "I made a modification to the setClientActiveTextureUnit and 2007-05-15 11:25:14 +00:00
VisualStudio Removed more of the old VisualStudio build system 2007-04-10 13:12:58 +00:00
Xcode Fixes to resync Xcode project with current tree. 2007-04-30 22:12:08 +00:00
AUTHORS.txt Updated authors file 2007-05-14 09:43:48 +00:00
ChangeLog Updated ChangeLog and AUTHORS.txt for release 2007-05-07 07:58:12 +00:00
CMakeLists.txt Updated wrappers and version numbers for 1.9.4 dev release 2007-05-14 09:33:32 +00:00
genwrapper.conf Added OpenThreads wrappers 2007-05-02 19:57:05 +00:00
LICENSE.txt Added missing LGPL section to LICENSE.txt 2006-11-20 10:12:57 +00:00
NEWS.txt From Paul Martz, speeling fixes for Tessellator/Tessellation. 2007-01-08 21:29:49 +00:00
README.txt Updated ChangeLog and AUTHORS.txt for release 2007-05-07 07:58:12 +00:00
runexamples.bat Removed examples: 2007-01-11 15:48:44 +00:00

Welcome to the OpenSceneGraph (OSG).

For up to date information on the project, how to indepth details on how to 
compile and run libraries and examples, and see the documentation on the 
OpenSceneGraph website.

    http://www.openscenegraph.org
  
For the impatient, read the simplified build notes below.

Robert Osfield.
Project Lead.
7th May 2007.

--

Notes for 1.9.3 release
=======================

OpenThreads/include and src directories has now been merged directly into 
the OpenSceneGraph distribution, this means that you don't need to download,
compile or install it, and will be able to remove the external OpenThreads
from your system.

--

How to build the OpenSceneGraph
===============================

The OpenSceneGraph use the CMake build system to generate platform specific
build environment.  CMake reads the CMakeLists.txt files that you'll find 
throughout the OpenSceneGraph directories, check for installed dependnecies
and then generate the appropriate build system.

If you don't already have CMake installed on your system you can grab it
from http://www.cmake.org, version 2.4.6 or later.

Under unices (i.e. Linux, IRIX, Solaris, Free-BSD, HP-Ux, AIX, OSX) use the
cmake or ccmake commandline utils:
 
  cd OpenSceneGraph
  ccmake .
  make
  sudo make install
  
Under Windows use the GUI tool CMakeSetup to build your VisualStudio files. 
The following page on our wiki dedicated to the CMake build should help
guide you through the process:

   http://www.openscenegraph.com/index.php?page=Build.CMake

For further details on compiliation, installation and platform specific information
read "Getting Started" at http://www.openscenegraph.org, under 
"Documentation".