Robert Osfield
87aff3d92c
Further work on osgText::FadeText implementation.
2006-09-19 20:19:29 +00:00
Robert Osfield
def74d3471
Introduced new osg::View, and osg::RenderInfo classes into the core OSG to help
...
handle scenes with multiple views with elements that need coordinating on a per view basis.
Added beginings of new osgText::FadeText class (not functionality yet).
2006-09-18 20:54:48 +00:00
Robert Osfield
846fe1aeeb
Fixed typo on OSG_PROCESSOR_AFFINITY env var.
2006-08-31 15:47:47 +00:00
Robert Osfield
38c70042a5
Fixed if (numProcessors>1), was originally >=
2006-08-11 18:22:16 +00:00
Robert Osfield
1e742f1064
Moved the OpenThreads::GetNumberOfProcessors() inside the if (_enableProcessAffinitHint) block to
...
avoid slowing down init of apps that don't require procesor affinity.
2006-08-11 12:39:42 +00:00
Robert Osfield
44916d398f
Moved all platform specific processor out of osgProducer and into OpenThreads
2006-08-10 15:53:01 +00:00
Robert Osfield
c0cd67aa8f
Added extra defined(CPU_SET) to try and get round RH8 compile problems.
2006-08-08 14:57:14 +00:00
Robert Osfield
2616174b06
Added support for --affinity command line option for switch on procesor affinity where supported,
2006-08-08 11:27:36 +00:00
Robert Osfield
687bfb40c1
Added preliminary support for process affinity support under Linux.
2006-08-06 16:49:48 +00:00
Robert Osfield
d9b6d87d5a
Cleaned up per context buffers support
2006-07-26 15:29:26 +00:00
Robert Osfield
f1c2694c17
Updated copyright years.
2006-07-18 15:21:48 +00:00
Robert Osfield
03af6871ab
Added setting of the CameraConfig:TheradModelDirective
2006-06-27 20:13:41 +00:00
Robert Osfield
c71fc9fcb6
From Stephan Huber, remove Platform specific handling of multi-sample setup as its
...
now supported within Producer in a generic way. From Robert Osfield fix to the parameter ordering
2006-06-27 12:08:30 +00:00
Robert Osfield
923d85eb06
Added catch for thread model w.r.t new PrecipitationEffect not being
...
sensitive to threading issues.
2006-04-28 10:48:05 +00:00
Robert Osfield
99285a40ef
Added setting of the DisplaySettings::setMaxNumberOfGraphicsContext() to the
...
number of contexts required by Producer.
2006-04-11 08:44:26 +00:00
Don BURNS
a5d12c598a
Updates to osgProducer to bring it up to speed with changes in Producer
2006-03-29 23:32:51 +00:00
Robert Osfield
c67e74f2f6
From Eric Sokolosky, added help for PRODUCER_CAMERA_BLOCK_ON_VSYNC
2006-03-28 10:45:15 +00:00
Robert Osfield
2b61cf0a1e
From Farshid Lashkari, "The following patch adds a multisample option to the
...
osg::DisplaySettings class. OsgCameraGroup will now read the setting
from the DisplaySettings instead of hardcoding the value. I added the
following commandline option to be able to set the multisample value:
--samples <num>
One thing to note, OsgCameraGroup would previously check if the
computer is an SGI and set multisample to 4. I retained this check in
DisplaySettings to be backwards compatible."
2006-03-13 21:29:17 +00:00
Robert Osfield
e89852e25f
From Marco Jez, " I've modified in order to make FBO mipmapping work. In
...
FrameBufferObject.cpp there is also another fix: when initializing a FBO
attachment from a CameraNode attachment, the renderbuffer's format must be
set to the attachment's internal format, not to the image's pixel format.
Another problem is that attaching a renderbuffer to the FBO through
CameraNode is not simple (if not impossible) if you don't intend to specify
an Image object. Probably CameraNode could be enriched with an
"attach(buffer, width, height, format)" method. For example if you attach a
color buffer as a texture whose size is different than that of the
CameraNode's viewport you also need to attach a depth buffer of the same
size, because the depth buffer that is automatically attached by RenderStage
has the viewport's size. FBOs require that all attachment have the same
dimensions, so said setup will fail if you can't specify a custom depth
renderbuffer"
2006-02-04 21:20:25 +00:00
Robert Osfield
53ee0ce3ec
Added CameraNode::releaseGLObejcts() to help in clean up, and changed the
...
ordering in SceneView::flushDeleteGLObjects() so that fbo's are deleted
before any texture objects they use are deleted.
2005-12-08 10:06:57 +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
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
f3cfe97da9
Added support in DisplaySettings and OscCameraGroup for requesting accumulator buffer.
2005-11-02 19:15:18 +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
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
384830d37e
Added handling of automatic setting up of the contextID.
2005-07-25 14:28:22 +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
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
Robert Osfield
a44e33795d
Removed the defaulting to setting the camera threading model to MultiThreaded,
...
instead leave it to Producer's defaults.
2005-05-05 14:03:54 +00:00
Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
72ff1737f4
Added support for OSG_CAMERA_THREADING env variable which is set to
...
"SingleThreaded" will ensure that OsgCameraGroup runs singe threaded.
2005-02-01 13:19:34 +00:00
Robert Osfield
ebab2ccab4
Fixed OsgCameraGroup::setLODScale so that it now uses the local CullSettings
...
objects.
2004-10-18 18:56:26 +00:00
Robert Osfield
4192ef796b
Added CullingSettngs::s/getInheritanceMask() and inheritCullSettings(,) method.
2004-10-12 09:54:03 +00:00
Robert Osfield
debf8dceef
Added s/getCullSettings to OsgCameraGroup
2004-10-05 19:12:46 +00:00
Robert Osfield
935f2a62e5
Experimentation with new timing code.
2004-09-30 19:36:15 +00:00
Robert Osfield
1f53745511
From Uwe Woessner
2004-09-01 15:14:55 +00:00
Robert Osfield
53dc96bb50
Added s/getClearColor and deprecated s/getBackgroundColor(). Re-implemented
...
setClearColor so that it passes on its value to Camera::setClearColor(), and
changed OsgSceneHandler to use the Camera::getClearColor() on each new frame
to ensure that it reflects the settings of the camera correctly.
2004-08-05 10:01:32 +00:00
Robert Osfield
67df9af7d1
Fixed warnings
2004-08-02 15:56:18 +00:00
Robert Osfield
6524fe1293
From Norman Vine, fixes for Mingw
2004-08-02 09:11:31 +00:00
Robert Osfield
cf62f7097d
Added ImageStream::quit(bool) for exiting from video threads, and added
...
clean up to OsgCameGroup to quit movie threads automatically.
2004-07-23 09:15:22 +00:00
Robert Osfield
3bca9ec9cf
Added SceneView::Options for SceneView::setDefaults(options) and
...
OsgCameraGroup::setRealizeSceneViewOptions(options) to allow better control
of what functionality is compiled in by default.
2004-07-20 10:17:22 +00:00
Robert Osfield
504dd515d3
Improvements to the handling of coordinate system nodes
2004-07-09 15:21:33 +00:00
Robert Osfield
b7746ff56e
Added support for automatically finding CoordinateSystemNode's in the
...
scene graph and then using them to set up the CoordinateFrame used
by the camera manipulators.
2004-05-03 12:04:25 +00:00
Don BURNS
078251a5f5
Changed OsgCameraGroup to check for the Producer::RenderSurface::defaultWindowName
...
rather than the hard coded string
2004-02-26 18:33:06 +00:00
Robert Osfield
f5b4f7ace0
Changed OsgCameraGroup so that it shares osg::State between Producer::Camera's which
...
share the same Producer::RenderSurface.
Added support for more colors in slideshow3D's constructor code.
2003-09-10 19:25:36 +00:00