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
68032dafc8
Commented out notify messages to prevent crash under OSX at start up.
2005-04-29 13:30:59 +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
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
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
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
968f54b5db
From Ruben, fix for PIV executation by disabling MMXEXT selection.
2005-04-26 20:35:53 +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
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
b35ded6fb9
Improved handling of unsupported file formats.
2005-04-22 15:44:03 +00:00
Robert Osfield
2914f7c342
Improved handling of invalid imagery in BufferObject
2005-04-22 15:43:34 +00:00
Robert Osfield
bba76cfa31
From Tree, removed dependency on Producer
2005-04-22 14:40:06 +00:00
Robert Osfield
bf317d9cea
Removed ViewPoint.h and .cpp from the ive plugin
2005-04-22 13:47:54 +00:00
Robert Osfield
483242c9db
Cleaned up the xine plugin to better handle unsupported video files.
2005-04-22 13:32:46 +00:00
Robert Osfield
8b4f9dce60
From Mike Weiblen, added support for samplers and mat4 to .osg
2005-04-22 07:13:50 +00:00
Robert Osfield
7f2ab883f5
Added initialize of version number
2005-04-21 21:07:27 +00:00
Robert Osfield
7182713dcf
From Garrat Potts, fixed face memory leak in FreTypeFont destructor.
2005-04-21 21:05:48 +00:00
Robert Osfield
496227d239
From Mike Weiblen, removed Uniform not quite ready notice,
...
and added .h files into osgshaders project file.
2005-04-20 18:50:50 +00:00
Robert Osfield
e2a85f6bc6
From Brede Johnansen, adding support for EXT, ARB and GL version 1.4 point parameters.
2005-04-20 12:32:43 +00:00
Robert Osfield
3ab9867264
Removed increment of the cursor position by the bearing value in the compute
...
last character code as this should not be used when moving the cursor.
2005-04-20 09:55:24 +00:00
Robert Osfield
06dc3ebb34
From Reinhard Sainitzer, bug fix, added missing break;
2005-04-19 07:37:59 +00:00
Robert Osfield
b699c8e9ab
Further work on uniforms support in .osg
2005-04-18 13:36:10 +00:00
Robert Osfield
59ec503fc9
Added more complete support for writing out data of Uniforms
2005-04-18 13:29:59 +00:00
Robert Osfield
648677ce44
Added next stage of support for osg::Uniform in .osg plugin
2005-04-18 12:34:28 +00:00
Robert Osfield
0a995f8093
Removed mpeg plugin from CVS, now moved to the Community section of
...
openscenegraph.org as a seperate project.
2005-04-18 09:17:56 +00:00
Robert Osfield
6a22af590a
Fixed warnings.
2005-04-17 19:10:32 +00:00
Robert Osfield
000e5f8d10
Changed the animation on default to false, so things only move if you ask them to.
2005-04-17 11:35:26 +00:00