Commit Graph

4009 Commits

Author SHA1 Message Date
Robert Osfield
03232ec667 Moved osg::Impostor to osgSim::Impostor, as Impostor isn't a core feature. 2005-05-01 19:48:49 +00:00
Robert Osfield
7de1265059 From Don Tidrow, spelling fixes 2005-05-01 10:34:48 +00:00
Robert Osfield
adba6fa559 Added RemoveLoadedProxyNodes pass to Optimizer, set on by default at present. 2005-04-30 15:16:05 +00:00
Robert Osfield
81f60233a9 From Geoff Michel :
ac3d loader - better sharing of states between objects and Roger James' bug fix for missing normals.

  Tesselator.cpp - faster processing of polygon tesselation for single triangles (which dont need to be tesselated)

  osgtesselate.cpp - added wrap for texture so that appearance is as originally. Default texture behaviour has changed to clamp."
2005-04-30 13:54:21 +00:00
Robert Osfield
67baa30218 Combine LOD fixed properly this time :) 2005-04-30 07:25:15 +00:00
Robert Osfield
bf03f094c2 fixed combined LOD bug 2005-04-30 07:22:56 +00:00
Robert Osfield
a5fcddc5e5 From Mike Weiblen, Progra/Shader fixes 2005-04-30 07:02:02 +00:00
Robert Osfield
7d69b5e562 Updated wrappers 2005-04-29 20:57:04 +00:00
Robert Osfield
7117ff4bd3 Added support for controlling the frequency of checking for OpenGL errors
via:

        enum CheckForGLErrors
        {
            /** NEVER_CHECK_GL_ERRORS hints that OpenGL need not be checked for, this
                is the fastest option since checking for errors does incurr a small overhead.*/
            NEVER_CHECK_GL_ERRORS,
            /** ONCE_PER_FRAME means that OpenGl errors will be checked for once per
                frame, the overhead is still small, but at least OpenGL errors that are occurring
                will be caught, the reporting isn't fine grained enough for debugging purposes.*/
            ONCE_PER_FRAME,
            /** ONCE_PER_ATTRIBUTE means that OpenGL errors will be checked for after
                every attribute is applied, allow errors to be directly associated with
                particular operations which makes debugging much easier.*/
            ONCE_PER_ATTRIBUTE
        };

        /** Set whether and how often OpenGL errors should be checked for.*/
        void setCheckForGLErrors(CheckForGLErrors check) { _checkGLErrors = check; }

        /** Get whether and how often OpenGL errors should be checked for.*/
        CheckForGLErrors getCheckForGLErrors() const { return _checkGLErrors; }
