Robert Osfield
99be2cdb7f
Moved PickVistor into osgUtil
2005-12-07 10:25:50 +00:00
Robert Osfield
4d658ae1ea
Improved the PickVisitor to make it more flexible and robust.
2005-12-06 21:59:43 +00:00
Robert Osfield
e1454d22a7
Attempt at build fixes for IRIX.
2005-12-05 10:24:02 +00:00
Robert Osfield
eb51a53919
Added CameraBarrierCallback so that multi-thread multi-cameras are synconized
...
correctly when do stats collection.
2005-11-29 12:09:45 +00:00
Robert Osfield
0663c3b653
From John Donovan, typo fixes.
2005-11-25 19:18:12 +00:00
Robert Osfield
83f43b37e6
Added automatic setting of thread safe reference counting when multi-threaded
...
cameras are used.
2005-11-24 10:14:05 +00:00
Robert Osfield
0e16b64665
Coverted tabs to space in core libraries.
2005-11-17 13:35:53 +00:00
Robert Osfield
168225ebaf
From Toshiyuki Takahei, fixed order intialiation problem in Viewer::selectCameraManipulator(..).
2005-11-17 11:27:25 +00:00
Robert Osfield
9d8fd69fa9
Change the KeySwitchMatrixManipulator so that it two sets of getMatrixManipulator
...
methods, two that takes an index,two that takes a key value. Updated the ViewEventHandler
so the it now uses the getMatrixManipulatorWithIndex() method to avoid previous ambiguity.
2005-11-14 11:00:36 +00:00
Robert Osfield
0ec0327b96
Added scene stats support to osgProducer::ViewerEventHandler.
2005-11-11 17:00:36 +00:00
Robert Osfield
afab32079e
Fixed typo of CoordinateSystem.
2005-11-10 11:56:18 +00:00
Robert Osfield
e8d6df7583
Addd OsgSceneHandler::s/getCleanUpOnNextFrame() and support for it in the draw() method,
...
when CleanUpOnNextFrame is enabled the next frame simple deleted OpenGL objects without doing any draw traversal.
2005-11-10 11:39:01 +00:00
Robert Osfield
e555f0332b
Added a test of isRealized to requestWrapPointer to prevent a deadlock condition occur when a wap pointer is done before a window is realized.
2005-11-09 13:26:11 +00:00
Robert Osfield
258425d649
Bumped the version numbers up to 1.0 in preparation for 1.0-rc1.
2005-11-09 10:49:56 +00:00
Robert Osfield
5e40ca9c86
Improved the handling of CameraNode and viewers with projection matrices
...
contained NaN's.
2005-11-07 16:48:45 +00:00
Robert Osfield
16801f82e0
From Steve Lunsford, added psuedo event dispatch to init within selectCameraManipulator
...
to force the new minpulator to update correctly.
2005-11-07 15:43:29 +00:00
Robert Osfield
b2f5a48c15
From Marco Jez, Added an unregister of the GraphicsContextImplement on unload.
2005-11-07 13:54:25 +00:00
Robert Osfield
f3cfe97da9
Added support in DisplaySettings and OscCameraGroup for requesting accumulator buffer.
2005-11-02 19:15:18 +00:00
Robert Osfield
b0df518d11
Added handling of CameraNode into PickVisitor in src/osgProducer/Viewer.cpp. This
...
is unlikely to be the final solution, but does at least fix part of the problem of handling
picking HUD's underneath CameraNodes.
2005-11-02 15:23:54 +00:00
Robert Osfield
ddd609e37b
From Marco Jez, commented out debuggin message.
2005-11-02 10:55:20 +00:00
Robert Osfield
b704045e6c
Added default setting of _threading_model to ThreadPerCamera when multiple cameras
...
are present, and SingleThreaded when a single camera is being used.
2005-10-31 14:48:11 +00:00
Robert Osfield
578530d0b4
Fixed env var docs for sharing graphics contexts.
2005-10-28 18:37:15 +00:00
Robert Osfield
be07f48884
From Geoff Michel, compile fixes for VS6.0
2005-10-26 09:22:13 +00:00
Robert Osfield
f46044084a
From Farshid Lashkari & Robert Osfield: Added support for VERTICAL_INTERLACE and HORIZONTAL_INTERLACE
...
stereo modes use the stencil buffer.
2005-10-25 15:43:04 +00:00
Robert Osfield
3bf7cba453
Added env var reporting for the OSG_CAMERA_THREADING and OSG_SHARE_GRAPHICS_CONTEXTS env vars.
2005-10-06 13:31:23 +00:00
Robert Osfield
1a152afda0
Added catch for disabling ThreadPerCamera when contexts are shared.
2005-10-06 13:20:08 +00:00
Robert Osfield
1def1e0d53
From Joran Jessurun, fix to let the Viewer::computeNearFarPoints
...
function work correctly when used with multiple camera's on one render
surface.
2005-09-10 13:07:08 +00:00
Robert Osfield
6391691be6
Added release() to all GraphicsOperations in GraphicsThread.
2005-09-03 20:54:32 +00:00
Robert Osfield
4167a3f980
Added clean up class to help improve the exit of GraphicsThread
2005-09-02 13:10:46 +00:00
Robert Osfield
caaeaee321
Fixed typo
2005-09-01 19:12:06 +00:00
Robert Osfield
aba3b4fa67
Clean up and fixes to GraphicThread class, and osgcamera example.
2005-08-30 14:41:08 +00:00
Robert Osfield
9f740f7397
Improved support for keyboard/mouse events in osgcluster.
2005-08-29 14:05:30 +00:00
Robert Osfield
ffb06a8c49
Added extra access methods on osgProducer::KeyboardMouseCallback, and added
...
support for reading and writing keyboard/mouse events in osgcluster.
2005-08-29 12:05:17 +00:00
Robert Osfield
ac07e07705
Further work on GraphicsContext/GraphicsThread
2005-08-20 08:59:03 +00:00
Robert Osfield
51faa7e43a
Various updates to support the new GraphicsThread class.
2005-08-18 20:17:51 +00:00
Robert Osfield
e8fc5248fa
Added realize() and isRealized() methods to osg::GraphicsContext.
...
Added osgcamera example that uses osg::GraphicsContext to create the required
window for rendering too, will eventually use osg::CameraNode to replace usage
of osgUtil::SceneView.
2005-08-16 13:29:07 +00:00
Robert Osfield
3af2fc76dc
Added setting up of Producer::VisualChooser.
2005-08-06 19:19:15 +00:00
Robert Osfield
921148f664
Change the frame reference time so that it uses the same time as the
...
KeyboardMouseCallback.
2005-08-06 19:18:53 +00:00
Robert Osfield
72a59527f5
From Marco Jez, added setEventHandled() and getEventHandled() to osgGA::EventVisitor.
2005-07-27 09:37:26 +00:00
Robert Osfield
bddaefd569
Perliminary support for glGenerateMinMapEXT.
2005-07-25 16:12:24 +00:00
Robert Osfield
384830d37e
Added handling of automatic setting up of the contextID.
2005-07-25 14:28:22 +00:00
Robert Osfield
3c23a42f17
Added support for TextureCubeMap into osgUtil::RenderToTextureStage.
2005-07-25 13:05:57 +00:00
Robert Osfield
ee8f7bb756
Added post draw callback to osg::CameraNode/osgUtil::RenderToTextureStage.
...
Added support for Texture1D, 2D, 3D and TextureRectangle into osgUtil::RenderToTextureStage.
2005-07-24 20:31:21 +00:00
Robert Osfield
3c12f5ccce
Fixed compile error.
2005-07-21 20:45:16 +00:00
Robert Osfield
9b34bc5c86
Added GraphicsContextImplementation
2005-07-21 19:37:44 +00:00
Robert Osfield
302c58fc93
Implemented the beginings of the osgProducer::GraphicsContexImplementation.
...
Added options into osgprerender for controlling how to do the pre rendering i.e.
--fbo, --pbuffer, --fb --window, and also added the option for controlling the
window size with --width and --height.
2005-07-21 19:27:19 +00:00
Don BURNS
702944b67a
Fixed fullscreen toggle in ViewerEventHandler that assumed the first
...
RenderSurface was a window (not a pbuffer).
2005-05-18 21:45:30 +00:00
Robert Osfield
1dd553ed0e
Bumped version numbers to 0.9.9 in rediness for 0.9.9 release.
2005-05-16 17:17:53 +00:00
Robert Osfield
d1a1b1d95c
Added more comprehensive releaseGLObjects(State*=0) throughout Nodes,
...
Drawables,StateSet, and osgDB::Registry.
Added cleanup_frame() from to osgProducer::OsgCamerGroup to help with proper
clean of OpenGL objects before exit, and modified osgviewer, osghangglider,
osgwindows examples to do the extra frame call to cleanup_frame() before exit.
2005-05-07 20:47:09 +00:00
Robert Osfield
52e036f425
Added handling of sharing of graphics context data which is now supported
...
by Producer. You can get the osgProducer::Viewer to share graphics contexts
by using the env var OSG_SHARE_GRAPHICS_CONTEXTS set to ON or OFF i.e.
setenv OSG_SHARE_GRAPHICS_CONTEXTS ON
2005-05-06 19:44:24 +00:00