*** empty log message ***

This commit is contained in:
Robert Osfield
2001-09-28 12:36:40 +00:00
parent 2a9848ea95
commit 57fd2b4bcb
26 changed files with 53 additions and 55 deletions

View File

@@ -282,7 +282,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor
TransparencySortMode _tsm;
// viewport x,y,width,height respectiveyly.
// viewport x,y,width,height respectively.
osg::ref_ptr<osg::Viewport> _viewport;
bool _impostorActive;
@@ -304,7 +304,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor
++_currentReuseMatrixIndex;
}
// if still within list, element must be singularily referenced
// if still within list, element must be singularly referenced
// there return it to be reused.
if (_currentReuseMatrixIndex<_reuseMatrixList.size())
{
@@ -334,7 +334,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor
++_currentReuseRenderLeafIndex;
}
// if still within list, element must be singularily referenced
// if still within list, element must be singularly referenced
// there return it to be reused.
if (_currentReuseRenderLeafIndex<_reuseRenderLeafList.size())
{

View File

@@ -12,10 +12,10 @@ namespace osgUtil {
/** Visitor for traversing scene graph and setting each osg::GeoSet's _useDisplayList flag,
* with option to immediately compile osg::GeoSet's OpenGL Display lists.
* The mode of operation
* of the vistor is controlled by setting the DisplayListMode either on visitor
* of the visitor is controlled by setting the DisplayListMode either on visitor
* constructor or via the setDisplayListMode() method. DisplayListMode options are:
* _displayListMode == SWITCH_ON_AND_COMPILE_DISPLAY_LISTS cals gset->compile() on
* all Geode childern. Note, the visitor must only be used within a valid
* all Geode children. Note, the visitor must only be used within a valid
* OpenGL context as compile uses OpenGL calls.
* _displayListMode == SWITCH_ON_DISPLAY_LISTS sets the Geode's children with
* gset->setUseDisplayList(true), this method does not directly create display list,
@@ -41,7 +41,7 @@ class OSGUTIL_EXPORT DisplayListVisitor : public osg::NodeVisitor
};
/** Construct a CompileGeoSetsVisior to traverse all child,
* with set specfied display list mode. Default mode is to
* with set specified display list mode. Default mode is to
* gset->setUseDisplayList(true).
*/
DisplayListVisitor(DisplayListMode mode=SWITCH_ON_DISPLAY_LISTS);

View File

@@ -1,4 +1,4 @@
// The following symbole has a underscore suffix for compatibility.
// The following symbol has a underscore suffix for compatibility.
#ifndef OSGUTIL_EXPORT_
#define OSGUTIL_EXPORT_ 1

View File

@@ -75,7 +75,7 @@ class OSGUTIL_EXPORT Hit : public osg::Referenced
/** Basic visitor for ray based collisions of a scene.
Note, still in development, current version has not
pratical functionality!*/
practical functionality!*/
class OSGUTIL_EXPORT IntersectVisitor : public osg::NodeVisitor
{
public:

View File

@@ -15,8 +15,6 @@
namespace osgUtil {
// beginings of a replacement for DrawBin.
class OSGUTIL_EXPORT RenderGraph : public osg::Referenced
{
public:
@@ -51,7 +49,7 @@ class OSGUTIL_EXPORT RenderGraph : public osg::Referenced
~RenderGraph() {}
/** return true if all of drawables, lights and chilren are empty.*/
/** return true if all of drawables, lights and children are empty.*/
inline const bool empty() const
{
return _leaves.empty() && _children.empty();
@@ -79,7 +77,7 @@ class OSGUTIL_EXPORT RenderGraph : public osg::Referenced
ChildList::iterator itr = _children.find(stateset);
if (itr!=_children.end()) return itr->second.get();
// create a state group and insert it into the chilren list
// create a state group and insert it into the children list
// then return the state group.
RenderGraph* sg = new RenderGraph(this,stateset);
_children[stateset] = sg;
@@ -137,7 +135,7 @@ class OSGUTIL_EXPORT RenderGraph : public osg::Referenced
}
// need to pop back upto the same depth as the new state group.
// need to pop back up to the same depth as the new state group.
while (sg_curr->_depth>sg_new->_depth)
{
if (sg_curr->_stateset.valid()) state.popStateSet();
@@ -147,7 +145,7 @@ class OSGUTIL_EXPORT RenderGraph : public osg::Referenced
// use return path to trace back steps to sg_new.
std::vector<RenderGraph*> return_path;
// need to pop back upto the same depth as the curr state group.
// need to pop back up to the same depth as the curr state group.
while (sg_new->_depth>sg_curr->_depth)
{
return_path.push_back(sg_new);

View File

@@ -12,7 +12,7 @@ namespace osgUtil {
* RenderState base class. Used for encapsulate a complete stage in
* rendering - setting up of viewport, the projection and model
* matrices and rendering the RenderBin's enclosed with this RenderStage.
* RenderStage also has a dependancy list of other RenderStages, each
* RenderStage also has a dependency list of other RenderStages, each
* of which must be called before the rendering of this stage. These
* 'pre' rendering stages are used for advanced rendering techniques
* like multistage pixel shading or impostors.

View File

@@ -12,7 +12,7 @@
namespace osgUtil {
/**
* SceneView is literaly a view of a scene, encapsulating the
* SceneView is literally a view of a scene, encapsulating the
* camera, global state, lights and the scene itself. Provides
* methods for setting up the view and rendering it.
*/
@@ -20,7 +20,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Referenced
{
public:
/** Constrcut a default scene view.*/
/** Construct a default scene view.*/
SceneView();
/** Set scene view to use default global state, light, camera
@@ -130,7 +130,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Referenced
internal near and far planes. Default value is true.
*/
void setCalcNearFar(bool calc) { _calc_nearfar = calc; }
/** return true if SceneView automatically caclculates near and
/** return true if SceneView automatically calculates near and
far clipping planes for each frame.
*/
bool getCalcNearFar() const { return _calc_nearfar; }

View File

@@ -10,9 +10,9 @@
namespace osgUtil {
/** A simple class for tesselating a single polygon boundary.
* Currently uses old style glu tesselation functions for portablity.
* It be nice to use the modern glu tesselation functions or to find
/** A simple class for tessellating a single polygon boundary.
* Currently uses old style glu tessellation functions for portability.
* It be nice to use the modern glu tessellation functions or to find
* a small set of code for doing this job better.*/
class OSGUTIL_EXPORT Tesselator
{

View File

@@ -23,7 +23,7 @@ class OSGUTIL_EXPORT TriStripVisitor : public osg::NodeVisitor
}
/** convert mesh primitives in geoset into Tri Strips using
* NvTriStrip. Converts all primtive types except points
* NvTriStrip. Converts all primitive types except points
* and lines, linestrips which it leaves unchanged.
*/
static void stripify(osg::GeoSet& gset);

View File

@@ -8,9 +8,9 @@ extern "C" {
/**
* getVersion_osgUtil() returns the library version number.
* Numbering conventon : osg_src-0.8-31 will return 0.8.31 from getVersion_osgUtil.
* Numbering convention : osg_src-0.8-31 will return 0.8.31 from getVersion_osgUtil.
*
* This C function can be also used to check for the existance of the OpenSceneGraph
* This C function can be also used to check for the existence of the OpenSceneGraph
* library using autoconf and its m4 macro AC_CHECK_LIB.
*
* Here is the code to add to your configure.in:

View File

@@ -11,7 +11,7 @@ namespace osgUtil {
/** A visitor for traversing a scene graph establishing the OpenGL visuals are required
* to support rendering of that scene graph. The results can then be used by
* applications to set up there windows with the corret visuals. Have a look at
* applications to set up there windows with the correct visuals. Have a look at
* src/osgGLUT/Viewer.cpp's Viewer::open() method for an example how to use it.
*/
class OSGUTIL_EXPORT VisualsRequirementsVisitor : public osg::NodeVisitor