Robert Osfield
91983cbe71
Fixed typo
2007-09-08 07:04:27 +00:00
Robert Osfield
8e7e6529be
From David Callu, warning fixes
2007-09-07 15:03:56 +00:00
Robert Osfield
c7a72c8435
From Art Tevs,
...
"A new texture class Texture2DArray derived from
Texture extends the osg to support the new
EXT_texture_array extensions. Texture arrays provides
a feature for people interesting in GPGPU programming.
Faetures and changes:
- Full support for layered 2D textures.
- New uniform types were added (sampler2DArray)
- FrameBufferObject implementation were changed to
support attaching of 2D array textures to the
framebuffer
- StateSet was slightly changed to support texture
arrays. NOTE: array textures can not be used in fixed
function pipeline. Thus using the layered texture as a
statemode for a Drawable produce invalid enumerant
OpenGL errors.
- Image class was extended to support handling of
array textures
Tests:
I have used this class as a new feature of my
application. It works for me without problems (Note:
Texture arrays were introduced only for shading
languages and not for fixed function pipelines!!!).
RTT with Texture2DArray works, as I have tested them
as texture targets for a camera with 6 layers/faces
(i.e. replacement for cube maps). I am using the array
textures in shader programming. Array textures can be
attached to the FBO and used as input and as output."
2007-09-07 11:21:02 +00:00
Robert Osfield
8414a16e52
From Sherman Wilcox, added extension checking support for compressed texture subloading.
2007-09-03 15:43:58 +00:00
Robert Osfield
027158b441
From Laurens Voerman, "I hit a bug when making a copy of a PagedLOD node, the copy has lost
...
it's _databasePath and can no longer load it's childen. "
Added _databasePath(plod._databasePath), in the copy copy construcutor.
2007-09-03 09:56:30 +00:00
Robert Osfield
d730559ade
Fixed spacing.
2007-09-03 09:54:24 +00:00
Robert Osfield
c83bc830cd
From Sherman Wilcox, "I modified texturerectangle.cpp to address this issue. I used a DXT5 DDS
...
file to test the change."
2007-09-03 09:50:50 +00:00
Robert Osfield
86e998f64c
Added mutex locking add addParents/removeParents in Drawable, Node and StateSet.
2007-08-31 20:14:36 +00:00
Robert Osfield
020d7a5651
Added support for controlling the draw order on Cameras on each GraphcisContext
...
via the Camera::setRenderOrder parameters
2007-08-27 13:29:09 +00:00
Robert Osfield
5ce34fd7f3
Cleaned up the getRotate implementation selection using #defines, and made the
...
COMPILE_getRotate_David_Spillings_Mk1 the default.
2007-08-27 10:00:09 +00:00
Robert Osfield
cb5fb828d0
From Jan Ciger, warning fixes
2007-08-26 10:27:31 +00:00
Robert Osfield
8a4db98e2b
Change char* to const char* to fix warnings
2007-08-26 09:59:39 +00:00
Robert Osfield
6827104532
From Galen Faidley," Please find attached the modifications to get the new checkerboard
...
stereo format to work. It's a good thing I tested these on a TV
before submitting them since I did indeed have a bug. One thing I
did not test was to see how this would work in windowed mode. Does
the interlaced stereo code have support for 'absolute' positions?
For example a given pixel on the screen is always shown in a given
eye no matter where the graphics context is placed?
"
2007-08-23 14:31:23 +00:00
Robert Osfield
f8ac71d7e5
Addd control for serializing draw dispatch.
2007-08-23 11:00:12 +00:00
Robert Osfield
de4a4042f7
Set main scene graph elements to use thread safe ref/unref by default
2007-08-22 10:34:11 +00:00
Robert Osfield
5196b09672
Added debug ENFORCE_THREADSAFE paths into osg::Referenced, these are off by default.
2007-08-22 09:48:39 +00:00
Robert Osfield
94db040884
Added thread safe ref/unref
2007-08-22 09:45:20 +00:00
Robert Osfield
94af61ed01
Added setting of thread safe ref/unref.
2007-08-22 09:43:24 +00:00
Robert Osfield
57a18ff112
Added default setting of use of thread safe ref/unref.
2007-08-22 09:42:27 +00:00
Robert Osfield
9d0e273a15
Changed ++_modifedCount cases to dirty().
2007-08-17 09:37:49 +00:00
Robert Osfield
d57a16e023
Added DisplaySetting::s/getCompileContextHint() and use of this hint in osgViewer::Viewer/CompositeViewer.
...
Removed the CustomViewer in osgterrain example as the above now removes the need for it.
2007-08-11 14:49:14 +00:00
Robert Osfield
e5a365afee
Added support for an update OperationQueue to Viewer and CompositeViewer to allow asyncrnous adding of operations to be added
...
to the view to be done during syncronous updateTraversal().
This feature can be used for doing things like merging subgraphs that have been loaded
in a background thread.
2007-08-11 10:28:14 +00:00
Robert Osfield
0e475106dc
Updated wrappers
2007-08-10 17:44:54 +00:00
Robert Osfield
7366daca91
Refactored the way the Scene is used in Viewer and CompositeViewer to ensure
...
that only on Scene exists per scene graph.
2007-08-10 10:52:35 +00:00
Robert Osfield
eecd3e9257
From Andy Skinner, The attached file adds #include <stdlib.h> to GraphicsContext.cpp, so that it compiles with the solaris compiler we use.
2007-08-07 08:18:15 +00:00
Robert Osfield
4c3a13c3a1
From Andy Skinner, fixes for avoiding warnings about mixing c and c++ versions of c libs.
2007-08-05 14:51:56 +00:00
Robert Osfield
9b9e4cd7c8
Added perlimnary support for reading the DISPLAY variable.
2007-08-03 14:50:58 +00:00
Robert Osfield
c346f5b943
Introduce new osgViewer::Renderer class for implementing of the rendering
...
of cameras in viewers
2007-08-02 11:02:47 +00:00
Robert Osfield
59d3e0ceb7
From Andy Skinner, adding C includes to avoid issues when mixing C and C++ standard includes
2007-07-28 10:44:03 +00:00
Robert Osfield
6dec61842d
Introduce Camera::s/getRenderer().
2007-07-28 10:28:40 +00:00
Robert Osfield
5faeead2c6
From Bryan Thrall, added copying of boundingbox callback to copy constructor.
2007-07-27 17:14:51 +00:00
Robert Osfield
3eae87854b
Added FlushDeletedGLObjectsOperation.
2007-07-23 16:42:25 +00:00
Robert Osfield
de69a4a3d8
Added call to State::initializeExtensionsProcs() to prevent crashes before
...
these variables are initialized.
2007-07-18 14:54:27 +00:00
Robert Osfield
04c1dee7a2
Fixed GraphcicsContext::getMaxContextID so it properly returns the current max contextID.
...
Fixed the osgviewer's compile context code to account for the above fix.
Added compile context support into osgterrain example.
2007-07-17 10:54:17 +00:00
Robert Osfield
af19e71024
Changed BarrierOperation so that it isn't limited to jut working within GraphicsContexts.
2007-07-14 09:17:18 +00:00
Robert Osfield
a28588a84c
Introduce GraphicsOperation subclass from osg::Operation, and osgUtil::GLObjectOperation
...
for compiling subgraphs.
2007-07-13 17:25:35 +00:00
Robert Osfield
ecf0b58a19
Renamed include/osg/OperationsThread to OperationThread.
...
Created a new GraphicsThread subclass from OperationThread which allows the
GraphicsContext specific calls to be moved out of the base OperationThread class.
Updated the rest of the OSG to respect these changes.
2007-07-12 15:54:45 +00:00
Robert Osfield
4d7e8b12ae
Renamed OperationsThread to OperationThread and add two way link between OperationQueue and OperationThread
2007-07-12 12:15:42 +00:00
Robert Osfield
095da72020
Fixed typo
2007-07-11 16:06:04 +00:00
Robert Osfield
691a49d0fa
From Paul Melis, fixes to spelling mistakes/typos.
2007-07-11 15:51:17 +00:00
Robert Osfield
6a9551ebfb
Wired up OperationsThread to use the new OperationQueue and thereby support
...
thread pooling where multiple OperationsThreads share a single OperationsQueue
2007-07-10 17:36:01 +00:00
Robert Osfield
44c07b9fad
Separated OperationsThread out from the GraphicsThread header and introduced
...
new OperationQueue class.
2007-07-09 19:04:36 +00:00
Robert Osfield
4d04f3f645
Fixed unitialized variables.
2007-07-09 15:02:03 +00:00
Robert Osfield
c407866f30
Added OpertionQueue
2007-07-09 11:05:04 +00:00
Robert Osfield
6931ae4878
Added include/osg/GLObjects + .cpp which provide osg::flush*DeletedGLObjects() methods.
...
Added and cleaned up DeleteHandler calls in osgViewer to help avoid crashes on exit.
Changed DatabasePager across to dynamically checcking osg::getCompileContext(..)
Updated wrappers.
2007-07-06 13:08:51 +00:00
Robert Osfield
a484b95d3c
Added #include<algorithm>
2007-07-06 09:06:37 +00:00
Robert Osfield
d1fa520349
Added support for managing a CompileContext. Rearranged the DeleteHandler::flushAll call.
2007-07-05 18:33:20 +00:00
Robert Osfield
847a7c1644
Added Point::Extension::isPointSpriteCoordOriginSupported() method
2007-06-29 17:01:37 +00:00
Robert Osfield
74af1b8351
From Paul Martz, "Attached is src/osg/CMakeLists.txt. Adding TemplatePrimitiveFunctor to the source code list for the project. This makes this header file show up in the VS IDE as part of this project, and therefore facilitates IDE searching of project-related files, as well as making other tasks easier."
2007-06-29 16:10:24 +00:00
Robert Osfield
ddc26afa16
Fixed indenting to use 4 spaces instead of tabs
2007-06-29 16:09:12 +00:00