2005-04-29 20:56:20 +00:00
Robert Osfield
0ff98ceb59 VS.7.1 linker warning fix 2005-04-29 18:51:14 +00:00
Robert Osfield
68032dafc8 Commented out notify messages to prevent crash under OSX at start up. 2005-04-29 13:30:59 +00:00
Robert Osfield
7781be9cc9 Compile fix 2005-04-29 11:22:15 +00:00
Robert Osfield
f2d696f871 Moved osgIntrospection across to standard OSG coding style. 2005-04-29 11:19:58 +00:00
Robert Osfield
af13199e05 Added Copyright 2005-04-29 10:06:50 +00:00
Robert Osfield
6b5238c294 Moved osgParticle across to standard OSG coding style. 2005-04-29 09:47:57 +00:00
Robert Osfield
6211eb7b48 Coding style update 2005-04-29 06:32:45 +00:00
Robert Osfield
98126f1706 Moved to standard OSG coding style. 2005-04-29 06:32:13 +00:00
Robert Osfield
178a0b5c7e Reduced the verboseness of the notifaction messages 2005-04-28 19:50:07 +00:00
Robert Osfield
492160d892 Fixed the Mingw settings for GDAL_LIBS (was written as GDAL_LIB which wasn't
being picked up as the GNUmakefiles were looking for GDAL_LIBS).
2005-04-28 19:41:16 +00:00
Robert Osfield
bf13c8ca14 Changed the default texture size to 512x512 to reduce the number of textures
required when rendering text.
2005-04-28 19:24:09 +00:00
Robert Osfield
84aef32552 Removed old LUMINANCE_ALPHA code pathways since they are no longer used. 2005-04-28 19:08:44 +00:00
Robert Osfield
10607dd690 Added proper handling of freeing of font implememtation either when unloading
the freetype plugin or deleting osgText::Font first.
2005-04-28 18:55:08 +00:00
Robert Osfield
0b34ab9cb7 Added version number #define's 2005-04-28 12:45:55 +00:00
Robert Osfield
7f3d46e110 Added check to see if autoTransformCache had been initialized before
using it in the computeBound.
2005-04-28 05:58:20 +00:00
Robert Osfield
30d20fcf55 From Farshid Lashkari, removed redundent fusion distance calculations from computeRightEyeProjectionImplementation and
computeLeftEyeProjectionImplementation methods.
2005-04-28 05:21:27 +00:00
Robert Osfield
f966ce0156 From Marco Jez, changed = to ?= in COMPILE_INTROSPECTION line 2005-04-28 05:15:21 +00:00
Robert Osfield
a753748a1a From Marco Jez, converted line endings to unix. 2005-04-28 05:12:54 +00:00
Robert Osfield
fd7f9d30be From Marco Jez, added -ne option echo usage to fix stdout/stderr redirection
error under Mingw.
2005-04-28 05:08:02 +00:00
Robert Osfield
968f54b5db From Ruben, fix for PIV executation by disabling MMXEXT selection. 2005-04-26 20:35:53 +00:00
Robert Osfield
4f6114ef77 From Brede Johansen, tweaks to emitter classes to make them more extensible. 2005-04-26 19:34:03 +00:00
Robert Osfield
a47a6a4886 Added $(GL_LIBS) to link line to get things linking ok under OSX. 2005-04-26 18:55:51 +00:00
Robert Osfield
63c81a3539 Updated wrappers. 2005-04-26 14:29:25 +00:00
Robert Osfield
a1bda0dab8 Added support for per context extension string.
Note, this required adding a unsigned int context ID to the osg::isGLUExtensionSupported(,)
and osg::isGLExtensionSupported(,) functions.  This may require reimplementation
of end user code to accomodate the new calling convention.
2005-04-26 13:15:27 +00:00
Robert Osfield
59ebf86dd0 Added #include <algorithm> for VS.NET build 2005-04-26 11:20:19 +00:00
Robert Osfield
3c90a5f694 Added support notification of Drawable parents of StateSet that event/update callbacks have been called. 2005-04-26 09:58:19 +00:00
Robert Osfield
38bf740ef4 From Vivek Rajan, "osg::Text was getting stretched when the CharacterSizeMode was set to
SCREEN_COORDS and the SceneView's projection matrix was set to an
Ortho2D matrix (sceneView->setProjectionMatrixAsOrtho2D(-1,1,-1,1)).

Computing the pixel size separately vertically and horizontally, and
setting the scaling factors appropriately based on that fixed the
problem."
2005-04-26 07:49:18 +00:00
Robert Osfield
edf142222b Updated wrappers using Marco Jez's genwrapper utility. 2005-04-25 20:46:46 +00:00
Robert Osfield
fa996d0745 From Mike Weiblen, added support for --clear-color r,g,b,a and --clear-color r,g,b
to osgProducer::Viewer.
2005-04-25 20:34:23 +00:00
Robert Osfield
baa9af49c4 Reduced the verbosness of debugging messages 2005-04-25 14:28:16 +00:00
Robert Osfield
e24cfa0370 Futher work on supporting update and event callbacks in StateSet, Uniform and StateAttribute 2005-04-25 13:37:12 +00:00
Robert Osfield
78f88247f8 Added SINGLE_THREADED_KEYBOARDMOUSE pathway as a means of testing
exit issues.
2005-04-25 13:27:56 +00:00
Robert Osfield
bc83e63bb4 Futher work on adding event and update callbacks to StateSet, Uniform and StateAttributes 2005-04-25 11:05:02 +00:00
Robert Osfield
193c83cb9c Added ParentList's into StateSet, Uniform and StateAttribute in preparation for
providing update and event handling.
2005-04-24 21:04:54 +00:00
Robert Osfield
4262366f62 Added THREAD_ infront of PRIORITY_MIN settings to reflect changes to OpentThreads 2005-04-24 19:30:01 +00:00
Robert Osfield
0d9887462a Added MergeGeometryVisitor::setTargetMaximumNumberOfVertices(uint); 2005-04-23 16:09:20 +00:00
Robert Osfield
6b8a50375b Removed the use of the post swap callback 2005-04-23 10:45:38 +00:00
Robert Osfield
f91efb7f31 Added missing bodes of Uniform::operator = and setEvent/UpdateCallback in StateSet. 2005-04-23 10:41:30 +00:00
Robert Osfield
57c87d644a Added support for using TextureRectangle in --move support in readNodeFile 2005-04-23 10:31:52 +00:00
Robert Osfield
819d2c6c56 Preliminary steps to adding update and event callbacks to StateSet, StateAttribute
and Uniform.
2005-04-22 22:45:39 +00:00
Robert Osfield
c7fb7e8b5f From Brede Johansen, tweaked refraction and fresnel coefficients for a better
visual effect.
2005-04-22 20:56:03 +00:00