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
06ad036da1
Updated wrappers
2007-07-14 17:16:09 +00:00
Robert Osfield
1f0edca631
Added support into osg::RenderInfo for a stack of Cameras that allow querries
...
of which camera is currently active to be querried from within the draw traversal.
2007-07-14 17:07:59 +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
f7ce35c5ee
Converted Operations to GraphicsOperations where apporpriate.
2007-07-13 19:24:50 +00:00
Robert Osfield
0a58c6e280
Removed all the plugins BUILD_OSG_* options as these just get in the way of
...
browsing standard CMake options.
2007-07-13 19:22:09 +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
65156475f6
Updated wrappers
2007-07-13 11:49:16 +00:00
Robert Osfield
ee470f2445
From Mathias Froehlich, "This patch removes the X11/Xmu/WinUtil.h header from GraphicsWindowX11.cpp.
...
That one is not used and appears not to be present on every platform we
compile on."
2007-07-13 11:42:02 +00:00
Robert Osfield
b1f943cef8
From Mathias Froehlich, "This change makes the net plugin compile on hp-ux.
...
It tries to unify some partly ugly ifdefs in the socket classes.
The change is also tested on a solaris 8, irix 6.5 and suse 9.0 machine."
2007-07-13 11:39:40 +00:00
Robert Osfield
14ab33cc29
Updated wrappers
2007-07-13 11:22:44 +00:00
Robert Osfield
b2535d55c6
Introduced new GUIEventAdatper singleton for sharing the current state between
...
multiple GraphicsWindows, this singleton is accessable via GUIEventEvent::getAccumulatedEventState().
Added use of this new singleton in GraphicsWindow* implementations.
Added WindowSizeHandler to osgkeyboard to help with debugging of event state
between windows.
2007-07-13 11:17:41 +00:00
Robert Osfield
03749d5e34
Removed redundent TerrainGeometry classes, and adding double buffer of
...
internal data within GeometryTechinque in prep for support multi-threaded
set up and rendering of terrain.
2007-07-12 20:12:38 +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
35435c3146
Updated wrappers
2007-07-11 16:06:24 +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
bdc8a72aae
From Andre Garneau, minor warning fixes
2007-07-11 15:30:14 +00:00
Robert Osfield
b93539ee09
Added setting of the Scene's FrameStamp on each CompositeViewer::updateTraversal() call to fix animation path issue.
2007-07-11 13:48:41 +00:00
Robert Osfield
0d38a66bbb
Added OperationsThread
2007-07-10 19:29:11 +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
e8f8c0c147
Updated wrappers
2007-07-09 10:48:32 +00:00
Robert Osfield
f70b6d0993
Improved the consistency of setting of rotation and auto rotate modes in setAxisAlingment method
2007-07-09 10:47:06 +00:00
Robert Osfield
a4499b482b
Fixed missinged intialization of the _threadsRunning variable.
2007-07-09 10:12:37 +00:00
Robert Osfield
7099068914
From Jean-Sebastien Guay and Jan Ciger, added search path can improved handling of backslashes/forward slashes
2007-07-07 16:05:05 +00:00
Robert Osfield
4c379a2848
Updared wrappers
2007-07-06 20:00:11 +00:00
Robert Osfield
50ec07b734
Added include of DeleteHandler
2007-07-06 16:54:45 +00:00
Robert Osfield
2b84aa7760
Added dirty count support to osgTerrain::Layer clases.
...
Added LayerHandler to osgterrain example that modifies the layers in
response to pressing the 's' and 'q' keys
2007-07-06 16:47:08 +00:00
Robert Osfield
c4c165099c
From Jea-Sebastien Guay and Robert Osfield, build fixes for Windows
2007-07-06 14:07:59 +00:00
Robert Osfield
9e2fe92ef1
From Rudolf Wiedemann, "I need to link OpenSceneGraph statically to my application, so I
...
completed the new registration of the plugin-readerwriters
("REGISTER_OSGPLUGIN") according to your osgstaticviewer-example (see
attachment, based on today's svn)."
2007-07-06 13:54:26 +00:00
Robert Osfield
a7de33ee55
From Brede Johansen, "Attached is a fix that returns a default color (white) if an invalid
...
index to the color palette is used."
2007-07-06 13:33:40 +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
dedc99f036
Updated wrappers.
2007-07-05 18:41:54 +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
5aa3db15a3
Improved the computation of the side vector
2007-07-05 18:30:57 +00:00
Robert Osfield
601217025f
Improved the mapping of update and cull traversal
2007-07-05 18:30:20 +00:00
Robert Osfield
0434d29ad4
From Adndre Garneau, "Attached is a fix to prevent a cursor being shown in graphics windows when
...
traits specify that none should be used (a recent change forced a
left-pointer cursor as the default). "
2007-07-05 10:57:34 +00:00
Robert Osfield
70bbb06dd5
Commented out "fix" that explictly sets the key modifier state as this change
...
actually broke the key modifier state management.
2007-07-05 10:51:47 +00:00
Robert Osfield
7f0b3144ea
Added checking of GUIEventAdpter::getHandled().
2007-07-03 13:26:48 +00:00
Robert Osfield
e7d7c1dcc2
Changed the way that computeNearFar is computed to avoid inconsistencies when in stereo mode
2007-07-02 13:17:47 +00:00
Robert Osfield
1522002b47
Updated wrappers
2007-07-02 13:16:54 +00:00
Robert Osfield
e5a6b1a834
From Csaba Halasz, support reading "monochrome" option string and use of monocrhome FreetType support
2007-07-02 12:43:23 +00:00
Robert Osfield
19d1a563fe
From Csaba Halasz and Robert Osfield, support for passing in ReaderWriter::Options object into readFontFile
2007-07-02 12:30:14 +00:00
Robert Osfield
c7a316e445
From Mike Connell, "This is a tiny fix for win32.
...
The current code takes the mouse cursor position and adds it to the
window (left,top) position, and sends the mouse cursor there. But this
doesn't take into account the window decoration.
The new code converts the given (x,y) coordinates from the client area
coordinate system to the screen instead using ClientToScreen. I think
this is the natural windows way to do it.
Tested on XP with osgviewer
"
Note from Robet Osfield, made a few changes to layout to make it more consistent
with the rest of the OSG and used #if 0 instead if (0) blocks.
2007-06-30 16:19:56 +00:00
Robert Osfield
efda16ac56
From Stephan Huber, "attached you'll find a small fix for the 3ds-plugin, so 3ds-files
...
exported from cinema 4d are imported correctly. It's not cinema's fault,
because the 3ds-files show up correctly in 3dStudio Max."
2007-06-30 15:40:23 +00:00